PDF export fails with pdflatex and LuaTeX

Scott Kostyshak skostysh at lyx.org
Mon Feb 10 15:06:51 UTC 2020


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20200210/4b41da76/attachment.asc>


More information about the lyx-users mailing list