[NTG-context] prevent indent after usage of defined itemgroup

Mikael P. Sundqvist mickep at gmail.com
Mon Oct 3 14:45:20 CEST 2016


On Mon, Oct 3, 2016 at 2:40 PM, Otared Kavian <otared at gmail.com> wrote:
> Hi Mikael,
>
> I don’t feel you ask weird questions at all… As far as I am concerned, when I cannot help answer a question I don’t reply, but usually I test what you send.
>
> Regarding what you are mentionning, it seems that the following works fine to achieve what you want, but I don’t know why the indentnext keyword does have any effect.
>
> Best regards: OK
> %%%% Test file
> \setupindenting[yes,medium]
>
> \defineitemgroup[abc]
> \setupitemgroup[abc][each][a,columns,three]
>         [stopper=,
>         right=),
>         margin=0pt,
>         before={\blank[big]},
>         after={\blank[big]\noindent}, % here is the change
>         inbetween={\blank[medium]}]
>
> \starttext
> \input knuth.tex
> \startabc
> \startitem First \stopitem
> \startitem Second \stopitem
> \startitem Third \stopitem
> \stopabc
> This text should not be indented. \input ward.tex
>
>
> \stoptext
> %%% End test file
>
>> On 3 Oct 2016, at 14:18, Mikael P. Sundqvist <mickep at gmail.com> wrote:
>>
>> Dear list,
>>
>> I don't know if I ask weird questions or if people are just occupied.
>> If I break some rule, please tell me... Anyways, here is another one:
>>
>> It seems that the indentnext is ignored below. The resulting pdf is
>> attached. I use a rather updated ConTeXt standalone.
>>
>> %%% Test file
>> \setupindenting[yes,medium]
>>
>> \defineitemgroup[abc]
>> \setupitemgroup[abc][each][a,columns,three][stopper=,right=),margin=0pt,before={\blank[big]},after={\blank[big]},inbetween={\blank[medium]},indentnext=no]
>>
>> \starttext
>> \startabc
>> \startitem First \stopitem
>> \startitem Second \stopitem
>> \startitem Third \stopitem
>> \stopabc
>> This text should not be indented.
>> \stoptext
>> %%% End test file
>>
>> /Mikael
>> <ctx-example12.pdf>___________________________________________________________________________________
>> If your question is of interest to others as well, please add an entry to the Wiki!
>>
>> maillist : ntg-context at ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
>> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
>> archive  : http://foundry.supelec.fr/projects/contextrev/
>> wiki     : http://contextgarden.net
>> ___________________________________________________________________________________
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context at ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

Many thanks, Otared. Your solution indeed works.

Best regards, Mikael


More information about the ntg-context mailing list