LyXProblems generating PDF

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
Philipp
Posts: 4
Joined: Mon Mar 18, 2013 2:39 pm

Problems generating PDF

Post by Philipp »

Hi,

I frequently have problems generating PDF. And honestly, I don't know how to deal with the error-descriptions. It seems to me that they don't refer at all to what I typed last time. For example, the latest runs like the following:

Code: Select all

 ...doitem {{Derrida}{Jacques}{J.}{}{}} {} {}
                                                  
I've run across a `}' that doesn't seem to match anything.
For example, `\def\a#1{...}' and `\a}' would produce
this error. If you simply proceed now, the `\par' that
I've just inserted will cause me to report a runaway
argument that might be the root of the problem. But if
your `}' was spurious, just type `2' and it will go away.

Can anybody advise me what to do about this and similar errors generating PDF? I'd be very glad, because it's the last few month of my PHD and I really feel stressed about it..

Phil
Last edited by cgnieder on Tue Mar 19, 2013 1:24 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.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Problems generating PDF

Post by cgnieder »

Hi Philipp,

Welcome to the LaTeX community!

Would you mind adding a Infominimal working example that illustrates your problem, please? It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}.

Regards
site moderator & package author
Philipp
Posts: 4
Joined: Mon Mar 18, 2013 2:39 pm

Re: Problems generating PDF

Post by Philipp »

Hi Clemens, I even don't know how to do a minimal working example in Lyx. Can you help?
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Problems generating PDF

Post by cgnieder »

I'll quote myself from another post:
cgnieder wrote:[...] the standard way of getting a minimal working example: save the file that throws the error under a new name and start deleting the code/the document text until the error disappears. Then reinsert the last part you deleted (which must cause the error) and continue with the rest of the code in the same way until you get a minimal version causing the error. If you're lucky you'll be able to identify and correct the erroneous part yourself.
Regards
site moderator & package author
Philipp
Posts: 4
Joined: Mon Mar 18, 2013 2:39 pm

Re: Problems generating PDF

Post by Philipp »

Hi Clemens, that's the point, I simply don't know where in my 130 pages document the error is..
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Problems generating PDF

Post by cgnieder »

I get that, but neither can anyone of us know where the error is. All of us do the same thing when we don't know where to look: start deleting stuff until we get an idea what's causing the error or where to start looking. The only other advice I have is to look into the log file and look for the first error message. If you're lucky there's a line number referring to the respective line of the TeX source where the error occurs.

Regards
site moderator & package author
Philipp
Posts: 4
Joined: Mon Mar 18, 2013 2:39 pm

Re: Problems generating PDF

Post by Philipp »

Ok, thanks!
Post Reply