[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Texmacs-dev] some fixes for the latex converter

From: Joris van der Hoeven
Subject: Re: [Texmacs-dev] some fixes for the latex converter
Date: Sun, 13 Jul 2008 11:35:16 +0200
User-agent: Mutt/1.5.9i

Hi Kostas,

Thanks for your code.

On Thu, Jun 12, 2008 at 05:47:30PM -0400, Kostas Oikonomou wrote:
> (define (tmtex-text-list l)
> ...
>     ((== c #\26) (tmtex-text-sub "---" l))
>     ; See progs/texmacs/keyboard/latex-kbd.scm, line 169:
>     ((== c #\237) (tmtex-text-sub "\\S" l))
> ...


> The other fix allows TeXmacs to use Latex's \bigl, \bigr,
> etc. commands when exporting large delimiter constructs such
> as <left|(|2>, which right now are all exported as \left(, etc.
> So in the same file, I have rewritten tmtex-left and
> tmtex-right:

Applied in slightly improved form.

> I would also like to modify the function texout-eqn in
> texout.scm to output \begin{equation*} and \end{equation*}
> instead of \[ and \], but only if the amsmath package is
> loaded.  But I don't know how to test for that condition.

You cannot test that. It works the other way around:
you may specify in latex-drd that a given command uses amsmath.
In that case, the package will be loaded on export.
Why replace \[ \] by \begin{equation*} \end{equation*} ?

Best wishes, Joris

reply via email to

[Prev in Thread] Current Thread [Next in Thread]