[NTG-context] \startalignment

Hans Hagen pragma at wxs.nl
Tue Jan 12 22:18:00 CET 2016


On 1/12/2016 9:43 PM, Alan BRASLAU wrote:
> On Tue, 12 Jan 2016 21:07:38 +0100
> Hans Hagen <pragma at wxs.nl> wrote:
>
>>>> The startalignment applies to the preceding text, too. Strange...
>>> It’s a normal behaviour for TeX, the question is should
>>> \startalignment end the previous paragraph or not.
>>
>> when tex breaks a paragraph into lines the current values of relevant
>> parameters is used (left and right skips, spacing, etc)
>
> I guess that I do not know TeX well-enough to understand why your
> MWE below gives different line breaks.
>
> \starttext
>
> \bgroup \raggedright \input tufte \par \egroup
>
> \bgroup \raggedright \input tufte \egroup \par
>
> \stoptext

because the par builder kicks in when \par is issued so when that 
happens after teh group the settings for left/rightskip used are not the 
one inside the group

Hans


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