[NTG-context] Length range control of the last line of paragraph

Hans Hagen pragma at wxs.nl
Tue Mar 22 14:31:06 CET 2016


On 3/22/2016 11:54 AM, Hans Hagen wrote:
> On 3/21/2016 8:14 PM, Jan Tosovsky wrote:
>> Dear All,
>>
>> when paragraphs are separated by indenting the first line (instead of an
>> empty line), these rules should be followed:

a next beta will provide three new keywords (related to n times 
parindent filling, fwiw)

\starttext

\dontcomplain

\setupindenting[big] \indenting[yes]

\edef\ward{\cldloadfile{ward}}

\setupalign[verytolerant,stretch]

\dorecurse{100}{
     \startnarrower[left] \setupalign[four]  4>\the\parfillskip \ward 
\par \stopnarrower
     \startnarrower[left] \setupalign[three] 3>\the\parfillskip \ward 
\par \stopnarrower
     \startnarrower[left] \setupalign[two]   2>\the\parfillskip \ward 
\par \stopnarrower
     \page
}

\stoptext

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list