Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.python
WANTED: Regular expressions for breaking TeX/LaTeX document into tokens
Jonathan Fine
2/24/2010 12:04:00 PM
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
2 Answers
Wes James
2/24/2010 5:49:00 PM
0
On Wed, Feb 24, 2010 at 5:03 AM, Jonathan Fine <J.Fine@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/sec...
-wes
Jonathan Fine
2/26/2010 12:01:00 PM
0
Wes James wrote:
> On Wed, Feb 24, 2010 at 5:03 AM, Jonathan Fine <J.Fine@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/sec...
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
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
WANTED: Regular expressions for breaking TeX/LaTeX document into tokens
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password