From: Maggyero <maggyero@gmail.com>
To: ntg-context@ntg.nl
Subject: Empty heads after leading whitespace
Date: Tue, 6 May 2014 09:38:04 +0200 [thread overview]
Message-ID: <CAJ2CwZ39-JiXhEk8_2YFGuPr+tGN3Qf03gQ==tyDgLaJRABpQg@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 697 bytes --]
> after={\blank[0em]\blank[disable]}]
Yes it also works, thank you Thangalin. So here is the final solution (I
have added the 'nowhite' keyword in the second blank to kill whitespaces
when they are active) to get real empty heads (sections here) in the
document:
\setupwhitespace[line]
\setuphead
[section]
[placehead=empty,
page=yes,
after={\blank[none]\blank[nowhite, disable]}]
\setuphead
[subsection]
[placehead=yes,
before={\blank[line]},
after={\blank[line]}]
\setupheadertexts[section]
\showframe
\starttext
\completecontent
\dorecurse{2}
{\section{My section}
\dorecurse{2}
{\subsection{My subsection}
\input knuth}}
\stoptext
[-- Attachment #1.2: Type: text/html, Size: 1132 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2014-05-06 7:38 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-06 7:38 Maggyero [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-05-05 12:48 Maggyero
2014-05-06 5:08 ` Thangalin
2014-05-06 8:06 ` Hans Hagen
2014-05-05 2:19 Maggyero
2014-05-05 7:09 ` Thangalin
2014-05-03 23:22 Maggyero
2014-05-03 14:32 Maggyero
2014-05-03 14:52 ` Wolfgang Schuster
2014-05-01 21:15 Maggyero
2014-04-30 16:09 Maggyero
2014-05-01 18:41 ` Thangalin
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='CAJ2CwZ39-JiXhEk8_2YFGuPr+tGN3Qf03gQ==tyDgLaJRABpQg@mail.gmail.com' \
--to=maggyero@gmail.com \
--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).