ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Help on tweaking alignment, page numbers and ToC
Date: Thu, 13 Aug 2020 19:07:26 +0200	[thread overview]
Message-ID: <0c5c74a0-c6d8-067f-9918-2e570d822676@gmail.com> (raw)
In-Reply-To: <rh3ode$shi$2@ciao.gmane.io>

Nicola schrieb am 13.08.2020 um 18:06:
> Thanks. That works with my MWE, but in my document I actually have
> a chapter, and chapters start on the right page, even if I add page=no
> to \setuppagenumbering:

Can you start a new thread when you have a new question. When other
people have the same problem they can see on the subject if this is
the right thread to find a solution for it.

>      \setuppagenumbering[alternative=doublesided,page=no]

The page key in \setuppagenumbering is used to add the final page
in a doublesided document to have a even number of pages.

>      \definemakeup[ToC][align=middle,pagestate=start,doublesided=no]
>      \starttext
>      \startfrontmatter
>        \startmakeup[ToC]
>          \placecontent
>        \stopmakeup
>        \chapter{Preface}
>      \stopfrontmatter
>      \startbodymatter
>        \dorecurse{10}{\chapter{Foo}}
>      \stopbodymatter
>      \stoptext
>
> I have no idea how to allow chapters to start at arbitrary pages when
> alternative=doublesided.

\setuphead[chapter][page=yes]

Wolfgang

___________________________________________________________________________________
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
___________________________________________________________________________________

      parent reply	other threads:[~2020-08-13 17:07 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
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 [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=0c5c74a0-c6d8-067f-9918-2e570d822676@gmail.com \
    --to=wolfgang.schuster.lists@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).