>> How do you invoke a command at the end of a paragraph ?
>
> there is no hook for that (apart from adding a \endofpar command or whatever
> to every paragraph

>From "TeX for the Impatient"...

-----------------------------------------------
\prevgraf [ <number> parameter ]
In horizontal mode, this parameter specifies the number of lines in the
paragraph so far; in vertical mode, it specifies the number of lines in
the previous paragraph.
-----------------------------------------------

After giving it some further thought and with reference to "specifies
the number of lines in the
paragraph so far", I don't need to know the paragraph's number of
lines but whether its "number of lines" = 1 or not.

Alan
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to