PDF export fails with pdflatex and LuaTeX

Martin Weise M at rtinWeise.de
Tue Feb 11 09:38:33 UTC 2020


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 <M at rtinWeise.de>:
>>>>>
>>>>>>> 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



More information about the lyx-users mailing list