Fwd: TeXmacs: why is \ensuremath needed for conversion to LaTeX

Massimiliano Gubinelli <[email protected]>
Newsgroups gmane.editors.texmacs.devel
Message-ID <[email protected]>
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:
> 
> From: TeXmacs <[email protected]>
> Subject: Re: TeXmacs: why is \ensuremath needed for conversion to LaTeX
> Date: 7. May 2021 at 17:46:26 CEST
> To: [email protected]
> Reply-To: TeXmacs <[email protected]>
> 
> 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

_______________________________________________
Texmacs-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/texmacs-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.