Alan Stone wrote:
On Thu, Mar 5, 2009 at 5:09 PM, Hans Hagen
wrote: Thanks Wolfgang, however I'm looking for a solution without adding additional commands to the text source.
Requires to switch to the LuaTeX list ?
Alan Stone wrote: that does not help you as taco and i are on both lists
i can imagine that mkiv at some point privides something but it needs way more thinking (we have this end of par problem since ages) if only because what you see as end of par might actually be just before the final skips that ends a par
something everyendpar is on our todo list but later in the luatex project
Hans
Ok.
In the meantime, an idea - for what it's worth...
Would it be possible to somehow, in the typesetting process, dummy typeset the first paragraph of each chapter (in memory or in a dummy output file) to determine whether its number of lines = 1 or > 1, or determine its total number of lines, and work from there ?
a luatex/mkiv solution is actually rather simple but i'm in the middle of math stuff so it has to wait some time Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------