From: Nicola <nvitacolonna@gmail.com>
To: ntg-context@ntg.nl
Subject: Re: Help on tweaking alignment, page numbers and ToC
Date: Thu, 13 Aug 2020 15:17:19 -0000 (UTC) [thread overview]
Message-ID: <rh3lhv$8kg$1@ciao.gmane.io> (raw)
In-Reply-To: <bd402dfe-d755-4217-de0a-bb0934b24391@gmx.es>
Hi,
I still have an issue with blank pages...
>> 2. Vertically center the ToC (wrt to the text area).
>
> Use a makeup for the TOC (if and only if it takes a single page).
Yes, the ToC takes a single page. The makeup seems to insert a blank
page afterwards. MWE:
\setuppagenumbering[alternative=doublesided]
\definemakeup[ToC][align=middle,pagestate=start]
\starttext
\startfrontmatter
\startmakeup[ToC]
\placecontent
\stopmakeup
\input{knuth}
\stopfrontmatter
\startbodymatter
\dorecurse{10}{\chapter{Foo}}
\stopbodymatter
\stoptext
How do I suppress the blank page after the ToC?
Nicola
___________________________________________________________________________________
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:[~2020-08-13 15:17 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-11 11:32 Nicola
2020-08-11 12:53 ` Pablo Rodriguez
2020-08-11 18:34 ` Wolfgang Schuster
2020-08-11 19:24 ` Nicola
2020-08-11 20:08 ` Pablo Rodriguez
2020-08-11 20:21 ` Nicola
2020-08-12 4:12 ` Wolfgang Schuster
2020-08-12 7:10 ` Nicola
2020-08-11 20:15 ` Pablo Rodriguez
2020-08-13 15:17 ` Nicola [this message]
2020-08-13 15:31 ` Pablo Rodriguez
2020-08-13 16:06 ` Nicola
2020-08-13 16:34 ` Pablo Rodriguez
2020-08-13 19:45 ` Nicola
2020-08-13 17:07 ` Wolfgang Schuster
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='rh3lhv$8kg$1@ciao.gmane.io' \
--to=nvitacolonna@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).