Re: [NTG-context] Extend is indented after section (2nd try)

2017-11-03 Thread Pablo Rodriguez
On 11/03/2017 05:54 PM, T. Kurt Bond wrote:
> When I'm using an exdent after a section command, the first line of the
> exdented paragraph is indented, instead of exdented.  Here's an example:
> [...]
> The paragraph after "Heading 2" is indented.  If I delete the text "Some
> text." after "Heading 1", the exdented paragraph is is also indented
> instead of exdented.
> 
> What can I do to prevent this?

Hi Kurt,

in that particular case you need to set the indentnext option to
anything different than the default no:

   \setuphead[section][indentnext=auto] % yes or whatever

Just in case it helps,

Pablo
-- 
http://www.ousia.tk
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] Extend is indented after section (2nd try)

2017-11-03 Thread T. Kurt Bond
[This is a second try at sending this message, after I got the not that I'm
on the mailing list now.]

Hello,

When I'm using an exdent after a section command, the first line of the
exdented paragraph is indented, instead of exdented.  Here's an example:

=
\definestartstop
  [exdent]
  [before={\startnarrower[left]\setupindenting[-\leftskip,yes]},
   after=\stopnarrower]
\starttext
\startcolumns[n=2]
\section{Heading 1}
Some text.
\startexdent
This sentence needs to be long enough to wrap at least once.

This sentence needs to be long enough to wrap at least once.
\stopexdent
\section{Heading 2}
\startexdent
This sentence needs to be long enough to wrap at least once.

This sentence needs to be long enough to wrap at least once.
\stopexdent
\stoptext
=

The paragraph after "Heading 2" is indented.  If I delete the text "Some
text." after "Heading 1", the exdented paragraph is is also indented
instead of exdented.

What can I do to prevent this?

-- 
T. Kurt Bond, tkurtb...@gmail.com and http://consp.org/~tkb
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___