Re: [t2t] Anchors with underscore in tex

2009-09-11 Thread Christoph Junghans
Hi Aurélio, %!postproc(tex): '(\\label\{[^}]*)\\_' '\1_' works, thanks for the hint. (differs by a \ from your suggestion) Actually this is even saver as the sed command, because anchors can be used everywhere in the text now. However a anchor mark in the form [#anchor] would be nice.

Re: [t2t] Anchors with underscore in tex

2009-09-11 Thread Aurélio Jargas
Hi Christoph, I'm glad it worked. Lucky me you could fix my broken regex :) About the anchor mark, I'll consider that for the next versions. Thanks! On Fri, Sep 11, 2009 at 05:55, Christoph Junghans jungh...@mpip-mainz.mpg.de wrote: Hi Aurélio,  %!postproc(tex): '(\\label\{[^}]*)\\_'  

[t2t] Anchors with underscore in tex

2009-09-10 Thread Christoph Junghans
Hi all, we are using txt2tags to automatically extract descriptions from an xml file. After parsing we have a t2t file with a long definition list. We automatically build a manual (in tex) from it, put it on a wiki and and publish it as html site and manpage. That is what txt2tags was made for