General ⇒ "Generate Output" crashes when using \\ in caption
"Generate Output" crashes when using \\ in caption
when I try to generate a pdf file (or dvi or whatever) and I accidentally used \\ (instead of \newline) in a caption the generator crashes without any error message. Afterwards it is impossible to generate any output again, even if I corrected the above mentioned mistake.
The last line in the output console in this case is always "Underfull \hbox (badness 10000) has occurred while \output is active". I don't know if this has anything to do with my problem.
The only chance to rebuild the project is to delete all the TeXnicCenter project files and to create a new project, which sometimes is quite annoying.
The error is repeatable.
Questions:
a) Does anyone else experienced such a problem ?
b) Any suggestions for repairing my broken project ?
c) What do the project files (.aux, .bbl, .blf, .blf,...) contain ? Which ones are safe to delete, which ones should be kept ?
Thanks very much,
Dirk
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
Re: "Generate Output" crashes when using \\ in caption
It's the .lof file containing the list of figures (the errorneous caption-statement was contained in a figure-declaration). Though it does not look as if it's contents are scrambled, removing the file (and let the file been rebuilt by TeXnicCenter) solved the problem.
I propose to move this post to the developer section, since it seems as if this problem is programmatically solvable.
Thanks anyway.
Dirk
"Generate Output" crashes when using \\ in caption
Mahatma wrote: c) What do the project files (.aux, .bbl, .blf, .blf,...) contain ? Which ones are safe to delete, which ones should be kept ?
Dirk
There is a very nice feature in TeXnicCenter, that cleans up your project/folder. You don't have to think about, what to delete, it'll all be done for you.
Look for View --> cleaning project (or something like that), it's save and works properly.