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: Kai Torben Ohlhus
Subject: [Octave-bug-tracker] [bug #51782] publish creates incorrect latex
Date: Mon, 21 Aug 2017 08:52:45 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Safari/537.36

Update of bug #51782 (project octave):

        Operating System:                  Mac OS => Any                    

    _______________________________________________________

Follow-up Comment #3:

Thank you for your bug report.  Publish is pure m-code thus (mostly) platform
independent ==> OS = Any.

Regarding the original submission: you did not exactly use the example from
https://www.gnu.org/software/octave/doc/interpreter/LaTeX-Markup.html#LaTeX-Markup
 as you added newlines into file #41566 (testpub.m).  I admit that this should
be possible, but you are the first one who actually did this ;-)

Working on publish seems to me like fine tuning. There always show up
documents like yours, I did not imagine to exist while writing the code.  And
even using MATLAB's version did not always work for me out of the box and
required some justifications in the output before further using it.  But I
will improve two things on the development version:

1. Better recognition of blocks like "<html>" and "<latex>" without escaping
the code.

2. Avoid escaping inside inline and block math.

Anyway, as you are using Octave 4.2, you can use the latest development
versions of publish (all pure m-files) and replace the three major files with
the latest versions, distributed in the next release:

https://hg.savannah.gnu.org/hgweb/octave/raw-file/tip/scripts/general/publish.m

https://hg.savannah.gnu.org/hgweb/octave/raw-file/tip/scripts/general/private/__publish_latex_output__.m

https://hg.savannah.gnu.org/hgweb/octave/raw-file/tip/scripts/general/private/__publish_html_output__.m

    _______________________________________________________

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]