Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

0 views
Skip to first unread message

Jonathan Fine

unread,
Feb 24, 2010, 7:03:40 AM2/24/10
to
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.

Thanks


Jonathan

Wes James

unread,
Feb 24, 2010, 12:49:08 PM2/24/10
to pytho...@python.org

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

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

-wes

Jonathan Fine

unread,
Feb 26, 2010, 7:00:50 AM2/26/10
to

Thanks, Wes. I'm already using PlasTeX

It handles changes of category codes, which makes it over the top for
what I want to do. In addition it is a fairly large complex
application, and sadly it's not at all easy to use just a part of the
code base.

There's been more discussion of this thread on comp.text.tex (which is
where I set the follow-up to).

--
Jonathan

0 new messages