LyXLyX compilation takes forever?

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
lyxer
Posts: 47
Joined: Mon May 10, 2010 5:17 pm

LyX compilation takes forever?

Post by lyxer »

Hello,

I have a problem when compiling a document in Lyx. First of all, this problem occurs only with
beamer documents, documents of type article compile fine. Whenever I compile
the beamer file I get "The command pdflatex 'document name' has not yet completed. Do you want
to stop it?". If I click "Let it run" I get the same message again, and if I click "stop it" it doesn't stop.
So, I have to force quit Lyx. The problem is that previously (a few months ago) everything worked fine.

I'm using Acrobat Reader DC with Lyx 2.2.3 on Windows 10. I tried switching to SumatraPDF but the problem
still persists especially with large beamer documents.

What seems to be the problem? Any suggestion on how to fix it? Is there anything I can do with the settings?


Saleh
Last edited by lyxer on Thu Feb 22, 2018 10:40 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

LyX compilation takes forever?

Post by Johannes_B »

Export to LaTeX and compile from the command line, 8 guess you are missing packages.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
lyxer
Posts: 47
Joined: Mon May 10, 2010 5:17 pm

LyX compilation takes forever?

Post by lyxer »

I exported it to Latex and opened it in winedt. While compiling it stopped and gave the
following messages, which I'm not sure what they mean exactly. I'm attaching the error message
which refers to lines 352 and 372. I'm also attaching part of the code that includes these two lines.
Attachments
code.png
code.png (195.24 KiB) Viewed 6323 times
err_msg.png
err_msg.png (61.33 KiB) Viewed 6323 times
lyxer
Posts: 47
Joined: Mon May 10, 2010 5:17 pm

LyX compilation takes forever?

Post by lyxer »

Update:

I think it's working now. I commented the lines in winedt and the file compiled just fine.
So, I removed the whole frame corresponding to these lines from Lyx and it compiled fine.
I guess there was an error because of the overprints and list I used previously. Although I don't
know what the error was, I'm happy it's working now. I'll check the other beamer files.

Thanks for the hint of Exporting to Latex Johannes_B.
Post Reply