Comprehensive TeX Archive Network
Cover Upload Browse

Direc­tory tex-archive/support/tex2tok

# Copyright (c) 2005 Jonathan Fine <>
# 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.

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


Name Size Date Notes
README 453 2005-06-29 08:14
_tex2tok.tex 3686 2005-06-29 08:14 4809 2005-06-29 08:14
tex2tok.tex 20547 2005-06-29 08: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
Copy­right2005 Jonathan Fine
Main­tainerJonathan Fine
Topics sup­port for pack­age or doc­u­ment de­bug­ging
Guest Book Sitemap Contact