From: nico <nicolas.marsgui@libertysurf.fr>
Subject: Re: Part head centering and empty header
Date: Fri, 28 Apr 2006 20:45:36 +0200 [thread overview]
Message-ID: <ops8qeeat39niby6@localhost> (raw)
In-Reply-To: <e2ri7h$s2g$1@sea.gmane.org>
On Thu, 27 Apr 2006 15:56:47 -0700, Johannes Graumann
<johannes_graumann@web.de> wrote:
> Hello
>
> I have coded my 'Appendix' like so: [...]
>
> \startappendices
> \setuppagenumbering[way=bytext,partnumber=no,conversion=numbers,location={header,right}]
> \framed
> [%
> height=\textheight,%
> frame=off,%
> ]
> {
> \part{Appendices}
> }
> {\stopappendices}
>
> Which gives me a nicely vertically and horizontally centered title. One
> problem remains though: I can't get rid of the page number. The
> framed '\setuphead[part]' commands concerning header and footer are
> being
> overruled and I can't figure out how to have an empty header for just the
> page containing the frame.
You're right; I don't know how to fix this, but for the centering aspect I
would suggest another approach that is more in the context way of doing:
\def\PartTitle#1#2%
{\framed[frame=off,height=\textheight,width=\textwidth,align={middle,lohi}]{#2}%
\pagebreak}
\setuphead
[part]
[header=empty,
footer=empty,
alternative=middle,
placehead=yes,
resetnumber=no,
% number=no,
command=\PartTitle,
page=right
]
\starttext
\startappendices
\setuppagenumbering[way=bytext,partnumber=no,conversion=numbers,
location={header,right}]
\part{Some Appendices}
\chapter{Chapter 1}
A text
\stopappendices
\stoptext
Regards,
BG
next prev parent reply other threads:[~2006-04-28 18:45 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-27 22:56 Johannes Graumann
2006-04-28 8:01 ` Willi Egger
2006-04-28 18:45 ` nico [this message]
2006-04-29 13:08 ` John R. Culleton
2006-05-01 17:02 ` Johannes Graumann
2006-05-03 19:57 ` Hans Hagen
2006-05-03 23:10 ` Johannes Graumann
2006-05-04 6:47 ` Hans Hagen
2006-05-04 16:16 ` Johannes Graumann
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=ops8qeeat39niby6@localhost \
--to=nicolas.marsgui@libertysurf.fr \
--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).