[NTG-context] Help on tweaking alignment, page numbers and ToC
Nicola
nvitacolonna at gmail.com
Thu Aug 13 17:17:19 CEST 2020
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
More information about the ntg-context
mailing list