On 2/13/26 23:23, Henning Hraban Ramm wrote:
> Hi, my book is nearly finished, but it has one page too much.
> I could shorten one, but it doesn’t help, because the appendix insists 
> to start on a right page (after an empty left page).
> […]
> How can I force my appendices to start on a left page? (No, page=left 
> doesn’t help, it inserts another 2 pages.)

Hi Hraban,

as far as I can see, here are two things involved, the sectionblocks and
the chapter (which by default start on a right page).

The `page` key from `\setupsectionblock` seems to belong to what comes
after that section block (not before).

This is why `page=no` is required in `bodypart` (in `appendix` it avoids
adding an extra blank page at the end of the document).

`\setuphead[chapter]` needs to be `page=yes` (ideally, limited to the
`appendix` section block environment).

This works for me:

  \setuppagenumbering[alternative=doublesided, page=,]
  \setupsectionblock[bodypart][page=no]
  \setupsectionblock[appendix][page=no]
  \startsectionblockenvironment[appendix]
     \setuphead[chapter][page=yes]
  \stopsectionblockenvironment
  \starttext
    \startbodymatter
     \startchapter[title=Body]
      \input knuth
     \stopchapter
    \stopbodymatter
    \startappendices
     \startchapter[title=Appendix]
      \blank[.25th]\input zapf
     \stopchapter
    \stopappendices
  \stoptext

BTW, all credit goes to Wolfgang, since he explained this fix (or a very
similar solution) to a very similar issue I had years ago. (Of course, I
cannot recall the details right now, but he was the one that helped me
to solve the mess back then).

I really hope it helps to have a good book about ConTeXt,

Pablo
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to