ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Johannes Graumann <johannes_graumann@web.de>
Subject: Re: Part head centering and empty header
Date: Mon, 01 May 2006 10:02:28 -0700	[thread overview]
Message-ID: <E1Fabnq-0007Mx-00@smtp06.web.de> (raw)
In-Reply-To: <200604290908.32646.john@wexfordpress.com>

John R. Culleton wrote:

> I would take a different approach, with each part header (there
> can't be that many) enclosed in
> \startstandardmakeup
> and
> \stopstandardmakeup
> 
> To get the part into the TOC there is a command to write an
> entry manually, with \writetolist.

Thanks a lot for this comment. It solved my problem. I'm now using:

\defineXMLenvironment
  [appendices]
  {%
    \startappendices
      \setuppagenumbering
        [%
          way=bytext,%
          partnumber=no,%
          conversion=numbers,%
          location={header,right}%
        ]%
        \startstandardmakeup
          [%
            headerstate=empty,%
            pagestate=start%
          ]
          \framed
            [%
              width=\textwidth,%
              frame=off,%
            ]
            {%
              \ss\switchtobodyfont[60pt]\setupinterlinespace[line=2.8ex]
              Appendices
              \writetolist[part]{Appendices}{}
            }
        \stopstandardmakeup
  }
  {\stopappendices}

And it does exactly what I want.

Joh

  reply	other threads:[~2006-05-01 17:02 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
2006-04-29 13:08 ` John R. Culleton
2006-05-01 17:02   ` Johannes Graumann [this message]
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=E1Fabnq-0007Mx-00@smtp06.web.de \
    --to=johannes_graumann@web.de \
    --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).