PDF export fails with pdflatex and LuaTeX

Martin Weise M at rtinWeise.de
Mon Feb 10 07:18:40 UTC 2020


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: HelloWord.lyx
Type: application/x-lyx
Size: 1625 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20200210/6d6c6c6f/attachment.lyx>


More information about the lyx-users mailing list