ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Otared Kavian <otared@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: prevent indent after usage of defined itemgroup
Date: Mon, 3 Oct 2016 14:40:21 +0200	[thread overview]
Message-ID: <75FAE192-7F70-40A8-93C1-531E5BFE159A@gmail.com> (raw)
In-Reply-To: <CAHy-LL_+CXMZ_U925pWk0_FF8OaDXOw1+tn6uJc2ss=UuPFByQ@mail.gmail.com>

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

  reply	other threads:[~2016-10-03 12:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-03 12:18 Mikael P. Sundqvist
2016-10-03 12:40 ` Otared Kavian [this message]
2016-10-03 12:45   ` Mikael P. Sundqvist
2016-10-03 15:01     ` Mikael P. Sundqvist
2016-10-03 15:19       ` Otared Kavian
2016-10-03 22:16         ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=75FAE192-7F70-40A8-93C1-531E5BFE159A@gmail.com \
    --to=otared@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).