> -----Ursprüngliche Nachricht----- > Von: peter.hopcr...@icloud.com <peter.hopcr...@icloud.com> > Gesendet: Donnerstag, 23. Februar 2023 21:15 > An: mailing list for ConTeXt users <ntg-context@ntg.nl> > Cc: Maier, Denis Christian (UB) <denis.ma...@unibe.ch> > Betreff: Re: [NTG-context] Bug with \startnarrow? > > 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[halfli > ne]}][left, right] narrower text \stopnarrow some text after \stoptext
Thanks, good to know. I'll update the documentation. Best, Denis > > > On 23/02/2023, at 11:14 PM, Denis Maier via ntg-context <ntg- > cont...@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 ___________________________________________________________________________________