CTAN Comprehensive TeX Archive Network

Directory support/tex2tok

# Copyright (c) 2005 Jonathan Fine <jfine@pytex.org>
# License: GPL version 2 or (at your option) any later version.
# $Source: /cvsroot/pytex/pytex/tex2tok/README,v $

tex2tok: convert a TeX source file into tokens

$ tex '&tex2tok' '\LEX{story}'
This will create a file story.tok.
This file will contain one line for each token.

$ ./helper.py # create tex2tok.tex from _tex2tok.tex
$ initex tex2tok.tex # create 'tex2tok.fmt'

Download the contents of this package in one zip archive (8.7k).

tex2tok – Convert a source file into tokens

The command:

$ tex '&tex2tok' '\LEX{story}'

will create a file story.tok, which will contain one line for each token.

LicensesGNU General Public License
Copyright2005 Jonathan Fine
MaintainerJonathan Fine
TopicsDebug supp
Guest Book Sitemap Contact Contact Author