PDF export fails with pdflatex and LuaTeX

Martin Weise M at rtinWeise.de
Tue Feb 11 09:47:45 UTC 2020

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


More information about the lyx-users mailing list