From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: three long-standing issues
Date: Mon, 7 Apr 2014 18:49:51 +0200 [thread overview]
Message-ID: <09BFAEA5-FA04-4D1D-892E-B9980F951C32@gmail.com> (raw)
In-Reply-To: <5342D37D.7060704@gmx.es>
Am 07.04.2014 um 18:34 schrieb Pablo Rodriguez <oinos@gmx.es>:
> On 04/07/2014 01:23 PM, Hans Hagen wrote:
>> On 4/6/2014 6:53 PM, Pablo Rodriguez wrote:
>>> [...]
>
> Many thanks for your help, Hans.
>
>>> 2. \setupsectionblock[...][page=no] causes the last page in bodypart to
>>> have its header removed.
>>
>> make sure not have a \page someplace (as the last setting applies till a
>> page has been flushed)
>
> Sorry, I’m afraid I don’t get it.
>
> There was no \page in my original code. I thought that replacing
> \chapter with \section would display the header in all pages (since
> \chapter introduces a page break), but it doesn’t.
>
> \setupsectionblock[bodypart][page=no]
> \setupheadertexts[section]
> \starttext
>
> \startbodymatter
> \dorecurse{50}{\section{Body matter}
> \input zapf\par}
> \stopbodymatter
> \stoptext
>
> Sorry, which would be the right way to fix the sample above? (And if
> that makes a difference, which would be the right way to fix it, if
> \section were replaced with \chapter.)
>
> Sorry for the questions, but I don’t have a clue on how to do it.
Try this: \setupsectionblock[bodypart][page=no,after=\page]
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:[~2014-04-07 16:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-06 16:53 Pablo Rodriguez
2014-04-07 11:23 ` Hans Hagen
2014-04-07 16:34 ` Pablo Rodriguez
2014-04-07 16:49 ` Wolfgang Schuster [this message]
2014-04-07 17:10 ` 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=09BFAEA5-FA04-4D1D-892E-B9980F951C32@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).