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

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

[Octave-bug-tracker] [bug #59546] Missing latex interpreter


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #59546] Missing latex interpreter
Date: Tue, 6 Apr 2021 11:15:28 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36 Edg/89.0.774.68

Follow-up Comment #67, bug #59546 (project octave):

I applied the patch from comment #63 locally on top of hg id be4b78fb4411 and
tried to cross-compile for Windows.

It failed with "error: invalid use of incomplete type 'class QPainterPath'"
and related errors.

Adding "#include <QPainterPath>" to the new file fixed the errors for me. See
the attached modified version of your patch.

With that, I ran the following commands in Octave (after adding the path to
the MikTeX binaries):

sombrero()
xlabel ("$x$", "interpreter", "latex")
ylabel ("$y$", "interpreter", "latex")
zlabel ('$\frac{\sqrt{x^2+y^2}}{x^2+y^2}$', "interpreter", "latex");
print -dpdfcrop -svgconvert sombrero.pdf
print sombrero.png


I'm attaching the two files.
The .pdf seems to be incorrectly cropped.


(file #51200, file #51201, file #51202)
    _______________________________________________________

Additional Item Attachment:

File name: bug59546_svgconvert_v3.patch   Size:46 KB
   
<https://file.savannah.gnu.org/file/bug59546_svgconvert_v3.patch?file_id=51200>

File name: sombrero.png                   Size:71 KB
    <https://file.savannah.gnu.org/file/sombrero.png?file_id=51201>

File name: sombrero.pdf                   Size:58 KB
    <https://file.savannah.gnu.org/file/sombrero.pdf?file_id=51202>



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59546>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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