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: Wed, 24 Mar 2021 09:35:42 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36 Edg/89.0.774.57

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

Thanks. That seems to have done the trick for on screen LaTeX on Windows:

>> setenv ("OCTAVE_LATEX_DEBUG_FLAG", "1")

>> sombrero ()

* Caching ?:10.000000:0:0:0:0 (numel: 1)
>> xlabel ("$x$", "interpreter", "latex")
* Caching $x$:11.000000:0:38:38:38 (numel: 2)
>> ylabel ("$y$", "interpreter", "latex")
* Caching $y$:11.000000:2:38:38:38 (numel: 3)
>> zlabel ('$\frac{\sqrt{x^2+y^2}}{x^2+y^2}$', "interpreter", "latex");
* Caching $\frac{\sqrt{x^2+y^2}}{x^2+y^2}$:11.000000:1:38:38:38 (numel: 4)
>> print sombrero.png
* Caching $\frac{\sqrt{x^2+y^2}}{x^2+y^2}$:22.916667:1:38:38:38 (numel: 5)
* Caching $y$:22.916667:2:38:38:38 (numel: 6)
* Caching $x$:22.916667:0:38:38:38 (numel: 7)
>> print -dpdfcrop -svgconvert sombrero.pdf
Error: /undefinedfilename in
(C:\\Users\\Markus\\AppData\\Local\\Temp\\oct-1RMqKS)
Operand stack:

Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--  
--nostringval--   2   %stopped_push   --nostringval--   --nostri
ngval--   --nostringval--   false   1   %stopped_push
Dictionary stack:
   --dict:733/1123(ro)(G)--   --dict:0/20(G)--   --dict:75/200(L)--
Current allocation mode is local
Last OS error: No such file or directory
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
warning: print: No such file or directory,
'C:\Users\Markus\AppData\Local\Temp\oct-1RMqKS'
warning: called from
    print at line 794 column 9

>> error: gl2ps_renderer::draw: internal pipe error
error: called from
    __opengl_print__ at line 204 column 9
    print at line 766 column 16
>>


It looks like it printed the .png file successfully, too. Very good news.

But the .pdf is empty afaict.
Fwiw, there is no folder (or file)
'C:\Users\Markus\AppData\Local\Temp\oct-1RMqKS' after the last command.

Both files are attached.

    _______________________________________________________

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]