WANTED: Regular expressions for breaking TeX/LaTeX document into tokens

Wes James comptekki at gmail.com
Wed Feb 24 18:49:08 CET 2010


On Wed, Feb 24, 2010 at 5:03 AM, Jonathan Fine <J.Fine at open.ac.uk> wrote:
> Hi
>
> Does anyone know of a collection of regular expressions that will break a
> TeX/LaTeX document into tokens?  Assume that there is no verbatim or other
> category code changes.

I'm not sure how this does it, but it might help:

http://plastex.sourceforge.net/plastex/sect0025.html

-wes



More information about the Python-list mailing list