octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #51782] publish creates incorrect latex


From: andre
Subject: [Octave-bug-tracker] [bug #51782] publish creates incorrect latex
Date: Fri, 18 Aug 2017 03:05:26 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?51782>

                 Summary: publish creates incorrect latex
                 Project: GNU Octave
            Submitted by: wienerschnitzel
            Submitted on: Fri 18 Aug 2017 07:05:25 AM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.1
        Operating System: Mac OS

    _______________________________________________________

Details:

GNU Octave Version: 4.2.1
GNU Octave License: GNU General Public License
Operating System: Darwin 16.7.0 Darwin Kernel Version 16.7.0: Thu Jun 15
17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64 x86_64

using example as per octave publish webpage:
https://www.gnu.org/software/octave/doc/interpreter/LaTeX-Markup.html#LaTeX-Markup

I actually added a simple assignment at the beginning, otherwise the entire
latex section gets ignored.

see attached file testpub.m and testpub.tex

publish("testpub.m","latex")
generates in testpub.tex which contains incorrect latex for the equation:

e\^{}x = \lim\limits\_{n\rightarrow\infty}\left(1+\dfrac{x}{n}\right)\^{}{n}


above line of code does not compile, it should be:


e^x = \lim\limits_{n\rightarrow\infty}\left(1+\dfrac{x}{n}\right)^{n}








    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 18 Aug 2017 07:05:25 AM UTC  Name: testpub.tex  Size: 1019B   By:
wienerschnitzel

<http://savannah.gnu.org/bugs/download.php?file_id=41565>
-------------------------------------------------------
Date: Fri 18 Aug 2017 07:05:25 AM UTC  Name: testpub.m  Size: 196B   By:
wienerschnitzel

<http://savannah.gnu.org/bugs/download.php?file_id=41566>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51782>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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