[NTG-context] TOC: page headers
ascarel at gmail.com
Thu Nov 29 01:35:58 CET 2007
On Nov 15, 2007 6:02 AM, Wolfgang Schuster
<schuster.wolfgang at googlemail.com> wrote:
> \usemodule[visual] % example with faked text
> \startsetups header:bodymatter
> % Hans mentioned this method long ago on the list
> \startsetups header:frontmatter
> [page=yes, % else problem with last page of the table of contents
> \setupsectionblock[appendix] [page=no]
> \setupsectionblock[backpart] [page=no]
> location=, % already set with \setupheadertexts
> conversion=numbers] % default
> [%header=high, % already done for the chapter header
> %footer=high, % overloads the chapter setting, footer=pagenumber
> \setupheadtext[fr][content=Table des mati\egrave res]
I'm bringing that example up again because there is a small problem with it. :-)
The very last page of the resulting document has no header!
I've been having this problem before, and I mentioned it on this list
a while ago.
What I did was lazily abandon the frontmatter/bodymatter structure and
it was solved. So I guess this is part of the problem as well here.
Or at least, on my side of things. When I compile the example above,
as is, there is no header on the very last page. The header should
have a bottom frame with the chapter number and title on the left, and
page number of the right. The exception to this is the first page of a
chapter. And indeed, everything is as expected in the document, until
the very last page, as I said, which is not the beginning of a new
So, what to do here? I do need the frontmatter/bodymatter structure
anyway. So there must be something else...
More information about the ntg-context