Am 09.04.2009 um 23:44 schrieb luigi scarso:
\unprotect% \currentlayerheight=\dimexpr\csname @@llTicketSummaryheight\endcsname \relax% \currentlayerwidth=\dimexpr\csname @@llTicketSummarywidth\endcsname \relax% \protect%
why unprotect/protect and why so many '%'? \edef\currentlayerheight{\csname @@llTicketSummaryheight\endcsname}% \edef\currentlayerwidth {\csname @@llTicketSummarywidth\endcsname}%
\setbox\Content=\vbox{\hsize=\currentlayerwidth% \bold{Client Name:} \\ Acme Corporation \\ \bold{Location of Work:} Main warehouse }% \ht\Content=\currentlayerheight%
why not \vbox to \currentlayerheight
! You can't use `\dimexpr' in restricted horizontal mode. l.12 \currentlayerheight=\dimexpr \csname @@llTicketSummaryheight \endcsname\r... ?
\newdimen checks for the existence of a control sequence Wolfgang