bugGNU Octave - Bugs: bug #54979, pdflatexstandalone fails with qt...

 
 

bug #54979: pdflatexstandalone fails with qt toolkit

Submitter:  None
Submitted:  Wed 07 Nov 2018 09:49:35 AM UTC
   
 
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Fixed Assigned to:  None
Originator Name:  Karsten Trulsen Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 4.4.1
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 11 Nov 2018 02:06:14 AM UTC, comment #3: 

Bug #50130 was just resolved in this changeset: https://hg.savannah.gnu.org/hgweb/octave/rev/8b9e6a39e0a2.  This will be a part of the 5.0 release around the end of the year.  If you need the fix sooner you can download the development source code from Mercurial and build Octave.

Rik <rik5>
Group administrator
Sat 10 Nov 2018 10:48:24 AM UTC, comment #2: 

It does not seem that the developers of Octave and GL2PS agree where this task should be done, see the following bug report submitted to GL2PS:

https://gitlab.onelab.info/gl2ps/gl2ps/issues/26

Karsten Trulsen <karstent>
Wed 07 Nov 2018 04:59:48 PM UTC, comment #1: 

Octave does not implement a "latex" interpreter, just "none" and "tex".  Octave can pass the strings through to the output, but it is up to the user to make sure those strings are correct.  The "gnuplot" toolkit does this for the user automatically, so that is one option.  Otherwise, the strings need to be set correctly by the programmer for correct interpretation by latex.  See bug #50130 where this issue, with the same example, has been discussed.

Marking as a duplicate and closing report.

Rik <rik5>
Group administrator
Wed 07 Nov 2018 09:49:35 AM UTC, original submission:  

The pdflatexstandalone used with the qt toolkit produces output that fails to compile with pdflatex because exponents are not set in math mode with surrounding $ symbols:


graphics_toolkit('qt')
semilogy(1:2,1:2)
print('outqt.tex','-dpdflatexstandalone')
system 'pdflatex outqt.tex'


The pdflatexstandalone used with the gnuplot toolkit produces correct output because exponents are set in math mode with surrounding $ symbols:


graphics_toolkit('gnuplot')
semilogy(1:2,1:2)
print('outgnuplot.tex','-dpdflatexstandalone')
system 'pdflatex outgnuplot.tex'


Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by karstent (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-11-11 rik5 StatusDuplicate Fixed
    2018-11-07 rik5 StatusNone Duplicate
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code