ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* indenting after section headings with before, after keyvals
@ 2006-08-06 23:37 Sanjoy Mahajan
  2006-08-07 16:00 ` Aditya Mahajan
  0 siblings, 1 reply; 3+ messages in thread
From: Sanjoy Mahajan @ 2006-08-06 23:37 UTC (permalink / raw)


The text after section headings is normally not indented, even if
\setupindenting[yes] is given -- which looks good and was a pain to get
right in my plain TeX days.  But the "don't indent that" code seems to
get confused if before= and after= values are given in the heading
setup.  

Below is a minimal example (using context 2006.07.24 10:49) showing that
the 'before' hairline is indented, and the "Indented?" text after the
'after' hairline is indented.  All is fine without the \setupindenting
or the \setuphead line.  Is there an easy fix that I missed?  I tried
throwing in \noindent into the before or after keys but no luck.

\setuphead[section][before={\hairline\blank},after={\nowhitespace\hairline}]
\setupindenting[medium,yes]

\starttext
\section{First}
Indented?
\stoptext

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

end of thread, other threads:[~2006-08-07 16:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-06 23:37 indenting after section headings with before, after keyvals Sanjoy Mahajan
2006-08-07 16:00 ` Aditya Mahajan
2006-08-07 16:59   ` Sanjoy Mahajan

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