views:

172

answers:

1

I'm currently working on a parser that reads complete LaTeX logs. Most of the log format is, though weird, easy to figure out, but these square brackets are puzzling me. Here's an example from near the end of one of my logs:

Overfull \hbox (10.88788pt too wide) in paragraph at lines 40--40
[]$[]$ 
 []

[102]) [103]
Kapitel 14.
(./Thermo-141-GrenzenFundamentalpostulat.tex [104

])
(./Thermo-142-Mastergleichung.tex [105]) (./Thermo-143-HTheorem.tex [106pdfTeX 
warning (ext4): destination with the same identifier (name{equation.14.3.3}) ha
s been already used, duplicate ignored

Can anybody give me a hint what these square brackets mean? I can't see any structure in them.

I have the suspicion that lines 2/3 above are some kind of ASCII art representing the box layout, though I know too less about badboxes to justify this or identify the meaning of the single characters.

Then, the "[104" etc. seem to correspond to the page numbers, but I am still not seeing the reason why there is sometimes something inbetween the square brackets (like the pdfTeX warning above), and sometimes not.

+1  A: 

As told in the comments []$[]$ means that Tex want to tell you that something takes too much horizontal space (Overfull \hbox). It tries to print the offending boxes, but fails, as those seem to be formulas, which can't be printed in normal text. If the same error would occur with normal text, you would get that text inside square brackets as a hint, where Tex thinks it can break your text.

As for the numbers inside square brackets, those are the page numbers. In your example Tex got your text set until page 102, where it got problems with a too wide formula.

For more information about reading the log files of Tex try the following website.

ablaeul
Thanks for the hints. I think I've got it mostly working, at least for my purposes. -> http://gitorious.org/lamake/
Stefan Majewsky