PDF export fails with pdflatex and LuaTeX

Paul A. Rubin parubin73 at gmail.com
Tue Feb 11 15:09:30 UTC 2020


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 <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
>
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



More information about the lyx-users mailing list