From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Question to sectioning
Date: Wed, 18 Apr 2018 18:00:27 +0200 [thread overview]
Message-ID: <5AD76B9B.7010103@gmail.com> (raw)
In-Reply-To: <20180411173633.GB18358@akela.mendelu.cz>
[-- Attachment #1.1: Type: text/plain, Size: 1153 bytes --]
> Tomas Hala <mailto:tomas.hala@mendelu.cz>
> 11. April 2018 um 19:36
> Hello,
>
> I have got a document with e.g. six chapters, numbers are from 1 to 6.
> At special places I would like put a special page containing a special
> title.
> The special page should be without a header and without any number,
> the title should be put into the contents by the same way as other
> chapters..
>
> I came across two problems:
>
> First, in the minimal example below I get chapter numbers 1, 2, 4, 5, 7, 8
> and if I use incrementnumber=no, the "specialpage" is not stored in
> the contents.
>
> Secondly, I do know how to switch off the header only at this special
> page.
>
> I also tried \definehead[specialpage][title] but in this case the
> "specialpage" is not stored in the
> contents, too.
Like this?
\definehead [specialpage] [chapter]
\definehead [levelA] [chapter]
\setuphead
[specialpage]
[incrementnumber=list,
header=empty]
\starttext
\placelist[levelA,specialpage]
\levelA{A1}
\levelA{A2}
\specialpage{Special page 1}
\levelA{A3}
\levelA{A4}
\specialpage{Special page 2}
\levelA{A5}
\levelA{A6}
\stoptext
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 2274 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2018-04-18 16:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-11 17:36 Tomas Hala
2018-04-18 15:53 ` Tomas Hala
2018-04-18 16:00 ` Wolfgang Schuster [this message]
2018-04-23 22:59 ` Tomas Hala
2018-04-25 17:51 ` Pablo Rodriguez
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=5AD76B9B.7010103@gmail.com \
--to=schuster.wolfgang@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).