Am 10.03.2009 um 18:14 schrieb Alan Stone:
I still say it's not a very good idea to do this
In order to make an informed decision, what are you refering to Wolfgang ?
Your \EveryPar hackery.
What is it about it that it's a bad idea ?
Who knows, it could work or fail in a few cases.
I apologize for my ignorance, I'm still confused with this one (see attachments)...
Why?
(step 3: ...) is typeset one first paragraph too far.
\def\doCountLines#1\par{% \begingroup \setbox\scratchbox\vbox{#1\par}% \getnoflines{\htdp\scratchbox}% \global\parlines=\noflines\relax % (step 2: P\space\the\parnumber, \the\parlines\space L) \ifnum \parlines = 1 (step 3: P\space \the\parnumber, \the\parlines\space L)% \fi \endgroup#1\par} Wolfgang