From: Pablo Rodriguez <oinos@gmx.es>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Spurious pages in makeups
Date: Thu, 04 Sep 2014 19:14:47 +0200 [thread overview]
Message-ID: <54089E07.3040302@gmx.es> (raw)
In-Reply-To: <op.xln1c9mrfkrasx@ishamid-pc>
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
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
prev parent reply other threads:[~2014-09-04 17:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-04 14:04 Idris Samawi Hamid ادريس سماوي حامد
2014-09-04 15:53 ` Peter Rolf
2014-09-04 17:14 ` Pablo Rodriguez [this message]
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=54089E07.3040302@gmx.es \
--to=oinos@gmx.es \
--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).