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

On Thu, Mar 5, 2009 at 2:44 PM, Wolfgang Schuster
<[email protected]> wrote:
>
> Am 05.03.2009 um 14:25 schrieb Alan Stone:
>
>> 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.
>
>
> You can test whether the last paragraph had 1 or more lines and make
> your decision dependent on the result but this can be done only after
> the paragraph ist finished.
>
> \def\paragraphlines
>  {\blank % Finish the last paragraph
>   \ifnum\prevgraf=1 What I want.\else Too many lines.\fi
>   \blank}
>
> \starttext
>
> \dorecurse{30}{text }\paragraphlines
>
> \dorecurse{10}{text }\paragraphlines
>
> \dorecurse{50}{text }\paragraphlines
>
> \stoptext
>
> Wolfgang
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : [email protected] /
> 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
> ___________________________________________________________________________________
>



-- 
Alan
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 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