Thanks Wolfgang. Digging into some TeX books to understand how and why these fixes work...
Alan On Tue, Mar 10, 2009 at 6:32 PM, Wolfgang Schuster < schuster.wolfg...@googlemail.com> wrote: > > 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 >
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________