%%
%% This is file `logbox.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% logbox.dtx  (with options: `package')
%% 
%% This is a generated file.
%% 
%% logbox : 2011/03/26 v1.0 - e-TeX showbox facilities (FC)
%% 
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
%% version 1.3 of this license or (at your option) any later
%% version. The latest version of this license is in
%%    http://www.latex-project.org/lppl.txt
%% 
%% This work consists of the main source file logbox.dtx
%% and the derived files:
%%                 logbox.sty, logbox.ins, logbox.drv,
%%         and:                logbox.pdf
%% 
%% logbox : 2011/03/26 v1.0 - e-TeX showbox facilities (FC)
%% Copyright (C) 2011 by FC <florent.chervet @t free.fr>
%% 
\NeedsTeXFormat{LaTeX2e}[2005/12/01]
\ProvidesPackage{logbox}
         [2011/03/26 v1.0 - e-TeX showbox facilities for exploration (FC)]
\protected\def\logbox {\begingroup \afterassignment\logb@x@log \count@ }
\def\logb@x@log {\ifnum\tracingoutput>0 \ifnum\showboxdepth<2 \showboxdepth=2 \fi
                                        \ifnum\showboxbreadth<10 \showboxbreadth=10 \fi
                 \else \showoutput \fi
    \message {^^Jlogbox: \the\count@ \on@line^^J}\expandafter \scrollmode
                            \expandafter \showbox \expandafter \count@ \expandafter
                                        \interactionmode\the\interactionmode \endgroup
}% \logb@x@log
\protected\def\dimbox {\begingroup \afterassignment\logb@x@dim \count@ }
\def\logb@x@dim {\nfss@text
   {\ifhbox\count@ hbox\else\ifvbox\count@ vbox\else box\fi\fi
    \the\count@: \ifvoid\count@ void\else wd=\the\wd\count@\
                                          ht=\the\ht\count@\
                                          dp=\the\dp\count@\
                            tot=\the\dimexpr\ht\count@ +\dp\count@ \relax\fi }\endgroup
}% \logb@x@dim
\protected\def\viewbox {\begingroup \@ifstar
        {\def\logb@x@ {\@@par\copy\count@ }\afterassignment\logb@x@view \count@ }
        {\let\logb@x@ \relax \afterassignment\logb@x@view \count@ }}
\def\logb@x@view {\dimbox\count@ \logb@x@ \logb@x@log }
\protected\def\Viewbox  {\@ifstar \logb@x@View \logb@x@View }
\long\def\logb@x@View #1{\begingroup \setbox0=\hbox {{#1}}\viewbox*0\endgroup }
\def\ShowGroups {\expandafter \scrollmode \expandafter \showgroups \expandafter
                                    \interactionmode\the\interactionmode \relax }
\def\ShowLists {\expandafter \scrollmode \expandafter \showlists \expandafter
                                    \interactionmode\the\interactionmode \relax }
\def\ShowIfs {\expandafter \scrollmode \expandafter \showifs \expandafter
                                    \interactionmode\the\interactionmode \relax }
\endinput
%%
%% End of file `logbox.sty'.
