help-octave
[Top][All Lists]
Advanced

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

Re: publish generates incorrect latex


From: siko1056
Subject: Re: publish generates incorrect latex
Date: Mon, 21 Aug 2017 04:47:40 -0700 (PDT)

wienerschnitzel wrote
> I reported the following bug:
> https://savannah.gnu.org/bugs/?51782
> 
> Actually, I have narrowed it down to the formatter that is called inside
> publish.m. I know that the problem happens somewhere inside
> __publish_latex_output__.m, specifically in escape_latex.
> 
> this is the starting string:
> $$e^x = \lim\limits_{n\rightarrow\infty}\left(1+\dfrac{x}{n}\right)^{n}$$
> 
> and this is the result after being processed by 'escape_latex':
> $$e\^{}x =
> \lim\limits\_{n\rightarrow\infty}\left(1+\dfrac{x}{n}\right)\^{}{n}$$
> 
> why are "_" and "^" being escaped?
> In addition, replacing "^" with "\^{}" seems wrong as this doesn't
> encapsulate the argument that follows.

Thank you for your bug report.  We know that you are really concerned about
your found issue, but there is no need for double posting this bug on the
tracker and on this mailing list.  All of us are volunteers and I respond at
the tracker as soon as possible and will only respond there. Otherwise
consider a commercial support option [1] to quickly solve your problem.

Best,
Kai

[1]: https://www.gnu.org/software/octave/commercial-support.html



--
View this message in context: 
http://octave.1599824.n4.nabble.com/publish-generates-incorrect-latex-tp4684584p4684597.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

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