## LaTeX forum ⇒ General ⇒ "Generate Output" crashes when using \\ in caption

General information and discussion about TeXnicCenter
Mahatma
Posts: 2
Joined: Mon Mar 05, 2007 3:26 pm

### "Generate Output" crashes when using \\ in caption

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

Mahatma
Posts: 2
Joined: Mon Mar 05, 2007 3:26 pm
I finally found the file, responsible for the crash.
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

Void
Posts: 11
Joined: Mon Mar 12, 2007 3:00 pm
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.
No or not enough coffee, user halted.