ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Sanjoy Mahajan <sanjoy@mrao.cam.ac.uk>
Subject: indenting after section headings with before, after keyvals
Date: Sun, 06 Aug 2006 19:37:34 -0400	[thread overview]
Message-ID: <E1G9sBa-00049d-On@approximate.corpus.cam.ac.uk> (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

             reply	other threads:[~2006-08-06 23:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-06 23:37 Sanjoy Mahajan [this message]
2006-08-07 16:00 ` Aditya Mahajan
2006-08-07 16:59   ` Sanjoy Mahajan

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=E1G9sBa-00049d-On@approximate.corpus.cam.ac.uk \
    --to=sanjoy@mrao.cam.ac.uk \
    --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).