It's the documentation that has the bug. With \startnarrow, you need two sets 
of square brackets, 1 for the \setupnarrower data and 1 for the \startnarrower 
data. Like this:

\starttext
Some text before
\startnarrow[left=5cm,right=1cm,before={\blank[2*line]},after={\blank[halfline]}][left,
 right]
narrower text
\stopnarrow
some text after
\stoptext

> On 23/02/2023, at 11:14 PM, Denis Maier via ntg-context <ntg-context@ntg.nl> 
> wrote:
> 
> Hi,
>  While doing some more tests with my example from yesterday (tables in 
> \startnarrow), I’ve realized that the example from the wiki doesn’t seem to 
> quite work as expected:
>  %%%%%%%%%%%%%%%%%%
> \starttext
> Some text before
> \startnarrow[left=2cm,right=1cm,before={\blank[2*line]},after={\blank[halfline]}]
> narrower text
> \stopnarrow
> some text after
> \stoptext
> %%%%%%%%%%%%%%%%%%
>  Already here, the extra margins on both sides seem to be equal. Changing the 
> size of the left extra margin has no effect at all.
>  %%%%%%%%%%%%%%%%%%
> \starttext
> \startnarrow[left=10cm,right=2cm]
> \input ward
> \stopnarrow
>  but:
>  \setupnarrower[left=5cm, right=2cm]
> \startnarrower[left,right]
> \input ward
> \stopnarrower
> \stoptext
> %%%%%%%%%%%%%%%%%%
>  Is this a bug or intended behaviour ?
>  Best,
> Denis
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / 
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : https://contextgarden.net
> ___________________________________________________________________________________


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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

Reply via email to