Umgang mit \showboxbreadth und \showboxdepth

Layout von Seiten, Rändern, Fusszeilen, usw, modifizieren


Xodarap
Forum-Anfänger
Forum-Anfänger
Beiträge: 12
Registriert: Sa 3. Okt 2015, 12:42

Umgang mit \showboxbreadth und \showboxdepth

Beitrag von Xodarap »

Moin!
Ich hole etwas weiter aus.
Und zwar arbeite ich nun schon einige Zeit mit Latex und sorge immer dafür, dass jede einzige Warnung behoben wird (eigener Ehrgeiz und ich glaube so lernt man am besten den effizienten Umgang mit Latex).

Nach lange Zeit habe ich nun mal wieder eine underfull vbox (badness 2037). Auch die soll ich natürlich weg.

Es ist so, dass ich ein Kapitel geschrieben habe (seperate .tex datei), welches ich jetzt in mein "main" dokument einbinde (mit \include).
Kompiliere ich das Kapitel einzeln (mit dem selben Header) gibt es keine Warnung. Kompiliere ich "main" gibt es diese eine Warnung.
Vor und hinter diesem neuen Kapitel gibt es auch text. irgendwo wird also irgendwas verschoben oder ungünstig formatiert.

Ich gehe deshalb aus, dass an dieser Stelle ein minimalbeispiel nicht sonderlich hilft, da dort natürlich der Fehler nicht mehr auftritt.

Ich habe nun viel recherchiert was mir helfen könnte.
Am liebsten hätte ich ein Package, welches mir sämtliche boxen anzeigt um danach eine diagnose durchführen zu können.
Habe bisher aber nur gefunden, dass es sowas für Lua Latex gibt (Umstieg kommt nicht in Frage).
Eine weitere Möglichkeit die ich gefunden habe sind die Befehle:

\showboxbreadth=50
\showboxdepth=50

Ich bekomme damit nun im Log nach der Warnungsmeldung deutlich mehr Informationen, die es nun zu entschlüsseln gilt.

Kann mir jemand helfen die folgenden Zeilen zu entschlüsseln?
Oder hat jemand eine bessere Methode ans Ziel zukommen?
Denn ansonsten würde ich das Dokument zuende schreiben, ich gehe davon aus, dass diese Warnung auch wieder verschwindet, sobald noch mehr text dazu kommt.

Ich brauche also keine Hilfe die Warnung loszuwerden, sondern wünsche mir vielmehr Rat in der Hinsicht, ob es möglich geht mit Hilfe dieses LOGfiles eine Diagnose durchzuführen oder aber ob es andere, bessere Möglichkeiten gibt.

Vielen Dank im Vorraus!
LOG FILE :
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (MiKTeX 2.9 64-bit) (preloaded format=pdflatex 2016.2.18) 31 MAY 2016 08:33
entering extended mode

