ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm <texml@fiee.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: struggling with section headers
Date: Fri, 7 Mar 2014 17:54:38 +0600	[thread overview]
Message-ID: <F458BBC9-4AB8-431F-AADA-94B1B7FAAA6E@fiee.net> (raw)

Hi again,

I got a few different problems related to my section headers.

I use \startsection[title={Something}] … \stopsection, but not \startparagraph, in case that matters. (Latest MkIV beta on OSX.)

I need grid typesetting and use the same line spacing for body text and section headers (body text is 9pt, section headers are 11pt, interlinespace is 12pt).
But as soon as I enable grid typesetting, there’s at least one line of space after the header - doesn’t hurt, but my setup says:

\setupheads[
align={right,nothyphenated}, 
tolerance=verytolerant,
grid=line, 
number=no]

\setuphead[section][
page=no,
style={\SectionFont}, 
before={\blank\vfil},
after={\relax},
interlinespace=12pt]

Headers should stick with their (following) paragraph,
but they tend to stick with the previous line.
I.e. there are several pages that end somewhere in the middle, 
but their last line is on the next page above the section title.
   
I don’t want page=yes, but the section should start on a new page
rather than with just the title at the foot.

If a page starts with a header, there should be no additional space above it.

Did I miss some obvious setup?


Greetlings, Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___________________________________________________________________________________
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:[~2014-03-07 11:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-07 11:54 Henning Hraban Ramm [this message]
2014-03-10 11:16 ` Henning Hraban Ramm
2014-03-10 21:11   ` Thangalin
2014-03-11  4:01     ` Henning Hraban Ramm
2014-03-11  4:05       ` Henning Hraban Ramm

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=F458BBC9-4AB8-431F-AADA-94B1B7FAAA6E@fiee.net \
    --to=texml@fiee.net \
    --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).