Subject: mailing-list for TeXmacs Users
List archive
From : Joris van der Hoeven <address@hidden>- To: address@hidden
- Subject: Re: [TeXmacs] detecting the amsmath package
- Date: Wed, 10 Sep 2008 09:23:52 +0200
Hi Kostas,
Notice that this is really a discussion for texmacs-dev
On Thu, Sep 04, 2008 at 10:43:20PM +0200, Henri Lesourd wrote:
> >I want to modify some of the Scheme code for the Latex converter (i.e.
> >TeXmacs/progs/convert/latex/tmtex.scm).
> >
> >My question is: how can I detect in my code when TeXmacs is going to
> >export the document to LaTeX and include the amsmath package?
>
> Second approach (probably easier): just before the output
> of the exporter (which is an s-expression) is sent back
> to the function which writes the actual LaTeX code, scan
> this output, and (set-cdr!)-ize it to insert amsmath in
> the list of included packages (if it's what you want) ;
The packages to be used are meta-information and generated automatically
as a function of the final s-expression. I would simply intercept
the final string with the LaTeX conversion and scan the header for
the \usepackage command.
Best wishes, Joris
- [TeXmacs] detecting the amsmath package, Kostas Oikonomou, 09/04/2008
- Re: [TeXmacs] detecting the amsmath package, Henri Lesourd, 09/04/2008
- Re: [TeXmacs] detecting the amsmath package, Kostas Oikonomou, 09/04/2008
- Re: [TeXmacs] detecting the amsmath package, Henri Lesourd, 09/05/2008
- Re: [TeXmacs] detecting the amsmath package, Joris van der Hoeven, 09/10/2008
- Re: [TeXmacs] detecting the amsmath package, Kostas Oikonomou, 09/04/2008
- Re: [TeXmacs] detecting the amsmath package, Henri Lesourd, 09/04/2008
Archive powered by MHonArc 2.6.19.