Comprehensive TeX Archive Network

Direc­tory tex-archive/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'


Name Size Date Notes
README 453 2005-06-29 20:14
_tex2­tok.tex 3686 2005-06-29 20:14
helper.py 4809 2005-06-29 20:14
tex2­tok.tex 20547 2005-06-29 20:14

Down­load the con­tents of this pack­age in one zip archive (8.7k).

tex2­tok – Con­vert a TeX source file into to­kens

The com­mand:

$ tex '&tex2­tok' '\LEX{story}'

will cre­ate a file story.tok, which will con­tain one line for each to­ken.

Pack­age De­tailstex2­tok
Li­censeGNU Gen­eral Public Li­cense
Main­tainerJonathan Fine
Topics sup­port for pack­age or doc­u­ment de­bug­ging
Guest Book Sitemap Contact Contact Author