Trying to get texliveonfly.py working with LyX

Yu Jin technikmagma at gmail.com
Sun May 3 18:52:38 UTC 2020


 Am So., 3. Mai 2020 um 13:17 Uhr schrieb Kornel Benko <kornel at lyx.org>:

> Maybe a permission problem? Do you start lyx as another user?

No, I start normally, also tried as admin.

On Sun, May 03, 2020 at 01:10:37PM -0400, Richard Kimberly Heck wrote:
>
> If you can get terminal output, then it will be clear what's wrong, I
> think. This has been an issue on Windows, but I think that if you try
> using -DLYX_CONSOLE=FORCE, that will help.
I get this output in case of not using not installed packages (which is
exactly the same as when I use normal pdflatex command instead of the
texliveonfly script):
This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020/W32TeX)
(preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./tlof.tex
LaTeX2e <2020-02-02> patch level 5
L3 programming layer <2020-03-06>

this in case of using not installed packages:
This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020/W32TeX)
(preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./tlof.tex
LaTeX2e <2020-02-02> patch level 5
L3 programming layer <2020-03-06>
support\Systemcall.cpp (291): Systemcall:
'"C:\texlive\2020\texmf-dist\scripts\texliveonfly\texliveonfly.py"
"tlof.tex"' finished with exit code 1
Error: Die Datei kann nicht konvertiert werden (could not convert)
----------------------------------------
Bei der Ausführung von
"C:\texlive\2020\texmf-dist\scripts\texliveonfly\texliveonfly.py" "tlof.tex"
ist ein Fehler aufgetreten (error while executing ... )

I dont really understand this, usually it should be:
This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020/W32TeX)
(preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./tlofTest.tex
LaTeX2e <2020-02-02> patch level 5
L3 programming layer <2020-03-06>
(c:/texlive/2020/texmf-dist/tex/latex/base/article.cls
Document Class: article 2019/12/20 v1.4l Standard LaTeX document class
(c:/texlive/2020/texmf-dist/tex/latex/base/size10.clo))

! LaTeX Error: File `2up.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name:
! Emergency stop.
<read *>

l.3 \begin
          {document}^^M
!  ==> Fatal error occurred, no output PDF file produced!
Transcript written on tlofTest.log.
texliveonfly.py: Searching repositories for missing file 2up.sty
texliveonfly.py: Updating tlmgr prior to installing packages
(this is necessary to avoid complaints from itself).
tlmgr.pl: package repository F:/ (verified)
tlmgr.pl: saving backups to C:/texlive/2020/tlpkg/backups
tlmgr.pl: no self-updates for tlmgr available.
texliveonfly.py: Attempting to install LaTex package(s): generic 2up
tlmgr.pl: package repository F:/ (verified)
tlmgr.pl install: package generic not present in repository.
[1/1, ??:??/??:??] install: 2up [5k]
tlmgr.pl: action install returned an error; continuing.
running mktexlsr ...
done running mktexlsr.
tlmgr.pl: package log updated: C:/texlive/2020/texmf-var/web2c/tlmgr.log
tlmgr.pl: An error has occurred. See above messages. Exiting.
This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020/W32TeX)
(preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./tlofTest.tex
LaTeX2e <2020-02-02> patch level 5
L3 programming layer <2020-03-06>
(c:/texlive/2020/texmf-dist/tex/latex/base/article.cls
Document Class: article 2019/12/20 v1.4l Standard LaTeX document class
(c:/texlive/2020/texmf-dist/tex/latex/base/size10.clo))
(c:/texlive/2020/texmf-dist/tex/generic/2up/2up.sty
(c:/texlive/2020/texmf-dist/tex/generic/2up/2up.tex   v1.3  2010/05/15
 <tvz>))
 (c:/texlive/2020/texmf-dist/tex/latex/l3backend/l3backend-pdfmode.def)

LaTeX Warning: Unused global option(s):
    [ngerman].

(./tlofTest.aux) [1{c:/texlive/2020/texmf-var/fonts/map/pdftex/updmap/
pdftex.ma
p}] (./tlofTest.aux)
)<c:/texlive/2020/texmf-dist/fonts/type1/public/amsfonts/c
m/cmr10.pfb>
Output written on tlofTest.pdf (1 page, 10776 bytes).
SyncTeX written on tlofTest.synctex.gz.

Transcript written on tlofTest.log.

this is atleast what I get when typing the command in cmd.exe or using the
mentioned ("Hello World" like) program, where I used the same string as
LyX. In lyx the console output does not deliver any info at all, its just 6
lines and then no output.

Eugene
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200503/db3de6e5/attachment.html>


More information about the lyx-devel mailing list