To my query
>     Could someone tell me how to do the postproc(tex)
>     for \cite{foobar:2014} in one line?

Anne Pacalet wrote:
>     Why don't you rather use preproc to tell txt2tags
>     to keep this as it is in tex files, like this:
>     %!preproc(tex): "(\\cite{[^}]*?})" ''\1''

    Thank you! That works perfectly

    And, mutatis mutandis, your suggestion also works perfectly for
         \ldots
         \bibliographystyle{barfoo}

    I've got one last problem.
    My bib file is at /home/foo_bar/References_bibfile_V001.bib
    How do I preserve those underlines ("foo_bar", etc) ?

    With
        %!preproc(tex): "(\\bibliography{[^}]*?})" ''\1''
    then in the *.tex file, \bibliography{ arrives ok,
    but the underlines "foo_bar" etc
    are transformed to "foo\_bar"

Richard H.

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
txt2tags-list mailing list
https://lists.sourceforge.net/lists/listinfo/txt2tags-list

Reply via email to