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: Sun, 21 Mar 2021 15:10:58 -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 #18, bug #59546 (project octave):

Thanks. That was very helpful.

I tried to run the script line by line. But it failed when I tried to execute
the latex command:

>>   cmd = [latex_binary, " -interaction=nonstopmode -output-directory=", d,
...
         " ", tex];
>>   [status, msg] = system (cmd);
qt.qpa.plugin: Could not load the Qt platform plugin "windows" in "" even
though it was found.
This application failed to start because no Qt platform plugin could be
initialized. Reinstalling the application may fix this problem.

Available platform plugins are: direct2d, minimal, offscreen, windows.


When I tried to execute the following similar command at the Windows shell,
several dialogs popped up that asked to install a bunch of additional MiKTeX
packages:

D:\SVN\Octave\bug59546_latex>"C:\Program Files\MiKTeX
2.9\miktex\bin\x64\latex" -interaction=nonstopmode -output-directory=.
default.tex
This is pdfTeX, Version 3.141592653-2.6-1.40.22 (MiKTeX 21.3)
entering extended mode
(default.tex
LaTeX2e <2020-10-01> patch level 4
L3 programming layer <2021-02-18>
(C:\Program Files\MiKTeX 2.9\tex/latex/standalone\standalone.cls
Document Class: standalone 2018/03/26 v1.3a Class to compile TeX sub-files
stan
dalone
(C:\Program Files\MiKTeX 2.9\tex/latex/latex-tools\shellesc.sty)
(C:\Program Files\MiKTeX 2.9\tex/generic/iftex\ifluatex.sty
(C:\Program Files\MiKTeX 2.9\tex/generic/iftex\iftex.sty))
(C:\Program Files\MiKTeX 2.9\tex/latex/xkeyval\xkeyval.sty
(C:\Program Files\MiKTeX 2.9\tex/generic/xkeyval\xkeyval.tex
(C:\Program Files\MiKTeX 2.9\tex/generic/xkeyval\xkvutils.tex
(C:\Program Files\MiKTeX 2.9\tex/generic/xkeyval\keyval.tex))))
(C:\Program Files\MiKTeX 2.9\tex/latex/standalone\standalone.cfg)
(C:\Program Files\MiKTeX 2.9\tex/latex/base\article.cls
Document Class: article 2020/04/10 v1.4m Standard LaTeX document class
(C:\Program Files\MiKTeX 2.9\tex/latex/base\size10.clo))
(C:\Program Files\MiKTeX 2.9\tex/latex/varwidth\varwidth.sty))
(C:\Program Files\MiKTeX 2.9\tex/latex/amsmath\amsmath.sty
For additional information on amsmath, use the `?' option.
(C:\Program Files\MiKTeX 2.9\tex/latex/amsmath\amstext.sty
(C:\Program Files\MiKTeX 2.9\tex/latex/amsmath\amsgen.sty))
(C:\Program Files\MiKTeX 2.9\tex/latex/amsmath\amsbsy.sty)
(C:\Program Files\MiKTeX 2.9\tex/latex/amsmath\amsopn.sty))
(C:\Program Files\MiKTeX 2.9\tex/latex/base\inputenc.sty)
(C:\Program Files\MiKTeX 2.9\tex/latex/l3backend\l3backend-dvips.def)
(default.aux) [1] (default.aux) )
Output written on D:\SVN\Octave\bug59546_latex\default.dvi (1 page, 356
bytes).
Transcript written on D:\SVN\Octave\bug59546_latex\default.log.


After that the original command from the script executed successfully in
Octave.

I'm guessing that the Qt that MiKTeX seems to be expecting for the package
installation dialog is incompatible with the Qt libraries that are already
loaded by Octave.

The same happened for the other two commands.
Basically, I executed these three commands in a Windows shell and allowed
MiKTeX's package manager to install all packages it asked for:

"C:\Program Files\MiKTeX 2.9\miktex\bin\x64\latex" -interaction=nonstopmode
-output-directory=. default.tex
"C:\Program Files\MiKTeX 2.9\miktex\bin\x64\dvisvgm" -n -TS1 -o default.svg
default.dvi
"C:\Program Files\MiKTeX 2.9\miktex\bin\x64\dvipng" default.dvi -o default.png
-bg Transparent -D 72


After that, a slightly changed `tstwin` script executed without errors (see
attachment).

However, `sombrero` still gives the same warnings.
Maybe I need to let it install more packages? Is the default.tex file in
comment #17 equivalent to the test that is run when initializing the
latex_renderer?


(file #51101)
    _______________________________________________________

Additional Item Attachment:

File name: tstwin.m                       Size:1 KB
    <https://file.savannah.gnu.org/file/tstwin.m?file_id=51101>



    _______________________________________________________

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]