[NTG-context] makeup in right (or odd) page?

Wolfgang Schuster schuster.wolfgang at gmail.com
Wed Mar 4 20:38:04 CET 2015

> Am 04.03.2015 um 20:11 schrieb Pablo Rodriguez <oinos at gmx.es>:
> On 03/04/2015 07:57 PM, Wolfgang Schuster wrote:
>>> Am 04.03.2015 um 19:45 schrieb Pablo Rodriguez:
>>> [...]
>>> I need to have the colophon in an odd page. I thought that the option
>>> page would do the work, but it doesn’t seem to work.
>>> Which is the right way to get a makeup on an odd page?
>> By default context produces only singlesided documents where
>> command which force left or right page are ignored. When you
>> want a doublesided document you can choose between two options.
> Many thanks for your fast reply, Wolfgang.
> I forgot to include in my minimal sample the doublesided option.
> I’m afraid it doesn’t work either:
>    \setuppagenumbering[alternative=doublesided]
>    \definemakeup[colophon][page=right]
>    \starttext
>    \input zapf\par
>    \startmakeup[colophon]
>    This is the colophon
>    \stopmakeup
> What am I doing wrong here?
> Many thanks for your help,

It’s a bug in page-mak.mkvi

  {% the next grouping hack is somewhat messy:
   % we need to figure out the current layout
     \page % new, so best not have dangling mess here like references (we could capture then and flush embedded)
     % nothing
-    \endgroup
-    \page[\p_page]%
+    \normalexpanded{\endgroup\page[\p_page]}%

The value of the page key is used after the closing group command. To fix this
the content of \p_page has to be expanded before the group is closed.


More information about the ntg-context mailing list