From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: A special case: hiding section head information in the text but still keeping the TOC entry
Date: Tue, 18 Oct 2011 06:21:14 +0200 [thread overview]
Message-ID: <2B7F7549-EB62-4367-AC5D-6170FD65BF15@googlemail.com> (raw)
In-Reply-To: <DAB85820-A955-4B41-8E38-60C79C0C8A12@boede.nl>
Am 17.10.2011 um 23:39 schrieb Willi Egger:
> Hi all,
>
> I had to deal with a special case. In my document there are only sections and subsections. The section titles are placed in a different place than they naturally would occur according to the coding in the text. What I needed to do is to
> hide the section title, having no placeholder/white space inserted but still keeping the entry in the TOC.
>
> \setuphead
> [section]
> [placehead=hidden]
>
> \setuptexttexts[{\placerawheaddata[section]}
>
> The first setup hides the title completely and does not insert any whitespace. It causes on the other hand, that the TOC entry is also hidden/gone. With the second command the data are flushed and end up in the TOC.
Does it work without \placerawheaddata when you use “placehead=no” or “placehead=empty” for section?
Wolfgang
___________________________________________________________________________________
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 prev parent reply other threads:[~2011-10-18 4:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-17 21:39 Willi Egger
2011-10-18 4:21 ` Wolfgang Schuster [this message]
2011-10-18 8:13 ` Hans Hagen
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=2B7F7549-EB62-4367-AC5D-6170FD65BF15@googlemail.com \
--to=schuster.wolfgang@googlemail.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).