| 1 |
Package: logbox - e-TeX showbox facilities (FC) |
| 2 |
------------------------------------------------------------- |
| 3 |
logbox provides facilities to display the contents of boxes in |
| 4 |
the log file or print them with their dimensions in the final |
| 5 |
document. |
| 6 |
|
| 7 |
For "exploration purpose". |
| 8 |
|
| 9 |
The TeX primitive \showbox stops the compilation. |
| 10 |
Looking at the box contents requires to set the \showboxbreadth |
| 11 |
and \showboxdepth parameters accordingly. |
| 12 |
|
| 13 |
logbox.sty sets those parameters, the \interactionmode is temporarily |
| 14 |
set so that the compilation don't stop and the box description can |
| 15 |
finally be explored in the .log file. |
| 16 |
|
| 17 |
As a tracing command, \logbox also works in harmony with the tracing |
| 18 |
parameter: \tracingoutput. |
| 19 |
|
| 20 |
|
| 21 |
Commands provided: |
| 22 |
|
| 23 |
\logbox : TeX \showbox without stop in the compilation |
| 24 |
+ \showboxbreadth >= 10 |
| 25 |
+ \showboxdepth >= 10 |
| 26 |
|
| 27 |
\dimbox : typeset the type (hbox, vbox or void) of the box |
| 28 |
and its dimensions in the document. |
| 29 |
|
| 30 |
\viewbox : \dimbox + \logbox |
| 31 |
\viewbox* : \dimbox + \logbox + inserts the box in the document |
| 32 |
|
| 33 |
\Viewbox : same as \viewbox but the argument is the box contents |
| 34 |
rather than the box register. |
| 35 |
|
| 36 |
\ShowGroups : e-TeX \showgroups without stop in the compilation. |
| 37 |
|
| 38 |
\ShowLists : e-TeX \showlists without stop in the compilation. |
| 39 |
|
| 40 |
\ShowIfs : e-TeX \showifs without stop in the compilation. |
| 41 |
|
| 42 |
|
| 43 |
|
| 44 |
Copyright (C) 2011 by FC ------------------------------------ |