Re: PDF export fails with pdflatex and LuaTeX
On 12.02.20 08:24, Jürgen Spitzmüller wrote: > Am Mittwoch, den 12.02.2020, 07:51 +0100 schrieb Martin Weise: >> The file was there; however, it was empty. > So this is definitely the culprit. > >> I added the line as per your suggestion. > I suggest to not only add this one line, but use the whole file I sent. > >> Unfortunately, pdflatex still >> produces a dvi file. >> >> Anything I need to do additionally, i.e. to activate the new config >> file? > Yes, you need to run (as root presumably) > > fmtutil --all > > or > > fmtutil --byengine pdftex > fmtutil --byengine luatex > > to regenerate the formats. > > Jürgen > That did the trick! No clue though as to why I had to take the extra step of adding something to a config file. Never happened to me with a fresh texlive install before. And obviously, it had nothing to do with LyX. Thanks bunches! Martin -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: PDF export fails with pdflatex and LuaTeX
Am Mittwoch, den 12.02.2020, 07:51 +0100 schrieb Martin Weise: > The file was there; however, it was empty. So this is definitely the culprit. > I added the line as per your suggestion. I suggest to not only add this one line, but use the whole file I sent. > Unfortunately, pdflatex still > produces a dvi file. > > Anything I need to do additionally, i.e. to activate the new config > file? Yes, you need to run (as root presumably) fmtutil --all or fmtutil --byengine pdftex fmtutil --byengine luatex to regenerate the formats. Jürgen signature.asc Description: This is a digitally signed message part -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: PDF export fails with pdflatex and LuaTeX
On 12.02.20 07:32, Jürgen Spitzmüller wrote: > Am Mittwoch, den 12.02.2020, 07:28 +0100 schrieb Jürgen Spitzmüller: >> Am Dienstag, den 11.02.2020, 21:44 +0100 schrieb Martin Weise: >>> Ok, here's something I (just) noticed: pdflatex, when run without >>> arguments, produces a .dvi file from HelloWorld.tex. It is only if >>> I >>> specify "-output-format=pdf" that it creates a .pdf file. >>> >>> From what I understand, this is not what pdflatex should normally >>> do. >> Try the following: >> >> Find the configuration file pdftexconfig.tex in the terminal via >> >> kpsewhich pdftexconfig.tex > ... and if no such file is there, you need to create it, as indeed (and > maybe surprisingly) pdf(la)tex _does_ produce DVI by default; it only > produces PDF if advised so via \pdfoutput. > > I attach my (default TeXLive) configuration file for convenience. > > Jürgen > The file was there; however, it was empty. I added the line as per your suggestion. Unfortunately, pdflatex still produces a dvi file. Anything I need to do additionally, i.e. to activate the new config file? Martin -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: PDF export fails with pdflatex and LuaTeX
Am Mittwoch, den 12.02.2020, 07:28 +0100 schrieb Jürgen Spitzmüller: > Am Dienstag, den 11.02.2020, 21:44 +0100 schrieb Martin Weise: > > Ok, here's something I (just) noticed: pdflatex, when run without > > arguments, produces a .dvi file from HelloWorld.tex. It is only if > > I > > specify "-output-format=pdf" that it creates a .pdf file. > > > > From what I understand, this is not what pdflatex should normally > > do. > > Try the following: > > Find the configuration file pdftexconfig.tex in the terminal via > > kpsewhich pdftexconfig.tex ... and if no such file is there, you need to create it, as indeed (and maybe surprisingly) pdf(la)tex _does_ produce DVI by default; it only produces PDF if advised so via \pdfoutput. I attach my (default TeXLive) configuration file for convenience. Jürgen % tex-ini-files 2016-04-15: pdftexconfig.tex % Load shared (PDF) settings in pdfTeX % Enable PDF output \pdfoutput = 1 % Paper size: dimensions given in absolute terms \pdfpageheight = 297 true mm \pdfpagewidth= 210 true mm % Enable PDF 1.5 output and thus more compression \pdfminorversion = 5 \pdfobjcompresslevel = 2 % Low-level settings unlikely ever to need to change \pdfcompresslevel= 9 \pdfdecimaldigits= 3 \pdfpkresolution = 600 \pdfhorigin = 1 true in \pdfvorigin = 1 true in signature.asc Description: This is a digitally signed message part -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: PDF export fails with pdflatex and LuaTeX
Am Dienstag, den 11.02.2020, 21:44 +0100 schrieb Martin Weise: > Ok, here's something I (just) noticed: pdflatex, when run without > arguments, produces a .dvi file from HelloWorld.tex. It is only if I > specify "-output-format=pdf" that it creates a .pdf file. > > From what I understand, this is not what pdflatex should normally do. Try the following: Find the configuration file pdftexconfig.tex in the terminal via kpsewhich pdftexconfig.tex In this file, check if there is the line \pdfoutput = 1 If it's not there, or if the value differs (specifically: 0), then add/change it. Jürgen signature.asc Description: This is a digitally signed message part -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
[ANNOUNCE] LyX 2.3.4.2 'Emergency' Release
This is an emergency release that fixes four bugs in 2.3.4. Only the first two really warrant an emergency release, but while we're at it... The first, bug #11728, caused a five-second delay when attempting to save files on Windows. This was a side effect of the fix for #10091 and reminds us why it would be good to have more testing on Windows. The second bug is discussed in this thread https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg210294.html and concerns a crash related to the math toolbar. This was due to an uninitialize buffer_ member revealed by the fix for #11586. The third, bug #11724, affects Beamer presentations and causes bad output when page geometry is set in certain ways. LyX should and how does ignore such settings. The last, bug #11579, is an old one, but a serious one, that prevents the use of CJKUtf8 in ERT. It's a straightforward fix for a bug that is pretty serious for people who encounter it. All LyX users are encouraged to upgrade to 2.3.4.2. -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: PDF export fails with pdflatex and LuaTeX
On 2/11/20 3:44 PM, Martin Weise wrote: > On 11.02.20 20:44, Kornel Benko wrote: >> Am Tue, 11 Feb 2020 14:33:23 -0500 >> schrieb "Paul A. Rubin" : >> > If you open a terminal in the temp directory and run pdflatex against > the .tex file, does it compile? If not, is there a meaningful error > message in the terminal? > > Paul > Yes, it does. There is no error. Martin >>> Okay, what follows is definitely grasping at straws. From a clean start >>> of LyX, load the HelloWord.lyx file and try to either view or export a >>> PDF. Presumably this will fail. Copy the LaTeX .log file in the LyX temp >>> directory to someplace safe. Leave LyX open (so that the temp directory >>> remains). >> I would >> create a new (empty) directory >> copy HelloWord.lyx there >> and use this copied file >> >>> Now, in a terminal, run pdflatex on the .tex file in the LyX temp >>> directory. Presumably this succeeds in generating a PDF file. Copy the >>> new LaTeX .log file someplace safe. Then compare the two (using either >>> 'diff' if you are command-line oriented or 'meld' if you like graphical >>> output) and see if you can find a clue in the differences between the >>> log files. Alternatively, you can post both log files here. >>> >>> Paul >>> >> Kornel >> > Ok, here's something I (just) noticed: pdflatex, when run without > arguments, produces a .dvi file from HelloWorld.tex. It is only if I > specify "-output-format=pdf" that it creates a .pdf file. > > From what I understand, this is not what pdflatex should normally do. No, that is not at all what it should do. If that's happening from the command line, then there is some problem with your LaTeX installation. This might help: https://tex.stackexchange.com/questions/53600/pdflatex-producing-dvi-output-instead-of-pdf You might also try posting about the issue there, as that is kind of old. In the sort term, you can add the argument "--output-format=pdf" to the converter for "LaTeX (pdflatex) to PDF (pdflatex)" under Tools> Preferences> Converters. I.e., make the converter: pdflatex --output-format=pdf $$i Hopefully, that will work. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: LyX 2.3.4 is Released
On 2/11/20 8:45 AM, Bernt Lie wrote: > > I run LyX 2.2.3 (for compatibility with some package set-up) and 2.3.4 > on 64 bit Win10, latest update. > > > > I tried to update MikTeX, and received the following error message: > > > > > > What is this?? Anyone has an idea? > I'd say it is another one of those very annoying but very common MikTeX update bugs. Not that that's very helpful, except that you might check their bug reports or report it yourself. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: PDF export fails with pdflatex and LuaTeX
On 2/11/20 3:44 PM, Martin Weise wrote: On 11.02.20 20:44, Kornel Benko wrote: Am Tue, 11 Feb 2020 14:33:23 -0500 schrieb "Paul A. Rubin" : If you open a terminal in the temp directory and run pdflatex against the .tex file, does it compile? If not, is there a meaningful error message in the terminal? Paul Yes, it does. There is no error. Martin Okay, what follows is definitely grasping at straws. From a clean start of LyX, load the HelloWord.lyx file and try to either view or export a PDF. Presumably this will fail. Copy the LaTeX .log file in the LyX temp directory to someplace safe. Leave LyX open (so that the temp directory remains). I would create a new (empty) directory copy HelloWord.lyx there and use this copied file Now, in a terminal, run pdflatex on the .tex file in the LyX temp directory. Presumably this succeeds in generating a PDF file. Copy the new LaTeX .log file someplace safe. Then compare the two (using either 'diff' if you are command-line oriented or 'meld' if you like graphical output) and see if you can find a clue in the differences between the log files. Alternatively, you can post both log files here. Paul Kornel Ok, here's something I (just) noticed: pdflatex, when run without arguments, produces a .dvi file from HelloWorld.tex. It is only if I specify "-output-format=pdf" that it creates a .pdf file. From what I understand, this is not what pdflatex should normally do. I'm losing track of what all we've looked at. If you have not already done so, can you post the .tex file here? There is a way to put a comment (I think) in a .tex file that will tell pdftex or pdflatex to generate a DVI rather than a PDF file. -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: PDF export fails with pdflatex and LuaTeX
On 11.02.20 20:44, Kornel Benko wrote: > Am Tue, 11 Feb 2020 14:33:23 -0500 > schrieb "Paul A. Rubin" : > If you open a terminal in the temp directory and run pdflatex against the .tex file, does it compile? If not, is there a meaningful error message in the terminal? Paul >>> Yes, it does. There is no error. >>> >>> Martin >>> >>> >> Okay, what follows is definitely grasping at straws. From a clean start >> of LyX, load the HelloWord.lyx file and try to either view or export a >> PDF. Presumably this will fail. Copy the LaTeX .log file in the LyX temp >> directory to someplace safe. Leave LyX open (so that the temp directory >> remains). > I would > create a new (empty) directory > copy HelloWord.lyx there > and use this copied file > >> Now, in a terminal, run pdflatex on the .tex file in the LyX temp >> directory. Presumably this succeeds in generating a PDF file. Copy the >> new LaTeX .log file someplace safe. Then compare the two (using either >> 'diff' if you are command-line oriented or 'meld' if you like graphical >> output) and see if you can find a clue in the differences between the >> log files. Alternatively, you can post both log files here. >> >> Paul >> > Kornel > Ok, here's something I (just) noticed: pdflatex, when run without arguments, produces a .dvi file from HelloWorld.tex. It is only if I specify "-output-format=pdf" that it creates a .pdf file. >From what I understand, this is not what pdflatex should normally do. -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: PDF export fails with pdflatex and LuaTeX
Am Tue, 11 Feb 2020 14:33:23 -0500 schrieb "Paul A. Rubin" : > >> If you open a terminal in the temp directory and run pdflatex against > >> the .tex file, does it compile? If not, is there a meaningful error > >> message in the terminal? > >> > >> Paul > >> > > Yes, it does. There is no error. > > > > Martin > > > > > Okay, what follows is definitely grasping at straws. From a clean start > of LyX, load the HelloWord.lyx file and try to either view or export a > PDF. Presumably this will fail. Copy the LaTeX .log file in the LyX temp > directory to someplace safe. Leave LyX open (so that the temp directory > remains). I would create a new (empty) directory copy HelloWord.lyx there and use this copied file > Now, in a terminal, run pdflatex on the .tex file in the LyX temp > directory. Presumably this succeeds in generating a PDF file. Copy the > new LaTeX .log file someplace safe. Then compare the two (using either > 'diff' if you are command-line oriented or 'meld' if you like graphical > output) and see if you can find a clue in the differences between the > log files. Alternatively, you can post both log files here. > > Paul > Kornel pgpf7MSOc2BiN.pgp Description: Digitale Signatur von OpenPGP -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: PDF export fails with pdflatex and LuaTeX
On 2/10/20 3:07 PM, Martin Weise wrote: On 10.02.20 19:50, Paul A. Rubin wrote: On 2/10/20 10:54 AM, Martin Weise wrote: On 10.02.20 16:14, Paul A. Rubin wrote: On 2/9/20 1:56 PM, Martin Weise wrote: Dear all, I am using LyX 2.3.3 on Ubuntu 18.04 (and i have been doing so (successfully) for almost two years). However, I recently switched laptops and therefore needed to reinstall ubuntu. On the new machine, LyX fails to export pdf files via pdflatex and LuaTeX. There is no pdf file after running export. The only thing that does work is using ps2pdf. Here's the message output from Lyx: *** 05:44:25.151: Previewing ... 05:44:25.154: (buffer-view: Ctrl+R) 05:44:25.158: pdflatex "Document.tex" 05:44:25.232: This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017/Debian) (preloaded format=pdflatex) 05:44:25.233: restricted \write18 enabled. 05:44:25.243: entering extended mode 05:44:25.244: (./Document.tex 05:44:25.253: LaTeX2e <2017-04-15> 05:44:25.254: Babel <3.18> and hyphenation patterns for 84 language(s) loaded. 05:44:25.254: 05:44:25.380: pdflatex "Bauordnungsamt.tex" 05:44:25.452: This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017/Debian) (preloaded format=pdflatex) 05:44:25.453: restricted \write18 enabled. 05:44:25.462: entering extended mode 05:44:25.463: (./Document.tex 05:44:25.464: LaTeX2e <2017-04-15> 05:44:25.465: Babel <3.18> and hyphenation patterns for 84 language(s) loaded. 05:44:25.466: 05:44:25.593: Successful export to format: PDF (pdflatex)support/lassert.cpp (51): ASSERTION status != ExportSuccess VIOLATED IN ../../src/Buffer.cpp:4382 *** Any idea what might be wrong? Oh yeah... running pdflatex (manually) on LaTeX code produced by LyX does work. Does Document > View work (produce a viewable PDF document) with the pdflatex or LuaTeX formats? If so, when export fails, does it leave a PDF file in the LyX temp directory? I'm wondering whether LyX successfully compiles the PDF file in the temp directory but then fails to copy or move it to the target directory. Paul No, Document -> View (pdflatex) produces nothing either. Nor does the LuaTeX way. LyX leaves no pdf file in the temp dir. It just leaves .aux, .dvi,. log, .tex and .dep-pdf files. Martin If you open a terminal in the temp directory and run pdflatex against the .tex file, does it compile? If not, is there a meaningful error message in the terminal? Paul Yes, it does. There is no error. Martin Okay, what follows is definitely grasping at straws. From a clean start of LyX, load the HelloWord.lyx file and try to either view or export a PDF. Presumably this will fail. Copy the LaTeX .log file in the LyX temp directory to someplace safe. Leave LyX open (so that the temp directory remains). Now, in a terminal, run pdflatex on the .tex file in the LyX temp directory. Presumably this succeeds in generating a PDF file. Copy the new LaTeX .log file someplace safe. Then compare the two (using either 'diff' if you are command-line oriented or 'meld' if you like graphical output) and see if you can find a clue in the differences between the log files. Alternatively, you can post both log files here. Paul -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: PDF export fails with pdflatex and LuaTeX
On 11.02.20 19:57, Paul A. Rubin wrote: > On 2/11/20 11:34 AM, Martin Weise wrote: >> >> LaTeX.cpp (658): Log line: )) (/home/martin/Desktop/HelloWord.aux) >> LaTeX.cpp (658): Log line: \openout1 = `HelloWord.aux'. >> > It seems to have grabbed an existing .aux file from your desktop (as > opposed to generating a clean one in the LyX temp directory). Is there > anything odd in the desktop .aux file? > > Paul > Just deleted the dektop aux file. LyX then - indeed - creates one in the temp dir. It's contents are identical though. Martin -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: PDF export fails with pdflatex and LuaTeX
Am Tue, 11 Feb 2020 13:57:09 -0500 schrieb "Paul A. Rubin" : > On 2/11/20 11:34 AM, Martin Weise wrote: > > > > LaTeX.cpp (658): Log line: )) (/home/martin/Desktop/HelloWord.aux) > > LaTeX.cpp (658): Log line: \openout1 = `HelloWord.aux'. > > > It seems to have grabbed an existing .aux file from your desktop (as > opposed to generating a clean one in the LyX temp directory). Is there > anything odd in the desktop .aux file? > > Paul > Good catch :) Kornel pgpVpzBmLAGZL.pgp Description: Digitale Signatur von OpenPGP -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: PDF export fails with pdflatex and LuaTeX
On 11.02.20 19:57, Paul A. Rubin wrote: > On 2/11/20 11:34 AM, Martin Weise wrote: >> >> LaTeX.cpp (658): Log line: )) (/home/martin/Desktop/HelloWord.aux) >> LaTeX.cpp (658): Log line: \openout1 = `HelloWord.aux'. >> > It seems to have grabbed an existing .aux file from your desktop (as > opposed to generating a clean one in the LyX temp directory). Is there > anything odd in the desktop .aux file? > > Paul > \relax \babel@aux{english}{} That's all there is. And even if I delete the aux file, LyX can't create a pdf. -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: PDF export fails with pdflatex and LuaTeX
On 2/11/20 11:34 AM, Martin Weise wrote: LaTeX.cpp (658): Log line: )) (/home/martin/Desktop/HelloWord.aux) LaTeX.cpp (658): Log line: \openout1 = `HelloWord.aux'. It seems to have grabbed an existing .aux file from your desktop (as opposed to generating a clean one in the LyX temp directory). Is there anything odd in the desktop .aux file? Paul -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: PDF export fails with pdflatex and LuaTeX
On 2/11/20 11:34 AM, Martin Weise wrote: LaTeX.cpp (658): Log line: Output written on HelloWord.dvi (1 page, 236 bytes). Kornel was correct about the .dvi file being a clue. When I compile your HelloWorld example here, the corresponding line shows a .pdf file being written, as one would expect. The target (pdf2) is correct, so I'm at a loss as to why the output file has the wrong type. Paul -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: PDF export fails with pdflatex and LuaTeX
On 11.02.20 17:07, Kornel Benko wrote: > Am Tue, 11 Feb 2020 10:38:58 -0500 > schrieb "Paul A. Rubin" : > The lock file is a bit odd. I would expect that to be deleted after configuration completed. > I too, but here it is also not deleted. > It might help to see the contents of configure.log. Possibly something went splat during the configuration process. Paul >>> Please find the configuration file attached. >>> >>> Martin >>> >>> >> Well, I cannot find anything suspicious in the log. In particular, the >> configuration script seems to have exited without problems. You have an >> older LaTeX version than I do (I'm also using TeXLive), but I don't >> think that should be a problem. >> >> Paul > Neither could I. As the last try I recommend to use the debug feature. > $ lyx -dbg files,latex > to see, what and how lyx calls the latex commands. > > Kornel > Here you go: Setting debug level to files,latex Debugging `latex' (LaTeX generation/execution) Debugging `files' (Files used by LyX) support/filetools.cpp (484): createTmpDir: tempdir=`/tmp' createTmpDir: mask=`lyx_tmpdir' support/filetools.cpp (472): Temporary file `/tmp/lyx_tmpdir.BckvDBuJ2039' created. ConverterCache.cpp (70): Add file cache item /usr/share/lyx/images/buffer-view.svgz pdf6 /home/martin/.lyx/cache/1917147396-pdf6 1536928582 3036340146. ConverterCache.cpp (70): Add file cache item /usr/share/lyx/images/buffer-view.svgz png /home/martin/.lyx/cache/1917147396-png 1536928582 3036340146. support/FileName.cpp (599): Checksumming "/home/martin/Desktop/HelloWord.lyx" 984027373 lasted 0 ms. support/FileName.cpp (417): Directory /home/martin/Desktop is writable Buffer.cpp (4114): target=pdf2 Buffer.cpp (4183): filename=/tmp/lyx_tmpdir.BckvDBuJ2039/lyx_tmpbuf0/HelloWord.tex Buffer.cpp (1671): makeLaTeXFile encoding: ISO-8859-15, fname=/tmp/lyx_tmpdir.BckvDBuJ2039/lyx_tmpbuf0/HelloWord.tex Buffer.cpp (1773): Validating buffer... LyX needs the following commands when LaTeXing: * Packages: * Macros: * Textclass stuff: * done. Buffer.cpp (1779): Buffer validation done. output_latex.cpp (686): TeXOnePar for paragraph 0 ptr 0x5565b5aebf00 '' Paragraph.cpp (2313): Paragraph::latex... 0x5565b5aebf00 Paragraph.cpp (2737): Paragraph::latex... done 0x5565b5aebf00 output_latex.cpp (1255): TeXOnePar for paragraph 0 done; ptr 0x5565b5aebf00 next 0 Buffer.cpp (1965): makeLaTeXFile...done Converter.cpp (377): Converting from pdflatex to pdf2 Converter.cpp (409): Running pdflatex LaTeX.cpp (517): Scanning aux file: /tmp/lyx_tmpdir.BckvDBuJ2039/lyx_tmpbuf0/HelloWord.aux LaTeX.cpp (236): Run #1 This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017/Debian) (preloaded format=pdflatex) restricted \write18 enabled. entering extended mode (./HelloWord.tex LaTeX2e <2017-04-15> Babel <3.18> and hyphenation patterns for 84 language(s) loaded. LaTeX.cpp (635): Log file: HelloWord.log LaTeX.cpp (658): Log line: This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017/Debian) (preloaded format=pdflatex 2020.2.3) 11 FEB 2020 17:30 LaTeX.cpp (658): Log line: entering extended mode LaTeX.cpp (658): Log line: restricted \write18 enabled. LaTeX.cpp (658): Log line: %&-line parsing enabled. LaTeX.cpp (658): Log line: **HelloWord.tex LaTeX.cpp (658): Log line: (./HelloWord.tex LaTeX.cpp (658): Log line: LaTeX2e <2017-04-15> LaTeX.cpp (658): Log line: Babel <3.18> and hyphenation patterns for 84 language(s) loaded. LaTeX.cpp (658): Log line: LaTeX.cpp (658): Log line: (/usr/share/texlive/texmf-dist/tex/latex/base/article.cls LaTeX.cpp (658): Log line: Document Class: article 2014/09/29 v1.4h Standard LaTeX document class LaTeX.cpp (658): Log line: (/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo LaTeX.cpp (658): Log line: File: size10.clo 2014/09/29 v1.4h Standard LaTeX file (size option) LaTeX.cpp (658): Log line: ) LaTeX.cpp (658): Log line: \c@part=\count79 LaTeX.cpp (658): Log line: \c@section=\count80 LaTeX.cpp (658): Log line: \c@subsection=\count81 LaTeX.cpp (658): Log line: \c@subsubsection=\count82 LaTeX.cpp (658): Log line: \c@paragraph=\count83 LaTeX.cpp (658): Log line: \c@subparagraph=\count84 LaTeX.cpp (658): Log line: \c@figure=\count85 LaTeX.cpp (658): Log line: \c@table=\count86 LaTeX.cpp (658): Log line: \abovecaptionskip=\skip41 LaTeX.cpp (658): Log line: \belowcaptionskip=\skip42 LaTeX.cpp (658): Log line: \bibindent=\dimen102 LaTeX.cpp (658): Log line: ) (/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty LaTeX.cpp (658): Log line: Package: fontenc 2017/04/05 v2.0i Standard LaTeX package LaTeX.cpp (658): Log line: (/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.def LaTeX.cpp (658): Log line: File: t1enc.def 2017/04/05 v2.0i Standard LaTeX file LaTeX.cpp (658): Log line: LaTeX Font Info: Redeclaring font encoding T1 on input line 48. LaTeX.cpp (658): Log line: )) (/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty LaTeX.cpp (658): Log line:
Re: PDF export fails with pdflatex and LuaTeX
Am Tue, 11 Feb 2020 10:38:58 -0500 schrieb "Paul A. Rubin" : > >> The lock file is a bit odd. I would expect that to be deleted after > >> configuration completed. I too, but here it is also not deleted. > >> It might help to see the contents of configure.log. Possibly something > >> went splat during the configuration process. > >> > >> Paul > >> > > Please find the configuration file attached. > > > > Martin > > > > > Well, I cannot find anything suspicious in the log. In particular, the > configuration script seems to have exited without problems. You have an > older LaTeX version than I do (I'm also using TeXLive), but I don't > think that should be a problem. > > Paul Neither could I. As the last try I recommend to use the debug feature. $ lyx -dbg files,latex to see, what and how lyx calls the latex commands. Kornel pgp2GiAsg1fBW.pgp Description: Digitale Signatur von OpenPGP -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: PDF export fails with pdflatex and LuaTeX
On 2/11/20 10:20 AM, Martin Weise wrote: On 11.02.20 16:13, Paul A. Rubin wrote: On 2/11/20 6:04 AM, Martin Weise wrote: On 11.02.20 11:55, Kornel Benko wrote: Am Tue, 11 Feb 2020 11:21:11 +0100 schrieb Martin Weise : [snip] Yes, it looks related. Apparently the 'pdflatex' called from lyx does not create the required pdf file to be used to display the image. Maybe the environment used by lyx is different from the one if you compile manually. 1.) Could you start lyx from the terminal? 1. Yes. I meant, is it working if restarted from terminal? No. Same result. 2.) does the '.lyx' directory contain *.lst files (11 files) and configure.log 2. Here's a list of the files in the .lyx dir: -rw-rw-r-- 1 martin martin 4061 Feb 11 10:33 bibFiles.lst drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 bind -rw-rw-r-- 1 martin martin 23214 Feb 11 10:33 bstFiles.lst drwx-- 2 martin martin 4096 Feb 11 10:39 cache drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 clipart -rw-rw-r-- 1 martin martin 31483 Feb 11 10:33 clsFiles.lst -rw-rw-r-- 1 martin martin 66314 Feb 11 10:33 configure.log drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 doc drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 examples drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 images drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 kbd drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 layouts -rw-rw-r-- 1 martin martin 0 Feb 11 10:44 .lyx_configure_lock -rw-rw-r-- 1 martin martin 16117 Feb 11 10:33 lyxmodules.lst -rw-rw-r-- 1 martin martin 25959 Feb 11 10:33 lyxrc.defaults -rw-rw-r-- 1 martin martin 1784 Feb 11 10:33 packages.lst drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 scripts -rw-rw-r-- 1 martin martin 387 Feb 11 11:14 session -rw-rw-r-- 1 martin martin 310031 Feb 11 10:33 styFiles.lst drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 templates -rw-rw-r-- 1 martin martin 9013 Feb 11 10:33 textclass.lst drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 ui (Note that I reinstalled lyx at 10:30 today and deleted the .lyx directory before I did so) Missing files: bbxFiles.lst, cbxFiles.lst, lyxciteengines.lst, xtemplates.lst clsFiles.lst looks too small compared to full installed texlive That's weird. I definitely did a full texlive install (apt-get install texlive-full). I also purged that due to the problems with LyX, cleared the apt-get cache and reinstalled it - but to no avail. Martin The lock file is a bit odd. I would expect that to be deleted after configuration completed. It might help to see the contents of configure.log. Possibly something went splat during the configuration process. Paul Please find the configuration file attached. Martin Well, I cannot find anything suspicious in the log. In particular, the configuration script seems to have exited without problems. You have an older LaTeX version than I do (I'm also using TeXLive), but I don't think that should be a problem. Paul -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: PDF export fails with pdflatex and LuaTeX
On 11.02.20 16:13, Paul A. Rubin wrote: > On 2/11/20 6:04 AM, Martin Weise wrote: >> On 11.02.20 11:55, Kornel Benko wrote: >>> Am Tue, 11 Feb 2020 11:21:11 +0100 >>> schrieb Martin Weise : >>> >>> [snip] > Yes, it looks related. Apparently the 'pdflatex' called from lyx > does not create > the required pdf file to be used to display the image. > Maybe the environment used by lyx is different from the one if you > compile > manually. > > 1.) Could you start lyx from the terminal? 1. Yes. >>> I meant, is it working if restarted from terminal? >> No. Same result. >> >> > 2.) does the '.lyx' directory contain *.lst files (11 files) and > configure.log 2. Here's a list of the files in the .lyx dir: -rw-rw-r-- 1 martin martin 4061 Feb 11 10:33 bibFiles.lst drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 bind -rw-rw-r-- 1 martin martin 23214 Feb 11 10:33 bstFiles.lst drwx-- 2 martin martin 4096 Feb 11 10:39 cache drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 clipart -rw-rw-r-- 1 martin martin 31483 Feb 11 10:33 clsFiles.lst -rw-rw-r-- 1 martin martin 66314 Feb 11 10:33 configure.log drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 doc drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 examples drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 images drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 kbd drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 layouts -rw-rw-r-- 1 martin martin 0 Feb 11 10:44 .lyx_configure_lock -rw-rw-r-- 1 martin martin 16117 Feb 11 10:33 lyxmodules.lst -rw-rw-r-- 1 martin martin 25959 Feb 11 10:33 lyxrc.defaults -rw-rw-r-- 1 martin martin 1784 Feb 11 10:33 packages.lst drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 scripts -rw-rw-r-- 1 martin martin 387 Feb 11 11:14 session -rw-rw-r-- 1 martin martin 310031 Feb 11 10:33 styFiles.lst drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 templates -rw-rw-r-- 1 martin martin 9013 Feb 11 10:33 textclass.lst drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 ui (Note that I reinstalled lyx at 10:30 today and deleted the .lyx directory before I did so) >>> Missing files: bbxFiles.lst, cbxFiles.lst, lyxciteengines.lst, >>> xtemplates.lst >>> >>> clsFiles.lst looks too small compared to full installed texlive >> That's weird. I definitely did a full texlive install (apt-get install >> texlive-full). I also purged that due to the problems with LyX, cleared >> the apt-get cache and reinstalled it - but to no avail. >> >> Martin >> >> >> > The lock file is a bit odd. I would expect that to be deleted after > configuration completed. > > It might help to see the contents of configure.log. Possibly something > went splat during the configuration process. > > Paul > Please find the configuration file attached. Martin INFO: checking for a Latex2e program... INFO: +checking for "latex"... yes INFO: checking for a DVI postprocessing program... INFO: +checking for "pplatex"... no INFO: checking for pLaTeX, the Japanese LaTeX... INFO: +checking for "platex"... yes DEBUG: Add to RC: \converter platex dvi "platex" "latex=platex" DEBUG: Add to RC: \converter latex dvi"latex" "latex" INFO: checking for a java interpreter... INFO: +checking for "java"... yes INFO: checking for a perl interpreter... INFO: +checking for "perl"... yes INFO: checking for a Tgif viewer and editor... INFO: +checking for "tgif"... no DEBUG: Add to RC: \Format tgif "obj, tgo" Tgif "" "auto" "auto" "vector" "application/x-tgif" INFO: checking for a FIG viewer and editor... INFO: +checking for "xfig"... no INFO: +checking for "jfig3-itext.jar"... no INFO: +checking for "jfig3.jar"... no DEBUG: Add to RC: \Format figfig FIG"" "auto" "auto" "vector" "application/x-xfig" INFO: checking for a Dia viewer and editor... INFO: +checking for "dia"... no DEBUG: Add to RC: \Format diadia DIA"" "auto" "auto" "vector,zipped=native", "application/x-dia-diagram" INFO: checking for an OpenDocument drawing viewer and editor... INFO: +checking for "xdg-open"... yes DEBUG: Add to RC: \Format odg"odg, sxd" "OpenDocument drawing" "" "xdg-open" "xdg-open" "vector,zipped=native" "application/vnd.oasis.opendocument.graphics" DEBUG: Add to RC: \editor_alternatives odg "xdg-open" \viewer_alternatives odg "xdg-open" INFO: +checking for "libreoffice"... yes DEBUG: Add to RC: \editor_alternatives odg "libreoffice" \viewer_alternatives odg "libreoffice" INFO: +checking for "lodraw"... yes DEBUG: Add to RC: \editor_alternatives odg "lodraw" \viewer_alternatives odg "lodraw" INFO: +checking for "ooffice"... no INFO: +checking for "oodraw"... no INFO: +checking for "soffice"... yes DEBUG: Add to RC: \editor_alternatives odg "soffice" \viewer_alternatives odg "soffice" INFO: checking for a
RE: LyX 2.3.4 is Released
I run LyX 2.2.3 (for compatibility with some package set-up) and 2.3.4 on 64 bit Win10, latest update. I tried to update MikTeX, and received the following error message: [cid:image002.jpg@01D5E0E9.E87C7510] What is this?? Anyone has an idea? BR, Bernt -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: PDF export fails with pdflatex and LuaTeX
On 2/11/20 6:04 AM, Martin Weise wrote: On 11.02.20 11:55, Kornel Benko wrote: Am Tue, 11 Feb 2020 11:21:11 +0100 schrieb Martin Weise : [snip] Yes, it looks related. Apparently the 'pdflatex' called from lyx does not create the required pdf file to be used to display the image. Maybe the environment used by lyx is different from the one if you compile manually. 1.) Could you start lyx from the terminal? 1. Yes. I meant, is it working if restarted from terminal? No. Same result. 2.) does the '.lyx' directory contain *.lst files (11 files) and configure.log 2. Here's a list of the files in the .lyx dir: -rw-rw-r-- 1 martin martin 4061 Feb 11 10:33 bibFiles.lst drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 bind -rw-rw-r-- 1 martin martin 23214 Feb 11 10:33 bstFiles.lst drwx-- 2 martin martin 4096 Feb 11 10:39 cache drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 clipart -rw-rw-r-- 1 martin martin 31483 Feb 11 10:33 clsFiles.lst -rw-rw-r-- 1 martin martin 66314 Feb 11 10:33 configure.log drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 doc drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 examples drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 images drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 kbd drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 layouts -rw-rw-r-- 1 martin martin 0 Feb 11 10:44 .lyx_configure_lock -rw-rw-r-- 1 martin martin 16117 Feb 11 10:33 lyxmodules.lst -rw-rw-r-- 1 martin martin 25959 Feb 11 10:33 lyxrc.defaults -rw-rw-r-- 1 martin martin 1784 Feb 11 10:33 packages.lst drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 scripts -rw-rw-r-- 1 martin martin 387 Feb 11 11:14 session -rw-rw-r-- 1 martin martin 310031 Feb 11 10:33 styFiles.lst drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 templates -rw-rw-r-- 1 martin martin 9013 Feb 11 10:33 textclass.lst drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 ui (Note that I reinstalled lyx at 10:30 today and deleted the .lyx directory before I did so) Missing files: bbxFiles.lst, cbxFiles.lst, lyxciteengines.lst, xtemplates.lst clsFiles.lst looks too small compared to full installed texlive That's weird. I definitely did a full texlive install (apt-get install texlive-full). I also purged that due to the problems with LyX, cleared the apt-get cache and reinstalled it - but to no avail. Martin The lock file is a bit odd. I would expect that to be deleted after configuration completed. It might help to see the contents of configure.log. Possibly something went splat during the configuration process. Paul -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: PDF export fails with pdflatex and LuaTeX
On 2/11/20 4:38 AM, Martin Weise wrote: On 10.02.20 23:38, Paul A. Rubin wrote: On 2/10/20 4:03 PM, Martin Weise wrote: On 10.02.20 21:52, Scott Kostyshak wrote: On Mon, Feb 10, 2020 at 09:10:51PM +0100, Martin Weise wrote: On 10.02.20 17:34, Kornel Benko wrote: Am Mon, 10 Feb 2020 16:54:27 +0100 schrieb Martin Weise : I'm wondering whether LyX successfully compiles the PDF file in the temp directory but then fails to copy or move it to the target directory. Paul No, Document -> View (pdflatex) produces nothing either. Nor does the LuaTeX way. LyX leaves no pdf file in the temp dir. It just leaves .aux, .dvi,. log, .tex and .dep-pdf files. Martin That (.dvi) is the clue probably. Select different output in Document->Settings...->Formats->Default output format: -> PDF (pdflatex) Kornel No, I'm afraid that's not it. pdflatex keeps throwing the assertion error message, when run through LyX, regardless of what I choose as the default output format. Still I think Kornel picked up on an important clue: we need to figure out why there's a .dvi file in the temporary directory. If you exit LyX and start LyX again (which should use a fresh temp dir), and compile a simple .lyx file, can you confirm that there's a .dvi in the temporary directory? Scott Positive. There's a .dvi file in the (new) temporary directory after I choose File->Export->PDF (pdflatex). Do you have an entry for "LaTeX (pdflatex) -> PDF (pdflatex)" in Tools Preferences... > File Handling > Converters and, if so, what do the "Converter:" and "Extra flag:" boxes say? Paul I do. The entries are as follows. Converter: pdflatex $$i Extra flag: latex=pdflatex Martin That looks okay to me. I have one other flag (hyperref-driver=pdftex), but I don't think it is required and I doubt it is related to your issues. Paul -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: PDF export fails with pdflatex and LuaTeX
On 11.02.20 11:55, Kornel Benko wrote: > Am Tue, 11 Feb 2020 11:21:11 +0100 > schrieb Martin Weise : > > [snip] >>> Yes, it looks related. Apparently the 'pdflatex' called from lyx does not >>> create >>> the required pdf file to be used to display the image. >>> Maybe the environment used by lyx is different from the one if you compile >>> manually. >>> >>> 1.) Could you start lyx from the terminal? >> 1. Yes. > I meant, is it working if restarted from terminal? No. Same result. >>> 2.) does the '.lyx' directory contain *.lst files (11 files) and >>> configure.log >> 2. Here's a list of the files in the .lyx dir: >> >> -rw-rw-r-- 1 martin martin 4061 Feb 11 10:33 bibFiles.lst >> drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 bind >> -rw-rw-r-- 1 martin martin 23214 Feb 11 10:33 bstFiles.lst >> drwx-- 2 martin martin 4096 Feb 11 10:39 cache >> drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 clipart >> -rw-rw-r-- 1 martin martin 31483 Feb 11 10:33 clsFiles.lst >> -rw-rw-r-- 1 martin martin 66314 Feb 11 10:33 configure.log >> drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 doc >> drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 examples >> drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 images >> drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 kbd >> drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 layouts >> -rw-rw-r-- 1 martin martin 0 Feb 11 10:44 .lyx_configure_lock >> -rw-rw-r-- 1 martin martin 16117 Feb 11 10:33 lyxmodules.lst >> -rw-rw-r-- 1 martin martin 25959 Feb 11 10:33 lyxrc.defaults >> -rw-rw-r-- 1 martin martin 1784 Feb 11 10:33 packages.lst >> drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 scripts >> -rw-rw-r-- 1 martin martin 387 Feb 11 11:14 session >> -rw-rw-r-- 1 martin martin 310031 Feb 11 10:33 styFiles.lst >> drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 templates >> -rw-rw-r-- 1 martin martin 9013 Feb 11 10:33 textclass.lst >> drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 ui >> >> (Note that I reinstalled lyx at 10:30 today and deleted the .lyx >> directory before I did so) > Missing files: bbxFiles.lst, cbxFiles.lst, lyxciteengines.lst, xtemplates.lst > > clsFiles.lst looks too small compared to full installed texlive That's weird. I definitely did a full texlive install (apt-get install texlive-full). I also purged that due to the problems with LyX, cleared the apt-get cache and reinstalled it - but to no avail. Martin -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: PDF export fails with pdflatex and LuaTeX
Am Tue, 11 Feb 2020 11:21:11 +0100 schrieb Martin Weise : [snip] > > Yes, it looks related. Apparently the 'pdflatex' called from lyx does not > > create > > the required pdf file to be used to display the image. > > Maybe the environment used by lyx is different from the one if you compile > > manually. > > > > 1.) Could you start lyx from the terminal? > 1. Yes. I meant, is it working if restarted from terminal? > > 2.) does the '.lyx' directory contain *.lst files (11 files) and > > configure.log > 2. Here's a list of the files in the .lyx dir: > > -rw-rw-r-- 1 martin martin 4061 Feb 11 10:33 bibFiles.lst > drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 bind > -rw-rw-r-- 1 martin martin 23214 Feb 11 10:33 bstFiles.lst > drwx-- 2 martin martin 4096 Feb 11 10:39 cache > drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 clipart > -rw-rw-r-- 1 martin martin 31483 Feb 11 10:33 clsFiles.lst > -rw-rw-r-- 1 martin martin 66314 Feb 11 10:33 configure.log > drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 doc > drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 examples > drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 images > drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 kbd > drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 layouts > -rw-rw-r-- 1 martin martin 0 Feb 11 10:44 .lyx_configure_lock > -rw-rw-r-- 1 martin martin 16117 Feb 11 10:33 lyxmodules.lst > -rw-rw-r-- 1 martin martin 25959 Feb 11 10:33 lyxrc.defaults > -rw-rw-r-- 1 martin martin 1784 Feb 11 10:33 packages.lst > drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 scripts > -rw-rw-r-- 1 martin martin 387 Feb 11 11:14 session > -rw-rw-r-- 1 martin martin 310031 Feb 11 10:33 styFiles.lst > drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 templates > -rw-rw-r-- 1 martin martin 9013 Feb 11 10:33 textclass.lst > drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 ui > > (Note that I reinstalled lyx at 10:30 today and deleted the .lyx > directory before I did so) Missing files: bbxFiles.lst, cbxFiles.lst, lyxciteengines.lst, xtemplates.lst clsFiles.lst looks too small compared to full installed texlive > > 3.) Are the dates of these files newer compared to the install date of lyx? > 3. As you can see, some of them are more recent, like the session file. OK > > 4.) Does removing .lyx dir and restarting lyx create this dir again? > 4. Yes. OK > Martin Kornel pgp31eXBzwPJH.pgp Description: Digitale Signatur von OpenPGP -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: PDF export fails with pdflatex and LuaTeX
On 11.02.20 11:04, Kornel Benko wrote: > Am Tue, 11 Feb 2020 10:47:45 +0100 > schrieb Martin Weise : > >> On 11.02.20 01:49, Scott Kostyshak wrote: >>> On Mon, Feb 10, 2020 at 05:38:08PM -0500, Paul A. Rubin wrote: On 2/10/20 4:03 PM, Martin Weise wrote: > On 10.02.20 21:52, Scott Kostyshak wrote: >> On Mon, Feb 10, 2020 at 09:10:51PM +0100, Martin Weise wrote: >>> On 10.02.20 17:34, Kornel Benko wrote: Am Mon, 10 Feb 2020 16:54:27 +0100 schrieb Martin Weise : >> I'm wondering whether LyX successfully compiles the PDF file in the >> temp directory but then fails to copy or move it to the target >> directory. >> >> Paul > No, Document -> View (pdflatex) produces nothing either. Nor does the > LuaTeX way. LyX leaves no pdf file in the temp dir. It just leaves > .aux, > .dvi,. log, .tex and .dep-pdf files. > > Martin That (.dvi) is the clue probably. Select different output in Document->Settings...->Formats->Default output format: -> PDF (pdflatex) Kornel >>> No, I'm afraid that's not it. pdflatex keeps throwing the assertion >>> error message, when run through LyX, regardless of what I choose as the >>> default output format. >> Still I think Kornel picked up on an important clue: we need to figure >> out why there's a .dvi file in the temporary directory. If you exit LyX >> and start LyX again (which should use a fresh temp dir), and compile a >> simple .lyx file, can you confirm that there's a .dvi in the temporary >> directory? >> >> Scott >> > Positive. There's a .dvi file in the (new) temporary directory after I > choose File->Export->PDF (pdflatex). > Do you have an entry for "LaTeX (pdflatex) -> PDF (pdflatex)" in Tools > Preferences... > File Handling > Converters and, if so, what do the "Converter:" and "Extra flag:" boxes say? >>> In addition to Paul's question, can you send us your preferences file? >>> It is a text file and you can find its location by going to Help > About >>> and looking in the "User directory" path that is listed there. >>> >>> Best, >>> >>> Scott >>> >> My lyx user dir is ".lyx". But there is no preferences file. >> >> I just noticed another strange phenomenon. When I try to include an >> image in my .lyx document, I just get a LaTeX error ("Cannot determine >> size of graphic in..." when exporting to pdflatex. This is new as well. >> The issues might be related. >> >> Martin >> > Yes, it looks related. Apparently the 'pdflatex' called from lyx does not > create > the required pdf file to be used to display the image. > Maybe the environment used by lyx is different from the one if you compile > manually. > > 1.) Could you start lyx from the terminal? > 2.) does the '.lyx' directory contain *.lst files (11 files) and configure.log > 3.) Are the dates of these files newer compared to the install date of lyx? > 4.) Does removing .lyx dir and restarting lyx create this dir again? > > Kornel > > 1. Yes. 2. Here's a list of the files in the .lyx dir: -rw-rw-r-- 1 martin martin 4061 Feb 11 10:33 bibFiles.lst drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 bind -rw-rw-r-- 1 martin martin 23214 Feb 11 10:33 bstFiles.lst drwx-- 2 martin martin 4096 Feb 11 10:39 cache drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 clipart -rw-rw-r-- 1 martin martin 31483 Feb 11 10:33 clsFiles.lst -rw-rw-r-- 1 martin martin 66314 Feb 11 10:33 configure.log drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 doc drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 examples drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 images drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 kbd drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 layouts -rw-rw-r-- 1 martin martin 0 Feb 11 10:44 .lyx_configure_lock -rw-rw-r-- 1 martin martin 16117 Feb 11 10:33 lyxmodules.lst -rw-rw-r-- 1 martin martin 25959 Feb 11 10:33 lyxrc.defaults -rw-rw-r-- 1 martin martin 1784 Feb 11 10:33 packages.lst drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 scripts -rw-rw-r-- 1 martin martin 387 Feb 11 11:14 session -rw-rw-r-- 1 martin martin 310031 Feb 11 10:33 styFiles.lst drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 templates -rw-rw-r-- 1 martin martin 9013 Feb 11 10:33 textclass.lst drwxrwxr-x 2 martin martin 4096 Feb 11 10:33 ui (Note that I reinstalled lyx at 10:30 today and deleted the .lyx directory before I did so) 3. As you can see, some of them are more recent, like the session file. 4. Yes. Martin -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: PDF export fails with pdflatex and LuaTeX
Am Tue, 11 Feb 2020 10:47:45 +0100 schrieb Martin Weise : > On 11.02.20 01:49, Scott Kostyshak wrote: > > On Mon, Feb 10, 2020 at 05:38:08PM -0500, Paul A. Rubin wrote: > >> On 2/10/20 4:03 PM, Martin Weise wrote: > >>> On 10.02.20 21:52, Scott Kostyshak wrote: > On Mon, Feb 10, 2020 at 09:10:51PM +0100, Martin Weise wrote: > > On 10.02.20 17:34, Kornel Benko wrote: > >> Am Mon, 10 Feb 2020 16:54:27 +0100 > >> schrieb Martin Weise : > >> > I'm wondering whether LyX successfully compiles the PDF file in the > temp directory but then fails to copy or move it to the target > directory. > > Paul > >>> No, Document -> View (pdflatex) produces nothing either. Nor does the > >>> LuaTeX way. LyX leaves no pdf file in the temp dir. It just leaves > >>> .aux, > >>> .dvi,. log, .tex and .dep-pdf files. > >>> > >>> Martin > >> That (.dvi) is the clue probably. Select different output in > >> Document->Settings...->Formats->Default output format: -> PDF > >> (pdflatex) > >> > >>Kornel > >> > > No, I'm afraid that's not it. pdflatex keeps throwing the assertion > > error message, when run through LyX, regardless of what I choose as the > > default output format. > Still I think Kornel picked up on an important clue: we need to figure > out why there's a .dvi file in the temporary directory. If you exit LyX > and start LyX again (which should use a fresh temp dir), and compile a > simple .lyx file, can you confirm that there's a .dvi in the temporary > directory? > > Scott > > >>> Positive. There's a .dvi file in the (new) temporary directory after I > >>> choose File->Export->PDF (pdflatex). > >>> > >> Do you have an entry for "LaTeX (pdflatex) -> PDF (pdflatex)" in Tools > > >> Preferences... > File Handling > Converters and, if so, what do the > >> "Converter:" and "Extra flag:" boxes say? > > In addition to Paul's question, can you send us your preferences file? > > It is a text file and you can find its location by going to Help > About > > and looking in the "User directory" path that is listed there. > > > > Best, > > > > Scott > > > My lyx user dir is ".lyx". But there is no preferences file. > > I just noticed another strange phenomenon. When I try to include an > image in my .lyx document, I just get a LaTeX error ("Cannot determine > size of graphic in..." when exporting to pdflatex. This is new as well. > The issues might be related. > > Martin > Yes, it looks related. Apparently the 'pdflatex' called from lyx does not create the required pdf file to be used to display the image. Maybe the environment used by lyx is different from the one if you compile manually. 1.) Could you start lyx from the terminal? 2.) does the '.lyx' directory contain *.lst files (11 files) and configure.log 3.) Are the dates of these files newer compared to the install date of lyx? 4.) Does removing .lyx dir and restarting lyx create this dir again? Kornel pgpXATFEUQ0zC.pgp Description: Digitale Signatur von OpenPGP -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: PDF export fails with pdflatex and LuaTeX
On 11.02.20 01:49, Scott Kostyshak wrote: > On Mon, Feb 10, 2020 at 05:38:08PM -0500, Paul A. Rubin wrote: >> On 2/10/20 4:03 PM, Martin Weise wrote: >>> On 10.02.20 21:52, Scott Kostyshak wrote: On Mon, Feb 10, 2020 at 09:10:51PM +0100, Martin Weise wrote: > On 10.02.20 17:34, Kornel Benko wrote: >> Am Mon, 10 Feb 2020 16:54:27 +0100 >> schrieb Martin Weise : >> I'm wondering whether LyX successfully compiles the PDF file in the temp directory but then fails to copy or move it to the target directory. Paul >>> No, Document -> View (pdflatex) produces nothing either. Nor does the >>> LuaTeX way. LyX leaves no pdf file in the temp dir. It just leaves .aux, >>> .dvi,. log, .tex and .dep-pdf files. >>> >>> Martin >> That (.dvi) is the clue probably. Select different output in >> Document->Settings...->Formats->Default output format: -> PDF (pdflatex) >> >> Kornel >> > No, I'm afraid that's not it. pdflatex keeps throwing the assertion > error message, when run through LyX, regardless of what I choose as the > default output format. Still I think Kornel picked up on an important clue: we need to figure out why there's a .dvi file in the temporary directory. If you exit LyX and start LyX again (which should use a fresh temp dir), and compile a simple .lyx file, can you confirm that there's a .dvi in the temporary directory? Scott >>> Positive. There's a .dvi file in the (new) temporary directory after I >>> choose File->Export->PDF (pdflatex). >>> >> Do you have an entry for "LaTeX (pdflatex) -> PDF (pdflatex)" in Tools > >> Preferences... > File Handling > Converters and, if so, what do the >> "Converter:" and "Extra flag:" boxes say? > In addition to Paul's question, can you send us your preferences file? > It is a text file and you can find its location by going to Help > About > and looking in the "User directory" path that is listed there. > > Best, > > Scott > My lyx user dir is ".lyx". But there is no preferences file. I just noticed another strange phenomenon. When I try to include an image in my .lyx document, I just get a LaTeX error ("Cannot determine size of graphic in..." when exporting to pdflatex. This is new as well. The issues might be related. Martin -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: PDF export fails with pdflatex and LuaTeX
On 10.02.20 23:38, Paul A. Rubin wrote: > On 2/10/20 4:03 PM, Martin Weise wrote: >> On 10.02.20 21:52, Scott Kostyshak wrote: >>> On Mon, Feb 10, 2020 at 09:10:51PM +0100, Martin Weise wrote: On 10.02.20 17:34, Kornel Benko wrote: > Am Mon, 10 Feb 2020 16:54:27 +0100 > schrieb Martin Weise : > >>> I'm wondering whether LyX successfully compiles the PDF file in the >>> temp directory but then fails to copy or move it to the target >>> directory. >>> >>> Paul >>> >> No, Document -> View (pdflatex) produces nothing either. Nor does >> the >> LuaTeX way. LyX leaves no pdf file in the temp dir. It just >> leaves .aux, >> .dvi,. log, .tex and .dep-pdf files. >> >> Martin > That (.dvi) is the clue probably. Select different output in > Document->Settings...->Formats->Default output format: -> PDF > (pdflatex) > > Kornel > No, I'm afraid that's not it. pdflatex keeps throwing the assertion error message, when run through LyX, regardless of what I choose as the default output format. >>> Still I think Kornel picked up on an important clue: we need to figure >>> out why there's a .dvi file in the temporary directory. If you exit LyX >>> and start LyX again (which should use a fresh temp dir), and compile a >>> simple .lyx file, can you confirm that there's a .dvi in the temporary >>> directory? >>> >>> Scott >>> >> Positive. There's a .dvi file in the (new) temporary directory after I >> choose File->Export->PDF (pdflatex). >> > Do you have an entry for "LaTeX (pdflatex) -> PDF (pdflatex)" in Tools > > Preferences... > File Handling > Converters and, if so, what do the > "Converter:" and "Extra flag:" boxes say? > > Paul > I do. The entries are as follows. Converter: pdflatex $$i Extra flag: latex=pdflatex Martin -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users