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: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #59546] Missing latex interpreter
Date: Sun, 21 Mar 2021 12:34:11 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0

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

I realize that even with latex binaries in the path, Octave will try to invoke
"latex", not "latex.exe". Maybe the following could work:


base_path = 'C:\Program Files\MiKTeX 2.9\miktex\bin\x64';
setenv ("OCTAVE_LATEX_BINARY", sprintf ('"%s"', fullfile (base_path,
"latex.exe")))
setenv ("OCTAVE_DVIPNG_BINARY", sprintf ('"%s"', fullfile (base_path,
"dvipng.exe")))
setenv ("OCTAVE_DVISVG_BINARY", sprintf ('"%s"', fullfile (base_path,
"dvisvgm.exe")))
sombrero ();


Note that I surrounded the binaries with quotes, hopping that it will allow
for running binaries with white space in the path. 

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via Savannah
  https://savannah.gnu.org/




reply via email to

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