Package tocbasic Info: character protrusion at toc deactivated on input line 11
1.
(main.toc
Underfull \vbox (badness 2073) has occurred while \output is active
\vbox(717.00946+0.0)x441.01773, glue set 2.74757
.\write-{}
.\pdfcolorstack 0 push {0 g 0 G}
.\glue(\topskip) 0.0
.\hbox(12.00009+0.0)x441.01773, glue set 151.61514fil
..\hbox(0.0+0.0)x0.0
...\glue 0.0
..\hbox(0.0+0.0)x0.0
...\kern 0.0
...\penalty 10000
...\hbox(0.0+0.0)x0.0
....\hbox(0.0+0.0)x0.0, shifted -22.0
.....\pdfdest name{section*.5} xyz
.....\penalty 10000
...\glue 0.0 plus 1.0fil minus 1.0fil
..\T1/lmss/bx/n/17.28 I
..\T1/lmss/bx/n/17.28 n
..\T1/lmss/bx/n/17.28 h
..\T1/lmss/bx/n/17.28 a
..\T1/lmss/bx/n/17.28 l
..\T1/lmss/bx/n/17.28 t
..\T1/lmss/bx/n/17.28 s
..\T1/lmss/bx/n/17.28 v
..\T1/lmss/bx/n/17.28 e
..\T1/lmss/bx/n/17.28 r
..\T1/lmss/bx/n/17.28 z
..\T1/lmss/bx/n/17.28 e
..\T1/lmss/bx/n/17.28 i
..\T1/lmss/bx/n/17.28 c
..\T1/lmss/bx/n/17.28 h
..\T1/lmss/bx/n/17.28 n
..\T1/lmss/bx/n/17.28 i
..\T1/lmss/bx/n/17.28 s
..\penalty 10000
..\glue(\parfillskip) 0.0 plus 1.0fil
..\glue(\rightskip) 0.0 plus 1.0fil
.\pdfcolorstack 0 pop
.\penalty 10000
.\mark{{\protect \foreignlanguage {ngerman}{\protect \bbl@restore@actives In\ET
C.}
.\penalty 10000
.\penalty 0
.\glue 11.88335 plus 1.03331
.\glue -11.88335 plus -1.03331
.\glue 11.88335 plus 2.03331
.\glue(\parskip) 0.0
.\glue(\baselineskip) 6.1666
.\hbox(8.3334+2.33331)x441.01773, glue set 303.57062fill
..\glue(\leftskip) 17.62474
..\hbox(0.0+0.0)x0.0
..\penalty 10000
..\glue -17.62474
..\pdfcolorstack 0 push {0 g 0 G}
..\pdfstartlink(*+*)x* attr{/Border[0 0 0]/H/I/C[1 0 0]} action goto name{secti
on*.5}
..\T1/lmss/bx/n/12 A
..\T1/lmss/bx/n/12 b
..\T1/lmss/bx/n/12 b
..\T1/lmss/bx/n/12 i
..\T1/lmss/bx/n/12 l
..\T1/lmss/bx/n/12 d
..\T1/lmss/bx/n/12 u
..\T1/lmss/bx/n/12 n
..\T1/lmss/bx/n/12 g
..\T1/lmss/bx/n/12 s
..\T1/lmss/bx/n/12 v
..\T1/lmss/bx/n/12 e
..\T1/lmss/bx/n/12 r
..\T1/lmss/bx/n/12 z
..\T1/lmss/bx/n/12 e
..\T1/lmss/bx/n/12 i
..\T1/lmss/bx/n/12 c
..\T1/lmss/bx/n/12 h
..\T1/lmss/bx/n/12 n
..\T1/lmss/bx/n/12 i
..\T1/lmss/bx/n/12 s
..\pdfendlink
..\penalty 10000
..\glue 0.0 plus 1.0fill
..\penalty 10000
..\hbox(8.3334+0.0)x18.21227, glue set 11.61227fil
...\glue 0.0 plus 1.0fil minus 1.0fil
...\T1/lmss/bx/n/12 6
..\penalty 10000
..\glue(\parfillskip) -18.21227
..\glue(\rightskip) 18.21227
.\pdfcolorstack 0 pop
.\penalty 20008
.\penalty -300
.\glue 11.74983 plus 1.0
.\glue(\parskip) 0.0
.\glue(\baselineskip) 3.83328
.\hbox(8.3334+0.0)x441.01773, glue set 317.59714fill
..\glue(\leftskip) 17.62474
..\hbox(0.0+0.0)x0.0
..\hbox(0.0+0.0)x0.0
..\penalty 10000
..\glue -17.62474
..\pdfcolorstack 0 push {0 g 0 G}
..\pdfstartlink(*+*)x* attr{/Border[0 0 0]/H/I/C[1 0 0]} action goto name{secti
on*.6}
..\T1/lmss/bx/n/12 T
..\kern-1.1
..\T1/lmss/bx/n/12 a
..\T1/lmss/bx/n/12 b
..\kern0.36667
..\T1/lmss/bx/n/12 e
..\T1/lmss/bx/n/12 l
..\T1/lmss/bx/n/12 l
..\T1/lmss/bx/n/12 e
..\T1/lmss/bx/n/12 n
..\T1/lmss/bx/n/12 v
..\T1/lmss/bx/n/12 e
..\T1/lmss/bx/n/12 r
..\T1/lmss/bx/n/12 z
..\T1/lmss/bx/n/12 e
..\T1/lmss/bx/n/12 i
..\T1/lmss/bx/n/12 c
..\T1/lmss/bx/n/12 h
..\T1/lmss/bx/n/12 n
..\T1/lmss/bx/n/12 i
..\T1/lmss/bx/n/12 s
..\pdfendlink
..\penalty 10000
..\glue 0.0 plus 1.0fill
..\penalty 10000
..\hbox(8.3334+0.0)x18.21227, glue set 11.61227fil
...\glue 0.0 plus 1.0fil minus 1.0fil
...\T1/lmss/bx/n/12 6
..\penalty 10000
..\glue(\parfillskip) -18.21227
..\glue(\rightskip) 18.21227
.\pdfcolorstack 0 pop
.\penalty 20008
.\penalty -300
.\glue 11.74983 plus 1.0
.\glue(\parskip) 0.0
.\glue(\baselineskip) 6.1666
.\hbox(8.3334+2.33331)x441.01773, glue set 327.48636fill
..\glue(\leftskip) 17.62474
..\hbox(0.0+0.0)x0.0
..\hbox(0.0+0.0)x0.0
..\penalty 10000
..\glue -17.62474
..\pdfcolorstack 0 push {0 g 0 G}
..\pdfstartlink(*+*)x* attr{/Border[0 0 0]/H/I/C[1 0 0]} action goto name{secti
on*.7}
..\T1/lmss/bx/n/12 L
..\T1/lmss/bx/n/12 i
..\T1/lmss/bx/n/12 s
..\T1/lmss/bx/n/12 t
..\T1/lmss/bx/n/12 i
..\T1/lmss/bx/n/12 n
..\T1/lmss/bx/n/12 g
..\T1/lmss/bx/n/12 v
..\T1/lmss/bx/n/12 e
..\T1/lmss/bx/n/12 r
..\T1/lmss/bx/n/12 z
..\T1/lmss/bx/n/12 e
..\T1/lmss/bx/n/12 i
..\T1/lmss/bx/n/12 c
..\T1/lmss/bx/n/12 h
..\T1/lmss/bx/n/12 n
..\T1/lmss/bx/n/12 i
..\T1/lmss/bx/n/12 s
..\pdfendlink
..\penalty 10000
..\glue 0.0 plus 1.0fill
..\penalty 10000
..\hbox(8.3334+0.0)x18.21227, glue set 11.61227fil
...\glue 0.0 plus 1.0fil minus 1.0fil
...\T1/lmss/bx/n/12 6
..\penalty 10000
..\glue(\parfillskip) -18.21227
..\glue(\rightskip) 18.21227
.\pdfcolorstack 0 pop
.\penalty 20008
.\penalty -300
.\glue 26.43712 plus 1.0
.\glue(\parskip) 0.0
.\glue(\baselineskip) 5.66661
.\hbox(10.00008+2.79997)x441.01773, glue set 321.5267fil
..\glue(\leftskip) 23.49966
..\hbox(0.0+0.0)x0.0
..\glue -23.49966
..\pdfcolorstack 0 push {0 g 0 G}
..\pdfstartlink(*+*)x* attr{/Border[0 0 0]/H/I/C[1 0 0]} action goto name{part.
1}
..\hbox(10.00008+0.0)x23.49966, glue set 14.33986fil
...\T1/lmss/bx/n/14.4 I
...\T1/lmss/bx/n/14.4 .
...\glue 0.0 plus 1.0fil
..\T1/lmss/bx/n/14.4 E
..\T1/lmss/bx/n/14.4 i
..\T1/lmss/bx/n/14.4 n
..\T1/lmss/bx/n/14.4 f
..\T1/lmss/bx/n/14.4 �
..\T1/lmss/bx/n/14.4 h
..\T1/lmss/bx/n/14.4 r
..\T1/lmss/bx/n/14.4 u
..\T1/lmss/bx/n/14.4 n
..\T1/lmss/bx/n/14.4 g
..\pdfendlink
..\penalty 10000
..\glue 0.0 plus 1.0fil
..\penalty 10000
..\hbox(10.00008+0.0)x24.55203, glue set 16.63203fil
...\glue 0.0 plus 1.0fil minus 1.0fil
...\T1/lmss/bx/n/14.4 7
..\penalty 10000
..\glue(\parfillskip) -18.21227
..\glue(\rightskip) 18.21227
.\pdfcolorstack 0 pop
.\penalty 20010
.\glue 11.74983 plus 1.0
.\glue(\parskip) 0.0
.\glue(\baselineskip) 3.36662
.\hbox(8.3334+2.33331)x441.01773, glue set 342.88196fill
..\glue(\leftskip) 17.62474
..\hbox(0.0+0.0)x0.0
..\hbox(0.0+0.0)x0.0
..\penalty 10000
..\glue -17.62474
..\pdfcolorstack 0 push {0 g 0 G}
..\pdfstartlink(*+*)x* attr{/Border[0 0 0]/H/I/C[1 0 0]} action goto name{secti
on.1}
..\hbox(8.3334+0.0)x17.62474, glue set 7.35815fil
...\T1/lmss/bx/n/12 1
...\T1/lmss/bx/n/12 .
...\glue 0.0 plus 1.0fil
..\T1/lmss/bx/n/12 G
..\T1/lmss/bx/n/12 r
..\T1/lmss/bx/n/12 u
..\T1/lmss/bx/n/12 n
..\T1/lmss/bx/n/12 d
..\T1/lmss/bx/n/12 l
..\T1/lmss/bx/n/12 a
..\T1/lmss/bx/n/12 g
..\T1/lmss/bx/n/12 e
..\T1/lmss/bx/n/12 n
..\pdfendlink
..\penalty 10000
..\glue 0.0 plus 1.0fill
..\penalty 10000
..\hbox(8.3334+0.0)x18.21227, glue set 11.61227fil
...\glue 0.0 plus 1.0fil minus 1.0fil
...\T1/lmss/bx/n/12 8
..\penalty 10000
..\glue(\parfillskip) -18.21227
..\glue(\rightskip) 18.21227
.\pdfcolorstack 0 pop
.\penalty 20008
.\glue 0.0 plus 0.2
.\glue(\parskip) 0.0
.\glue(\baselineskip) 3.9002
.\hbox(8.26648+0.0)x441.01773, glue set 308.08221fill
..\glue(\leftskip) 44.64938
..\hbox(0.0+0.0)x17.62474
..\hbox(0.0+0.0)x0.0
..\penalty 10000
..\glue -44.64938
..\pdfstartlink(*+*)x* attr{/Border[0 0 0]/H/I/C[1 0 0]} action goto name{subse
ction.1.1}
..\hbox(7.55675+0.0)x27.02464, glue set 8.74669fil
...\T1/lmr/m/n/12 1
...\T1/lmr/m/n/12 .
...\T1/lmr/m/n/12 1
...\T1/lmr/m/n/12 .
...\glue 0.0 plus 1.0fil
..\T1/lmr/m/n/12 P
..\T1/lmr/m/n/12 u
..\T1/lmr/m/n/12 l
..\T1/lmr/m/n/12 s
..\T1/lmr/m/n/12 o
..\kern-0.3264
..\T1/lmr/m/n/12 x
..\T1/lmr/m/n/12 i
..\T1/lmr/m/n/12 m
..\T1/lmr/m/n/12 e
..\T1/lmr/m/n/12 t
..\T1/lmr/m/n/12 r
..\T1/lmr/m/n/12 i
..\T1/lmr/m/n/12 e
..\pdfendlink
..\penalty 10000
..\leaders 0.0 plus 1.0fill
...\hbox(1.16666+0.0)x9.2639
....\mathon
....\kern 2.99995
....\hbox(1.16666+0.0)x3.26399
.....\T1/lmr/m/n/12 .
....\kern 2.99995
....\mathoff
..\penalty 10000
..\hbox(7.55675+0.0)x18.21227, glue set 12.33728fil
...\glue 0.0 plus 1.0fil
...\pdfcolorstack 0 push {0 g 0 G}
...\T1/lmr/m/n/12 8
..\pdfcolorstack 0 pop
..\penalty 10000
..\glue(\parfillskip) -29.9621
..\glue(\rightskip) 29.9621
.\penalty 20007
.\glue 0.0 plus 0.2
.etc.
Package babel Info: Redefining ngerman shorthand "|
(babel) in language on input line 77.
Package babel Info: Redefining ngerman shorthand "~
(babel) in language on input line 77.
Package babel Info: Redefining ngerman shorthand "|
(babel) in language on input line 77.
Package babel Info: Redefining ngerman shorthand "~
(babel) in language on input line 77.
[4
])

Output written on main.pdf (34 pages, 13222202 bytes).
PDF statistics:
611 PDF objects out of 1000 (max. 8388607)
120 named destinations out of 1000 (max. 500000)
16949 words of extra memory for PDF output out of 17280 (max. 10000000)