[NTG-context] Spurious pages in makeups

Pablo Rodriguez oinos at gmx.es
Thu Sep 4 19:14:47 CEST 2014


On 09/04/2014 04:04 PM, Idris Samawi Hamid ادريس سماوي حامد wrote:
> Dear gang,
> 
> For a doublesided book, I get spurious pages in this setup:
> [...]
> What we want: copyright page (left sided) immediately after title page  
> (right sided), followed immediately by TOC (right sided). I.e.,  
> Title+Copyright+TOC with no page breaks

Hi Idris,

sample below that works on my computer.

About the copyright makeup, \page is not required before a makeup (if
I’m not wrong). All you need is to disable doublepage in previous makeup
(with doublesided=no).

About the TOC, \title inserts a page break before, so either you remove
the break from all titles, or create a new title command for the TOC
that doesn’t have the page break before.

\definemakeup[title][align=middle, doublesided=no]
\definemakeup[copyright][align=flushleft]

%~ \setuphead[chapter][number=yes,page=left]
\definehead[toctitle][title]
\setuphead[toctitle][page=none]

\setuppagenumbering[alternative=doublesided]

\starttext

\startmakeup[title]
\tfd  Title Page
\stopmakeup

\startmakeup[copyright]
Author
\crlf
http://www.website.com/

ISBN: 978-0-9907820-0-1

\blank

Copyright © 2014 Author

\blank

All rights reserved.

\blank

Front Range Press.

\blank

Printed in the United States of America.
\stopmakeup

\toctitle{Table of Contents}
\title{Another Title}
\stoptext

I hope it helps,


Pablo
-- 
http://www.ousia.tk


More information about the ntg-context mailing list