Re: PDF export fails with pdflatex and LuaTeX
find /usr/local/texlive -name pdftexconfig.tex -exec ls -sl {} ';' 8 -rw-r--r--@ 1 el wheel 549 Apr 15 2016 /usr/local/texlive/2019basic/texmf-dist/tex/generic/tex-ini-files/pdftexconfig.tex 8 -rw-r--r-- 1 el wheel 549 May 2 2019 /usr/local/texlive/2019basic/texmf-config/tex/generic/config/pdftexconfig.tex kpsewhich pdftexconfig.tex /usr/local/texlive/2019basic/texmf-config/tex/generic/config/pdftexconfig.tex So it may even be possible to edit the distributed one and save it onto config :-)-O el On 12/02/2020 08: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 > > -- 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 09:16, Jürgen Spitzmüller wrote: > Am Mittwoch, den 12.02.2020, 08:41 +0100 schrieb Martin Weise: >> That did the trick! > Excellent. > >> 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. > I suspect something went wrong at installation. Or maybe there is > something wrong in the packages. Is this from ubuntu binaries or > vanilla TeXLive? > >> Thanks bunches! > Glad I could help. Such config problems are annoying and hard to track. > > Jürgen > It's from the Ubuntu 18.04 repositories. Works like a charm on other computers. 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, 08:41 +0100 schrieb Martin Weise: > That did the trick! Excellent. > 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. I suspect something went wrong at installation. Or maybe there is something wrong in the packages. Is this from ubuntu binaries or vanilla TeXLive? > Thanks bunches! Glad I could help. Such config problems are annoying and hard to track. 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 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
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: 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
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
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
Re: PDF export fails with pdflatex and LuaTeX
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 signature.asc Description: PGP signature -- 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 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 -- 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 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). -- 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 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 signature.asc Description: PGP signature -- 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 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. 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 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 -- 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 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 -- 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 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 pgpXONzAE9zNk.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 10.02.20 16:06, Scott Kostyshak wrote: > On Mon, Feb 10, 2020 at 08:18:40AM +0100, Martin Weise wrote: >> On 10.02.20 02:43, Scott Kostyshak wrote: >>> On Sun, Feb 09, 2020 at 07:56:56PM +0100, 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. >>> Hi Martin, >>> >>> When you run pdflatex manually on LaTeX code produced by LyX, >>> does it have a non-zero exit code? >>> >>> Can you send a .lyx minimal example file that reproduces the error? >>> >>> Best, >>> >>> Scott >> Sure thing... here you go. But it's really just any .lyx file. >> >> Running pdflatex manually yields a zero exit code (and thus, a .pdf file). >> >> Thanks for your help, > Thanks for the example file. As you probably expected, it compiles fine > on my computer (although it was good to check). > > How did you install LyX? Did you install it from the Ubuntu repository, > or a PPA, or did you manually compile? > > When you do the export, do you get an error dialog? What does the > message pane say right after doing the export? > > The line about the assertion in your output means that LyX did not > detect an error when exporting but at the same time there is no export > file. So LyX is just as confused as we are it seems. > > Best, > > Scott I have tried both the Ubuntu repo version (which is 2.2) and the version from ppa:lyx-devel/release. Neither version works. I get no error dialog. The message pane either contains said assertion error or no error at all (though there is no pdf file afterwards). 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 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 -- 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/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 -- 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 Mon, Feb 10, 2020 at 08:18:40AM +0100, Martin Weise wrote: > On 10.02.20 02:43, Scott Kostyshak wrote: > > On Sun, Feb 09, 2020 at 07:56:56PM +0100, 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. > > Hi Martin, > > > > When you run pdflatex manually on LaTeX code produced by LyX, > > does it have a non-zero exit code? > > > > Can you send a .lyx minimal example file that reproduces the error? > > > > Best, > > > > Scott > > Sure thing... here you go. But it's really just any .lyx file. > > Running pdflatex manually yields a zero exit code (and thus, a .pdf file). > > Thanks for your help, Thanks for the example file. As you probably expected, it compiles fine on my computer (although it was good to check). How did you install LyX? Did you install it from the Ubuntu repository, or a PPA, or did you manually compile? When you do the export, do you get an error dialog? What does the message pane say right after doing the export? The line about the assertion in your output means that LyX did not detect an error when exporting but at the same time there is no export file. So LyX is just as confused as we are it seems. Best, Scott signature.asc Description: PGP signature -- 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 02:43, Scott Kostyshak wrote: > On Sun, Feb 09, 2020 at 07:56:56PM +0100, 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. > Hi Martin, > > When you run pdflatex manually on LaTeX code produced by LyX, > does it have a non-zero exit code? > > Can you send a .lyx minimal example file that reproduces the error? > > Best, > > Scott Sure thing... here you go. But it's really just any .lyx file. Running pdflatex manually yields a zero exit code (and thus, a .pdf file). Thanks for your help, Martin HelloWord.lyx Description: application/lyx -- 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 Sun, Feb 09, 2020 at 07:56:56PM +0100, 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. Hi Martin, When you run pdflatex manually on LaTeX code produced by LyX, does it have a non-zero exit code? Can you send a .lyx minimal example file that reproduces the error? Best, Scott signature.asc Description: PGP signature -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: pdf export error in Kubuntu, not in Debian
Thanks, Guenter and Scott, installing the package texlive-lang-greek solved my issue Wolfgang Am 15.01.2015 um 08:26 schrieb Guenter Milde: On 2015-01-09, Scott Kostyshak wrote: On Fri, Jan 9, 2015 at 12:00 PM, Wolfgang Engelmann engelm...@uni-tuebingen.de wrote: Apparently my texlive in Kubuntu is missing some fonts or whathever, since my lyx file is exported ok under Debian, but not under Kubuntu. Has anybody an idea what I have to install to get it working also under Kubuntu? Wolfgang Here some of the error outputs of the run: ) (/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty Package: fontenc 2005/09/27 v1.99g Standard LaTeX package ! Package fontenc Error: Encoding file `lgrenc.def' not found. $ apt-file find lgrenc.def texlive-lang-greek: /usr/share/doc/texlive-doc/latex/greek-fontenc/lgrenc.def.html texlive-lang-greek: /usr/share/texlive/texmf-dist/tex/latex/greek-fontenc/lgrenc.def Yes, this is an error because of missing support for the Greek script in text. In Debian, this is solved by installing the package texlive-lang-greek. In Kubuntu, it should be the same (or something similar). `apt-file` should work in Kubuntu, too. Günter
Re: pdf export error in Kubuntu, not in Debian
Thanks, Guenter and Scott, installing the package texlive-lang-greek solved my issue Wolfgang Am 15.01.2015 um 08:26 schrieb Guenter Milde: On 2015-01-09, Scott Kostyshak wrote: On Fri, Jan 9, 2015 at 12:00 PM, Wolfgang Engelmann engelm...@uni-tuebingen.de wrote: Apparently my texlive in Kubuntu is missing some fonts or whathever, since my lyx file is exported ok under Debian, but not under Kubuntu. Has anybody an idea what I have to install to get it working also under Kubuntu? Wolfgang Here some of the error outputs of the run: ) (/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty Package: fontenc 2005/09/27 v1.99g Standard LaTeX package ! Package fontenc Error: Encoding file `lgrenc.def' not found. $ apt-file find lgrenc.def texlive-lang-greek: /usr/share/doc/texlive-doc/latex/greek-fontenc/lgrenc.def.html texlive-lang-greek: /usr/share/texlive/texmf-dist/tex/latex/greek-fontenc/lgrenc.def Yes, this is an error because of missing support for the Greek script in text. In Debian, this is solved by installing the package texlive-lang-greek. In Kubuntu, it should be the same (or something similar). `apt-file` should work in Kubuntu, too. Günter
Re: pdf export error in Kubuntu, not in Debian
Thanks, Guenter and Scott, installing the package "texlive-lang-greek" solved my issue Wolfgang Am 15.01.2015 um 08:26 schrieb Guenter Milde: On 2015-01-09, Scott Kostyshak wrote: On Fri, Jan 9, 2015 at 12:00 PM, Wolfgang Engelmannwrote: Apparently my texlive in Kubuntu is missing some fonts or whathever, since my lyx file is exported ok under Debian, but not under Kubuntu. Has anybody an idea what I have to install to get it working also under Kubuntu? Wolfgang Here some of the error outputs of the run: ) (/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty Package: fontenc 2005/09/27 v1.99g Standard LaTeX package ! Package fontenc Error: Encoding file `lgrenc.def' not found. $ apt-file find lgrenc.def texlive-lang-greek: /usr/share/doc/texlive-doc/latex/greek-fontenc/lgrenc.def.html texlive-lang-greek: /usr/share/texlive/texmf-dist/tex/latex/greek-fontenc/lgrenc.def Yes, this is an error because of missing support for the Greek script in text. In Debian, this is solved by installing the package "texlive-lang-greek". In Kubuntu, it should be the same (or something similar). `apt-file` should work in Kubuntu, too. Günter
Re: pdf export error in Kubuntu, not in Debian
On 2015-01-09, Scott Kostyshak wrote: On Fri, Jan 9, 2015 at 12:00 PM, Wolfgang Engelmann engelm...@uni-tuebingen.de wrote: Apparently my texlive in Kubuntu is missing some fonts or whathever, since my lyx file is exported ok under Debian, but not under Kubuntu. Has anybody an idea what I have to install to get it working also under Kubuntu? Wolfgang Here some of the error outputs of the run: ) (/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty Package: fontenc 2005/09/27 v1.99g Standard LaTeX package ! Package fontenc Error: Encoding file `lgrenc.def' not found. $ apt-file find lgrenc.def texlive-lang-greek: /usr/share/doc/texlive-doc/latex/greek-fontenc/lgrenc.def.html texlive-lang-greek: /usr/share/texlive/texmf-dist/tex/latex/greek-fontenc/lgrenc.def Yes, this is an error because of missing support for the Greek script in text. In Debian, this is solved by installing the package texlive-lang-greek. In Kubuntu, it should be the same (or something similar). `apt-file` should work in Kubuntu, too. Günter
Re: pdf export error in Kubuntu, not in Debian
On 2015-01-09, Scott Kostyshak wrote: On Fri, Jan 9, 2015 at 12:00 PM, Wolfgang Engelmann engelm...@uni-tuebingen.de wrote: Apparently my texlive in Kubuntu is missing some fonts or whathever, since my lyx file is exported ok under Debian, but not under Kubuntu. Has anybody an idea what I have to install to get it working also under Kubuntu? Wolfgang Here some of the error outputs of the run: ) (/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty Package: fontenc 2005/09/27 v1.99g Standard LaTeX package ! Package fontenc Error: Encoding file `lgrenc.def' not found. $ apt-file find lgrenc.def texlive-lang-greek: /usr/share/doc/texlive-doc/latex/greek-fontenc/lgrenc.def.html texlive-lang-greek: /usr/share/texlive/texmf-dist/tex/latex/greek-fontenc/lgrenc.def Yes, this is an error because of missing support for the Greek script in text. In Debian, this is solved by installing the package texlive-lang-greek. In Kubuntu, it should be the same (or something similar). `apt-file` should work in Kubuntu, too. Günter
Re: pdf export error in Kubuntu, not in Debian
On 2015-01-09, Scott Kostyshak wrote: > On Fri, Jan 9, 2015 at 12:00 PM, Wolfgang Engelmann >wrote: >> Apparently my texlive in Kubuntu is missing some fonts or whathever, since >> my lyx file is exported ok under Debian, but not under Kubuntu. Has anybody >> an idea what I have to install to get it working also under Kubuntu? >> Wolfgang >> Here some of the error outputs of the run: >> ) (/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty >> Package: fontenc 2005/09/27 v1.99g Standard LaTeX package >> ! Package fontenc Error: Encoding file `lgrenc.def' not found. > $ apt-file find lgrenc.def > texlive-lang-greek: > /usr/share/doc/texlive-doc/latex/greek-fontenc/lgrenc.def.html > texlive-lang-greek: > /usr/share/texlive/texmf-dist/tex/latex/greek-fontenc/lgrenc.def Yes, this is an error because of missing support for the Greek script in text. In Debian, this is solved by installing the package "texlive-lang-greek". In Kubuntu, it should be the same (or something similar). `apt-file` should work in Kubuntu, too. Günter
Re: pdf export error in Kubuntu, not in Debian
On Fri, Jan 9, 2015 at 12:00 PM, Wolfgang Engelmann engelm...@uni-tuebingen.de wrote: Apparently my texlive in Kubuntu is missing some fonts or whathever, since my lyx file is exported ok under Debian, but not under Kubuntu. Has anybody an idea what I have to install to get it working also under Kubuntu? Wolfgang Here some of the error outputs of the run: ) (/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty Package: fontenc 2005/09/27 v1.99g Standard LaTeX package ! Package fontenc Error: Encoding file `lgrenc.def' not found. $ apt-file find lgrenc.def texlive-lang-greek: /usr/share/doc/texlive-doc/latex/greek-fontenc/lgrenc.def.html texlive-lang-greek: /usr/share/texlive/texmf-dist/tex/latex/greek-fontenc/lgrenc.def (fontenc) You might have misspelt the name of the encoding. No file LGRcmr.fd. ! LaTeX Error: This NFSS system isn't set up properly LaTeX Font Warning: Font shape `LGR/cmr/m/n' undefined (Font) using `LGR/cmr/m/n' instead on input line 136. ! Corrupted NFSS tables. wrong@fontshape ...message {Corrupted NFSS tables} error@fontshape else let f... l.136 of about 10 \textgreek{m} m. The width of the stomatal opening is regul... Scott
Re: pdf export error in Kubuntu, not in Debian
On Fri, Jan 9, 2015 at 12:00 PM, Wolfgang Engelmann engelm...@uni-tuebingen.de wrote: Apparently my texlive in Kubuntu is missing some fonts or whathever, since my lyx file is exported ok under Debian, but not under Kubuntu. Has anybody an idea what I have to install to get it working also under Kubuntu? Wolfgang Here some of the error outputs of the run: ) (/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty Package: fontenc 2005/09/27 v1.99g Standard LaTeX package ! Package fontenc Error: Encoding file `lgrenc.def' not found. $ apt-file find lgrenc.def texlive-lang-greek: /usr/share/doc/texlive-doc/latex/greek-fontenc/lgrenc.def.html texlive-lang-greek: /usr/share/texlive/texmf-dist/tex/latex/greek-fontenc/lgrenc.def (fontenc) You might have misspelt the name of the encoding. No file LGRcmr.fd. ! LaTeX Error: This NFSS system isn't set up properly LaTeX Font Warning: Font shape `LGR/cmr/m/n' undefined (Font) using `LGR/cmr/m/n' instead on input line 136. ! Corrupted NFSS tables. wrong@fontshape ...message {Corrupted NFSS tables} error@fontshape else let f... l.136 of about 10 \textgreek{m} m. The width of the stomatal opening is regul... Scott
Re: pdf export error in Kubuntu, not in Debian
On Fri, Jan 9, 2015 at 12:00 PM, Wolfgang Engelmannwrote: > Apparently my texlive in Kubuntu is missing some fonts or whathever, since > my lyx file is exported ok under Debian, but not under Kubuntu. Has anybody > an idea what I have to install to get it working also under Kubuntu? > Wolfgang > Here some of the error outputs of the run: > > ) (/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty > > Package: fontenc 2005/09/27 v1.99g Standard LaTeX package > > ! Package fontenc Error: Encoding file `lgrenc.def' not found. $ apt-file find lgrenc.def texlive-lang-greek: /usr/share/doc/texlive-doc/latex/greek-fontenc/lgrenc.def.html texlive-lang-greek: /usr/share/texlive/texmf-dist/tex/latex/greek-fontenc/lgrenc.def > > (fontenc) You might have misspelt the name of the encoding. > > No file LGRcmr.fd. > > ! LaTeX Error: This NFSS system isn't set up properly > > > LaTeX Font Warning: Font shape `LGR/cmr/m/n' undefined > > (Font) using `LGR/cmr/m/n' instead on input line 136. > > ! Corrupted NFSS tables. > > wrong@fontshape ...message {Corrupted NFSS tables} > > error@fontshape else let f... > > l.136 of about 10 \textgreek{m} > > m. The width of the stomatal opening is regul... Scott
Re: PDF export, fonts printing
On 20.09.04, Herbert Voss wrote: G. Milde wrote: On 17.09.04, Helge Hafting wrote: ... would it be ok to simply replace pslatex with the better alternative, or would we get angry protests from: * People who have pslatex but not the alternative (if any) * People who want their old documents to appear just so, and object to anything that changes fonts in _existing_ documents? Keep pslatex but put it in a lower position. This way it is clear not to be first choice but will still be used for existing documents. Changing fonts can be a big issue and it could become a long cumbersome search to find out why my carefully crafted page layout got completely out of sync. nonsense here! Look what pslatex loads and compare it with the replacement, which I posted more than once. I just compared DocumentFont pslatex with DocumentFont Default + preamble \usepackage{lmodern} The translated document has 32 vs. 30 pages and floats appear at totally different positions. An automatic replacement would break my docs. I would object to documents defining Font pslatex to be typeset with lmodern automatically. However, I would like lmodern to appear in the drop down list and I would like it to appear at first position. Günter -- G.Milde web.de
Re: PDF export, fonts printing
G. Milde schrieb: On 20.09.04, Herbert Voss wrote: G. Milde wrote: On 17.09.04, Helge Hafting wrote: ... would it be ok to simply replace pslatex with the better alternative, or would we get angry protests from: * People who have pslatex but not the alternative (if any) * People who want their old documents to appear just so, and object to anything that changes fonts in _existing_ documents? Keep pslatex but put it in a lower position. This way it is clear not to be first choice but will still be used for existing documents. Changing fonts can be a big issue and it could become a long cumbersome search to find out why my carefully crafted page layout got completely out of sync. nonsense here! Look what pslatex loads and compare it with the replacement, which I posted more than once. I just compared DocumentFont pslatex with DocumentFont Default + preamble \usepackage{lmodern} The translated document has 32 vs. 30 pages and floats appear at totally different positions. An automatic replacement would break my docs. you are comparing two different things, pslatex has nothing to do with latin modern fonts. I would object to documents defining Font pslatex to be typeset with lmodern automatically. see above, when a user wants times you can say take lm fonts. However, I would like lmodern to appear in the drop down list and I would like it to appear at first position. Herbert -- http://TeXnik.de/ http://PSTricks.de/ ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf http://www.dante.de/faq/de-tex-faq/ http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
Re: PDF export, fonts printing
Herbert Voss wrote: I would object to documents defining Font pslatex to be typeset with lmodern automatically. see above, when a user wants times you can say take lm fonts. should be cannot say ... However, I would like lmodern to appear in the drop down list and I would like it to appear at first position. Herbert -- http://TeXnik.de/ http://PSTricks.de/ ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf http://www.dante.de/faq/de-tex-faq/ http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
Re: PDF export, fonts printing
On 20.09.04, Herbert Voss wrote: G. Milde wrote: On 17.09.04, Helge Hafting wrote: ... would it be ok to simply replace pslatex with the better alternative, or would we get angry protests from: * People who have pslatex but not the alternative (if any) * People who want their old documents to appear just so, and object to anything that changes fonts in _existing_ documents? Keep pslatex but put it in a lower position. This way it is clear not to be first choice but will still be used for existing documents. Changing fonts can be a big issue and it could become a long cumbersome search to find out why my carefully crafted page layout got completely out of sync. nonsense here! Look what pslatex loads and compare it with the replacement, which I posted more than once. I just compared DocumentFont pslatex with DocumentFont Default + preamble \usepackage{lmodern} The translated document has 32 vs. 30 pages and floats appear at totally different positions. An automatic replacement would break my docs. I would object to documents defining Font pslatex to be typeset with lmodern automatically. However, I would like lmodern to appear in the drop down list and I would like it to appear at first position. Günter -- G.Milde web.de
Re: PDF export, fonts printing
G. Milde schrieb: On 20.09.04, Herbert Voss wrote: G. Milde wrote: On 17.09.04, Helge Hafting wrote: ... would it be ok to simply replace pslatex with the better alternative, or would we get angry protests from: * People who have pslatex but not the alternative (if any) * People who want their old documents to appear just so, and object to anything that changes fonts in _existing_ documents? Keep pslatex but put it in a lower position. This way it is clear not to be first choice but will still be used for existing documents. Changing fonts can be a big issue and it could become a long cumbersome search to find out why my carefully crafted page layout got completely out of sync. nonsense here! Look what pslatex loads and compare it with the replacement, which I posted more than once. I just compared DocumentFont pslatex with DocumentFont Default + preamble \usepackage{lmodern} The translated document has 32 vs. 30 pages and floats appear at totally different positions. An automatic replacement would break my docs. you are comparing two different things, pslatex has nothing to do with latin modern fonts. I would object to documents defining Font pslatex to be typeset with lmodern automatically. see above, when a user wants times you can say take lm fonts. However, I would like lmodern to appear in the drop down list and I would like it to appear at first position. Herbert -- http://TeXnik.de/ http://PSTricks.de/ ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf http://www.dante.de/faq/de-tex-faq/ http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
Re: PDF export, fonts printing
Herbert Voss wrote: I would object to documents defining Font pslatex to be typeset with lmodern automatically. see above, when a user wants times you can say take lm fonts. should be cannot say ... However, I would like lmodern to appear in the drop down list and I would like it to appear at first position. Herbert -- http://TeXnik.de/ http://PSTricks.de/ ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf http://www.dante.de/faq/de-tex-faq/ http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
Re: PDF export, fonts & printing
On 20.09.04, Herbert Voss wrote: > G. Milde wrote: > >On 17.09.04, Helge Hafting wrote: > >> ... would it be ok to simply replace pslatex with the better > >> alternative, > >> or would we get angry protests from: > >> * People who have pslatex but not the alternative (if any) > >> * People who want their old documents to appear just so, and object > >> to anything that changes fonts in _existing_ documents? > > > >Keep pslatex but put it in a lower position. This way it is clear not to be > >first choice but will still be used for existing documents. > > > >Changing fonts can be a big issue and it could become a long cumbersome > >search to find out why my carefully crafted page layout got completely out > >of sync. > > nonsense here! Look what pslatex loads and compare it with > the replacement, which I posted more than once. I just compared Document>Font pslatex with Document>Font Default + preamble \usepackage{lmodern} The translated document has 32 vs. 30 pages and floats appear at totally different positions. An automatic replacement would break my docs. I would object to documents defining Font pslatex to be typeset with lmodern automatically. However, I would like lmodern to appear in the drop down list and I would like it to appear at first position. Günter -- G.Milde web.de
Re: PDF export, fonts & printing
G. Milde schrieb: > On 20.09.04, Herbert Voss wrote: > >> G. Milde wrote: >> >>> On 17.09.04, Helge Hafting wrote: > > > ... would it be ok to simply replace pslatex with the better alternative, or would we get angry protests from: * People who have pslatex but not the alternative (if any) * People who want their old documents to appear just so, and object to anything that changes fonts in _existing_ documents? >>> >>> >>> Keep pslatex but put it in a lower position. This way it is clear not to be >>> first choice but will still be used for existing documents. >>> >>> Changing fonts can be a big issue and it could become a long cumbersome >>> search to find out why my carefully crafted page layout got completely out >>> of sync. >> >> >> nonsense here! Look what pslatex loads and compare it with >> the replacement, which I posted more than once. > > > > I just compared Document>Font pslatex with > Document>Font Default + preamble \usepackage{lmodern} > > The translated document has 32 vs. 30 pages and floats appear at totally > different positions. An automatic replacement would break my docs. you are comparing two different things, pslatex has nothing to do with latin modern fonts. > I would object to documents defining Font pslatex to be typeset with lmodern > automatically. see above, when a user wants times you can say take lm fonts. > However, I would like lmodern to appear in the drop down list and I would > like it to appear at first position. Herbert -- http://TeXnik.de/ http://PSTricks.de/ ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf http://www.dante.de/faq/de-tex-faq/ http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
Re: PDF export, fonts & printing
Herbert Voss wrote: > I would object to documents defining Font pslatex to be typeset with lmodern > automatically. see above, when a user wants times you can say take lm fonts. should be "cannot say" ... > However, I would like lmodern to appear in the drop down list and I would > like it to appear at first position. Herbert -- http://TeXnik.de/ http://PSTricks.de/ ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf http://www.dante.de/faq/de-tex-faq/ http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
Re: PDF export, fonts printing
On 17.09.04, Helge Hafting wrote: Herbert Voss wrote: ... pslatex is a bad choice, it is really out of date ... I know there is a better replacement, it isn't offered in the menu though. I wonder - would it be ok to simply replace pslatex with the better alternative, or would we get angry protests from: * People who have pslatex but not the alternative (if any) * People who want their old documents to appear just so, and object to anything that changes fonts in _existing_ documents? Keep pslatex but put it in a lower position. This way it is clear not to be first choice but will still be used for existing documents. Changing fonts can be a big issue and it could become a long cumbersome search to find out why my carefully crafted page layout got completely out of sync. Günter -- G.Milde web.de
Re: PDF export, fonts printing
G. Milde wrote: On 17.09.04, Helge Hafting wrote: Herbert Voss wrote: ... pslatex is a bad choice, it is really out of date ... I know there is a better replacement, it isn't offered in the menu though. I wonder - would it be ok to simply replace pslatex with the better alternative, or would we get angry protests from: * People who have pslatex but not the alternative (if any) * People who want their old documents to appear just so, and object to anything that changes fonts in _existing_ documents? Keep pslatex but put it in a lower position. This way it is clear not to be first choice but will still be used for existing documents. Changing fonts can be a big issue and it could become a long cumbersome search to find out why my carefully crafted page layout got completely out of sync. nonsense here! Look what pslatex loads and compare it with the replacement, which I posted more than once. Herbert -- http://TeXnik.de/ http://PSTricks.de/ ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf http://www.dante.de/faq/de-tex-faq/ http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
Re: PDF export, fonts printing
On 17.09.04, Helge Hafting wrote: Herbert Voss wrote: ... pslatex is a bad choice, it is really out of date ... I know there is a better replacement, it isn't offered in the menu though. I wonder - would it be ok to simply replace pslatex with the better alternative, or would we get angry protests from: * People who have pslatex but not the alternative (if any) * People who want their old documents to appear just so, and object to anything that changes fonts in _existing_ documents? Keep pslatex but put it in a lower position. This way it is clear not to be first choice but will still be used for existing documents. Changing fonts can be a big issue and it could become a long cumbersome search to find out why my carefully crafted page layout got completely out of sync. Günter -- G.Milde web.de
Re: PDF export, fonts printing
G. Milde wrote: On 17.09.04, Helge Hafting wrote: Herbert Voss wrote: ... pslatex is a bad choice, it is really out of date ... I know there is a better replacement, it isn't offered in the menu though. I wonder - would it be ok to simply replace pslatex with the better alternative, or would we get angry protests from: * People who have pslatex but not the alternative (if any) * People who want their old documents to appear just so, and object to anything that changes fonts in _existing_ documents? Keep pslatex but put it in a lower position. This way it is clear not to be first choice but will still be used for existing documents. Changing fonts can be a big issue and it could become a long cumbersome search to find out why my carefully crafted page layout got completely out of sync. nonsense here! Look what pslatex loads and compare it with the replacement, which I posted more than once. Herbert -- http://TeXnik.de/ http://PSTricks.de/ ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf http://www.dante.de/faq/de-tex-faq/ http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
Re: PDF export, fonts & printing
On 17.09.04, Helge Hafting wrote: > Herbert Voss wrote: ... > > > >pslatex is a bad choice, it is really out of date ... > > > I know there is a better replacement, it isn't offered in the menu though. > I wonder - would it be ok to simply replace pslatex with the better > alternative, > or would we get angry protests from: > * People who have pslatex but not the alternative (if any) > * People who want their old documents to appear just so, and object > to anything that changes fonts in _existing_ documents? Keep pslatex but put it in a lower position. This way it is clear not to be first choice but will still be used for existing documents. Changing fonts can be a big issue and it could become a long cumbersome search to find out why my carefully crafted page layout got completely out of sync. Günter -- G.Milde web.de
Re: PDF export, fonts & printing
G. Milde wrote: On 17.09.04, Helge Hafting wrote: Herbert Voss wrote: ... pslatex is a bad choice, it is really out of date ... I know there is a better replacement, it isn't offered in the menu though. I wonder - would it be ok to simply replace pslatex with the better alternative, or would we get angry protests from: * People who have pslatex but not the alternative (if any) * People who want their old documents to appear just so, and object to anything that changes fonts in _existing_ documents? Keep pslatex but put it in a lower position. This way it is clear not to be first choice but will still be used for existing documents. Changing fonts can be a big issue and it could become a long cumbersome search to find out why my carefully crafted page layout got completely out of sync. nonsense here! Look what pslatex loads and compare it with the replacement, which I posted more than once. Herbert -- http://TeXnik.de/ http://PSTricks.de/ ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf http://www.dante.de/faq/de-tex-faq/ http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
Re: PDF export, fonts printing
Adrian Lester wrote: In my document fonts etc. are set to default but when I export a PDF file using any of the three methods available its quality is poor when viewed with xpdf while being find in kghostview. This also goes for exporting a ps file and using ps2pdf. The output looks like a poor quality scan in either xpdf of Acrobat reader. Use Type1 fonts instead of bitmap fonts, because Acrobat older than version 6 has problems with scaling bitmap fonts. Have a look at http://wiki.lyx.org/pmwiki.php/FAQ/PDF#badFonts regards Uwe
Re: PDF export, fonts printing
Adrian Lester wrote: In my document fonts etc. are set to default but when I export a PDF file using any of the three methods available its quality is poor when viewed with xpdf while being find in kghostview. This also goes for exporting a ps file and using ps2pdf. The output looks like a poor quality scan in either xpdf of Acrobat reader. Use Type1 fonts instead of bitmap fonts, because Acrobat older than version 6 has problems with scaling bitmap fonts. Have a look at http://wiki.lyx.org/pmwiki.php/FAQ/PDF#badFonts regards Uwe
Re: PDF export, fonts & printing
Adrian Lester wrote: In my document fonts etc. are set to default but when I export a PDF file using any of the three methods available its quality is poor when viewed with xpdf while being find in kghostview. This also goes for exporting a ps file and using ps2pdf. The output looks like a poor quality scan in either xpdf of Acrobat reader. Use Type1 fonts instead of bitmap fonts, because Acrobat older than version 6 has problems with scaling bitmap fonts. Have a look at http://wiki.lyx.org/pmwiki.php/FAQ/PDF#badFonts regards Uwe
Re: PDF export, fonts printing
On Thursday 16 September 2004 22:45, Adrian Lester wrote: OK, I seem to be having trouble with lyx 1.3.4 after using a previous version successfully for some time so please bear with me. Seems to me like some sort of font issue but I can't work out exactly what (I don't really understand the way ps and pdf files use fonts). Can anyone advise me on safe settings which work? http://www.pstricks.de/pdf/pdf.phtml#fonts Thanks again, Adrian. *** -- José Abílio
Re: PDF export, fonts printing
Adrian Lester wrote: OK, I seem to be having trouble with lyx 1.3.4 after using a previous version successfully for some time so please bear with me. In my document fonts etc. are set to default but when I export a PDF file using any of the three methods available its quality is poor when viewed with xpdf while being find in kghostview. This also goes for exporting a ps file and using ps2pdf. The output looks like a poor quality scan in either xpdf of Acrobat reader. The problem here is really that acrobat is bad at showing bitmap fonts - printing should be much better, and try using gv to read the pdf file. I'll be okay. But of course we need to help people who have nothing but that bad acrobat. The fix is to use a vector font instead of a bitmap font. The easy way is to select something other than default font, for example pslatex. Or try out the other ones for different looks. If you really need the default computer modern font, get the postscript version of it and set up your latex correctly. That could be some work, so just use a non-default font. I believe all of them are ok. Helge Hafting
Re: PDF export, fonts printing
Helge Hafting wrote: Adrian Lester wrote: OK, I seem to be having trouble with lyx 1.3.4 after using a previous version successfully for some time so please bear with me. In my document fonts etc. are set to default but when I export a PDF file using any of the three methods available its quality is poor when viewed with xpdf while being find in kghostview. This also goes for exporting a ps file and using ps2pdf. The output looks like a poor quality scan in either xpdf of Acrobat reader. The problem here is really that acrobat is bad at showing bitmap fonts - printing should be much better, and try using gv to read the pdf file. I'll be okay. But of course we need to help people who have nothing but that bad acrobat. The fix is to use a vector font instead of a bitmap font. The easy way is to select something other than default font, for example pslatex. Or try out the other ones for different looks. pslatex is a bad choice, it is really out of date ... Herbert
Re: PDF export, fonts printing
Herbert Voss wrote: Helge Hafting wrote: [...] But of course we need to help people who have nothing but that bad acrobat. The fix is to use a vector font instead of a bitmap font. The easy way is to select something other than default font, for example pslatex. Or try out the other ones for different looks. pslatex is a bad choice, it is really out of date ... Herbert I know there is a better replacement, it isn't offered in the menu though. I wonder - would it be ok to simply replace pslatex with the better alternative, or would we get angry protests from: * People who have pslatex but not the alternative (if any) * People who want their old documents to appear just so, and object to anything that changes fonts in _existing_ documents? Helge Hafting
Re: PDF export, fonts printing
On Thursday 16 September 2004 22:45, Adrian Lester wrote: OK, I seem to be having trouble with lyx 1.3.4 after using a previous version successfully for some time so please bear with me. Seems to me like some sort of font issue but I can't work out exactly what (I don't really understand the way ps and pdf files use fonts). Can anyone advise me on safe settings which work? http://www.pstricks.de/pdf/pdf.phtml#fonts Thanks again, Adrian. *** -- José Abílio
Re: PDF export, fonts printing
Adrian Lester wrote: OK, I seem to be having trouble with lyx 1.3.4 after using a previous version successfully for some time so please bear with me. In my document fonts etc. are set to default but when I export a PDF file using any of the three methods available its quality is poor when viewed with xpdf while being find in kghostview. This also goes for exporting a ps file and using ps2pdf. The output looks like a poor quality scan in either xpdf of Acrobat reader. The problem here is really that acrobat is bad at showing bitmap fonts - printing should be much better, and try using gv to read the pdf file. I'll be okay. But of course we need to help people who have nothing but that bad acrobat. The fix is to use a vector font instead of a bitmap font. The easy way is to select something other than default font, for example pslatex. Or try out the other ones for different looks. If you really need the default computer modern font, get the postscript version of it and set up your latex correctly. That could be some work, so just use a non-default font. I believe all of them are ok. Helge Hafting
Re: PDF export, fonts printing
Helge Hafting wrote: Adrian Lester wrote: OK, I seem to be having trouble with lyx 1.3.4 after using a previous version successfully for some time so please bear with me. In my document fonts etc. are set to default but when I export a PDF file using any of the three methods available its quality is poor when viewed with xpdf while being find in kghostview. This also goes for exporting a ps file and using ps2pdf. The output looks like a poor quality scan in either xpdf of Acrobat reader. The problem here is really that acrobat is bad at showing bitmap fonts - printing should be much better, and try using gv to read the pdf file. I'll be okay. But of course we need to help people who have nothing but that bad acrobat. The fix is to use a vector font instead of a bitmap font. The easy way is to select something other than default font, for example pslatex. Or try out the other ones for different looks. pslatex is a bad choice, it is really out of date ... Herbert
Re: PDF export, fonts printing
Herbert Voss wrote: Helge Hafting wrote: [...] But of course we need to help people who have nothing but that bad acrobat. The fix is to use a vector font instead of a bitmap font. The easy way is to select something other than default font, for example pslatex. Or try out the other ones for different looks. pslatex is a bad choice, it is really out of date ... Herbert I know there is a better replacement, it isn't offered in the menu though. I wonder - would it be ok to simply replace pslatex with the better alternative, or would we get angry protests from: * People who have pslatex but not the alternative (if any) * People who want their old documents to appear just so, and object to anything that changes fonts in _existing_ documents? Helge Hafting
Re: PDF export, fonts & printing
On Thursday 16 September 2004 22:45, Adrian Lester wrote: > OK, I seem to be having trouble with lyx 1.3.4 after using a previous > version successfully for some time so please bear with me. > > Seems to me like some sort of font issue but I can't work out exactly > what (I don't really understand the way ps and pdf files use fonts). Can > anyone advise me on safe settings which work? http://www.pstricks.de/pdf/pdf.phtml#fonts > Thanks again, > > Adrian. > *** -- José Abílio
Re: PDF export, fonts & printing
Adrian Lester wrote: OK, I seem to be having trouble with lyx 1.3.4 after using a previous version successfully for some time so please bear with me. In my document fonts etc. are set to default but when I export a PDF file using any of the three methods available its quality is poor when viewed with xpdf while being find in kghostview. This also goes for exporting a ps file and using ps2pdf. The output looks like a poor quality scan in either xpdf of Acrobat reader. The problem here is really that acrobat is bad at showing bitmap fonts - printing should be much better, and try using "gv" to read the pdf file. I'll be okay. But of course we need to help people who have nothing but that bad acrobat. The fix is to use a vector font instead of a bitmap font. The easy way is to select something other than "default" font, for example pslatex. Or try out the other ones for different looks. If you really need the default "computer modern" font, get the postscript version of it and set up your latex correctly. That could be some work, so just use a non-default font. I believe all of them are ok. Helge Hafting
Re: PDF export, fonts & printing
Helge Hafting wrote: Adrian Lester wrote: OK, I seem to be having trouble with lyx 1.3.4 after using a previous version successfully for some time so please bear with me. In my document fonts etc. are set to default but when I export a PDF file using any of the three methods available its quality is poor when viewed with xpdf while being find in kghostview. This also goes for exporting a ps file and using ps2pdf. The output looks like a poor quality scan in either xpdf of Acrobat reader. The problem here is really that acrobat is bad at showing bitmap fonts - printing should be much better, and try using "gv" to read the pdf file. I'll be okay. But of course we need to help people who have nothing but that bad acrobat. The fix is to use a vector font instead of a bitmap font. The easy way is to select something other than "default" font, for example pslatex. Or try out the other ones for different looks. pslatex is a bad choice, it is really out of date ... Herbert
Re: PDF export, fonts & printing
Herbert Voss wrote: Helge Hafting wrote: [...] But of course we need to help people who have nothing but that bad acrobat. The fix is to use a vector font instead of a bitmap font. The easy way is to select something other than "default" font, for example pslatex. Or try out the other ones for different looks. pslatex is a bad choice, it is really out of date ... Herbert I know there is a better replacement, it isn't offered in the menu though. I wonder - would it be ok to simply replace pslatex with the better alternative, or would we get angry protests from: * People who have pslatex but not the alternative (if any) * People who want their old documents to appear just so, and object to anything that changes fonts in _existing_ documents? Helge Hafting
Re: pdf export problem: pi missing
Robert Neumann wrote: Hello, I am using Lyx 1.2.1 and \usepackage{mathptmx} I exported my file to a .pdf which worked fine for linux and windows98 But when I tried to open it with a mac, the pi and the infinity symbol were gone... There was just white space. Does anybody know how to solve this problem? Thanks Robert Neumann The knee jerk reaction is to suggest an upgrade to 1.3.3. Would that be possible? Raphael
Re: pdf export problem: pi missing
Robert Neumann wrote: Hello, I am using Lyx 1.2.1 and \usepackage{mathptmx} I exported my file to a .pdf which worked fine for linux and windows98 But when I tried to open it with a mac, the pi and the infinity symbol were gone... There was just white space. Does anybody know how to solve this problem? Thanks Robert Neumann Make sure that you embed the fonts in your document. For example, were you to use ps2pdf, you might use this: ps2pdf -dMaxSubsetPct=100 -dCompatibilityLevel=1.2 -dSubsetFonts=true -dEmbedAllFonts=true --
Re: pdf export problem: pi missing
On Tue, Oct 14, 2003 at 05:59:36PM +, Angus Leeming wrote: Robert Neumann wrote: Hello, I am using Lyx 1.2.1 and \usepackage{mathptmx} I exported my file to a .pdf which worked fine for linux and windows98 But when I tried to open it with a mac, the pi and the infinity symbol were gone... There was just white space. Does anybody know how to solve this problem? Thanks Robert Neumann Make sure that you embed the fonts in your document. For example, were you to use ps2pdf, you might use this: ps2pdf -dMaxSubsetPct=100 -dCompatibilityLevel=1.2 -dSubsetFonts=true -dEmbedAllFonts=true It might be better to use CompatibilityLevel 1.3. Some version of ps2pdf have bugs when using level 1.2. In fact, it is probably suffices to use 'ps2pdf13' instead of the above.
Re: pdf export problem: pi missing
Robert Neumann wrote: Hello, I am using Lyx 1.2.1 and \usepackage{mathptmx} I exported my file to a .pdf which worked fine for linux and windows98 But when I tried to open it with a mac, the pi and the infinity symbol were gone... There was just white space. Does anybody know how to solve this problem? Thanks Robert Neumann The knee jerk reaction is to suggest an upgrade to 1.3.3. Would that be possible? Raphael
Re: pdf export problem: pi missing
Robert Neumann wrote: Hello, I am using Lyx 1.2.1 and \usepackage{mathptmx} I exported my file to a .pdf which worked fine for linux and windows98 But when I tried to open it with a mac, the pi and the infinity symbol were gone... There was just white space. Does anybody know how to solve this problem? Thanks Robert Neumann Make sure that you embed the fonts in your document. For example, were you to use ps2pdf, you might use this: ps2pdf -dMaxSubsetPct=100 -dCompatibilityLevel=1.2 -dSubsetFonts=true -dEmbedAllFonts=true --
Re: pdf export problem: pi missing
On Tue, Oct 14, 2003 at 05:59:36PM +, Angus Leeming wrote: Robert Neumann wrote: Hello, I am using Lyx 1.2.1 and \usepackage{mathptmx} I exported my file to a .pdf which worked fine for linux and windows98 But when I tried to open it with a mac, the pi and the infinity symbol were gone... There was just white space. Does anybody know how to solve this problem? Thanks Robert Neumann Make sure that you embed the fonts in your document. For example, were you to use ps2pdf, you might use this: ps2pdf -dMaxSubsetPct=100 -dCompatibilityLevel=1.2 -dSubsetFonts=true -dEmbedAllFonts=true It might be better to use CompatibilityLevel 1.3. Some version of ps2pdf have bugs when using level 1.2. In fact, it is probably suffices to use 'ps2pdf13' instead of the above.
Re: pdf export problem: pi missing
Robert Neumann wrote: Hello, I am using Lyx 1.2.1 and \usepackage{mathptmx} I exported my file to a .pdf which worked fine for linux and windows98 But when I tried to open it with a mac, the pi and the infinity symbol were gone... There was just white space. Does anybody know how to solve this problem? Thanks Robert Neumann The knee jerk reaction is to suggest an upgrade to 1.3.3. Would that be possible? Raphael
Re: pdf export problem: pi missing
Robert Neumann wrote: > Hello, > I am using Lyx 1.2.1 and \usepackage{mathptmx} > I exported my file to a .pdf which worked fine for linux and > windows98 But when I tried to open it with a mac, the pi and the > infinity symbol were gone... There was just white space. > Does anybody know how to solve this problem? > Thanks > Robert Neumann Make sure that you embed the fonts in your document. For example, were you to use ps2pdf, you might use this: ps2pdf -dMaxSubsetPct=100 -dCompatibilityLevel=1.2 -dSubsetFonts=true -dEmbedAllFonts=true --
Re: pdf export problem: pi missing
On Tue, Oct 14, 2003 at 05:59:36PM +, Angus Leeming wrote: > Robert Neumann wrote: > > > Hello, > > I am using Lyx 1.2.1 and \usepackage{mathptmx} > > I exported my file to a .pdf which worked fine for linux and > > windows98 But when I tried to open it with a mac, the pi and the > > infinity symbol were gone... There was just white space. > > Does anybody know how to solve this problem? > > Thanks > > Robert Neumann > > Make sure that you embed the fonts in your document. > For example, were you to use ps2pdf, you might use this: > ps2pdf -dMaxSubsetPct=100 -dCompatibilityLevel=1.2 -dSubsetFonts=true > -dEmbedAllFonts=true It might be better to use CompatibilityLevel 1.3. Some version of ps2pdf have bugs when using level 1.2. In fact, it is probably suffices to use 'ps2pdf13' instead of the above.
Re: PDF Export
Does anyone knows from which version of Lyx on, it was possible to export to pdf? 1.1.6 And what packages exactly do I need to do so? You just need ghostscript or pdflatex. Do I need to convert all the included graphics from .eps to .pdf as well or does it do it automatically? myriam
Re: PDF Export
On Sun, Nov 17, 2002 at 04:39:21PM -0500, Myriam Abramson wrote: Does anyone knows from which version of Lyx on, it was possible to export to pdf? 1.1.6 And what packages exactly do I need to do so? You just need ghostscript or pdflatex. Do I need to convert all the included graphics from .eps to .pdf as well or does it do it automatically? If you use ps2pdf (i.e export-PDF), then you don't need to convert the graphics to PDF. Also, in lyx = 1.2.0, you don't need to convert the graphics when using pdflatex.
Re: PDF Export
Myriam Abramson wrote: Do I need to convert all the included graphics from .eps to .pdf as well or does it do it automatically? Since 1.2.* it is done automagically, but in 1.1.6fix4 you needed to create copies of all eps files in pdf (with epstopdf) and then use the name of the picture without extension. You have to then set graphics package with particular driver. To make it short: I think you are better with LyX 1.2.1. :-) Matej -- Matej Cepl, [EMAIL PROTECTED], Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 How many Bavarian Illuminati does it take to screw in a lightbulb? Three: one to screw it in, and one to confuse the issue.
Re: PDF Export
Does anyone knows from which version of Lyx on, it was possible to export to pdf? 1.1.6 And what packages exactly do I need to do so? You just need ghostscript or pdflatex. Do I need to convert all the included graphics from .eps to .pdf as well or does it do it automatically? myriam
Re: PDF Export
On Sun, Nov 17, 2002 at 04:39:21PM -0500, Myriam Abramson wrote: Does anyone knows from which version of Lyx on, it was possible to export to pdf? 1.1.6 And what packages exactly do I need to do so? You just need ghostscript or pdflatex. Do I need to convert all the included graphics from .eps to .pdf as well or does it do it automatically? If you use ps2pdf (i.e export-PDF), then you don't need to convert the graphics to PDF. Also, in lyx = 1.2.0, you don't need to convert the graphics when using pdflatex.
Re: PDF Export
Myriam Abramson wrote: Do I need to convert all the included graphics from .eps to .pdf as well or does it do it automatically? Since 1.2.* it is done automagically, but in 1.1.6fix4 you needed to create copies of all eps files in pdf (with epstopdf) and then use the name of the picture without extension. You have to then set graphics package with particular driver. To make it short: I think you are better with LyX 1.2.1. :-) Matej -- Matej Cepl, [EMAIL PROTECTED], Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 How many Bavarian Illuminati does it take to screw in a lightbulb? Three: one to screw it in, and one to confuse the issue.
Re: PDF Export
> > Does anyone knows from which version of Lyx on, > > it was possible to export to pdf? > > 1.1.6 > > > And what packages exactly do I need to do so? > > You just need ghostscript or pdflatex. Do I need to convert all the included graphics from .eps to .pdf as well or does it do it automatically? myriam
Re: PDF Export
On Sun, Nov 17, 2002 at 04:39:21PM -0500, Myriam Abramson wrote: > > > Does anyone knows from which version of Lyx on, > > > it was possible to export to pdf? > > > > 1.1.6 > > > > > And what packages exactly do I need to do so? > > > > You just need ghostscript or pdflatex. > > Do I need to convert all the included graphics from .eps to .pdf as > well or does it do it automatically? If you use ps2pdf (i.e export->PDF), then you don't need to convert the graphics to PDF. Also, in lyx >= 1.2.0, you don't need to convert the graphics when using pdflatex.