ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Extend is indented after section (2nd try)
@ 2017-11-03 16:54 T. Kurt Bond
  2017-11-03 19:32 ` Pablo Rodriguez
  0 siblings, 1 reply; 2+ messages in thread
From: T. Kurt Bond @ 2017-11-03 16:54 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 1090 bytes --]

[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, tkurtbond@gmail.com and http://consp.org/~tkb

[-- Attachment #1.2: Type: text/html, Size: 1934 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Extend is indented after section (2nd try)
  2017-11-03 16:54 Extend is indented after section (2nd try) T. Kurt Bond
@ 2017-11-03 19:32 ` Pablo Rodriguez
  0 siblings, 0 replies; 2+ messages in thread
From: Pablo Rodriguez @ 2017-11-03 19:32 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-11-03 19:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-03 16:54 Extend is indented after section (2nd try) T. Kurt Bond
2017-11-03 19:32 ` Pablo Rodriguez

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).