texmacs-dev
[Top][All Lists]
Advanced

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

[Texmacs-dev] Fwd: TeXmacs: why is \ensuremath needed for conversion to


From: Massimiliano Gubinelli
Subject: [Texmacs-dev] Fwd: TeXmacs: why is \ensuremath needed for conversion to LaTeX
Date: Tue, 11 May 2021 09:26:24 +0200

Hi Joris, Hi all,
 wrt. to the reply below: is not known to TeXmacs whether we are in LaTeX math mode or not? We should be able to precompute this and avoid \ensuremath all the way (apart from macro definitions). Or there are some issues there?

Best
Max

ps:  I've moved the discussion to texmacs-dev.


Begin forwarded message:

Subject: Re: TeXmacs: why is \ensuremath needed for conversion to LaTeX
Date: 7. May 2021 at 17:46:26 CEST
Reply-To: TeXmacs <texmacs@lix.polytechnique.fr>

Hi Frank,

For a systematic export tool, it is better to be redundant than
as tight as possible, but occasionally buggy.

The LaTeX export should be robust with respect to user errors,
such as using a mathematical primitive in text mode.
In my test files, such errors are rare, but they occur,
and we don't want them to break the conversion.

Best wishes, --Joris



On Fri, May 07, 2021 at 05:30:27PM +0200, Frank wrote:
Dear all,

I spotted that the tex file converted from TeXmacs is filled with \ensuremath{\operatorname{...}}. I wonder why the \ensuremath is needed. This seems redundant in my document.

Best wishes,
Frank


reply via email to

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