![如何在 ConTeXt 中排版标题页及其背面?](https://linux22.com/image/266580/%E5%A6%82%E4%BD%95%E5%9C%A8%20ConTeXt%20%E4%B8%AD%E6%8E%92%E7%89%88%E6%A0%87%E9%A2%98%E9%A1%B5%E5%8F%8A%E5%85%B6%E8%83%8C%E9%9D%A2%EF%BC%9F.png)
我排版了扉页和反面,但是对页总是在右边生成一个空白页,我的代码如下:
\setupinteraction
[state=stop,
title=Life in These Days,
author=Tim Li]
\setupinteractionscreen
[option=doublesided]
\usetypescript[palatino]
\setupbodyfont[palatino,12pt]
\setuppagenumbering
[location={footer,middle},
alternative=doublesided]
\setupmakeup
[standard]
[pagestate=start]
\starttext
\startfrontmatter
% titlepage
\startmakeup[standard][doublesided=no]
\vskip2in
\midaligned{\switchtobodyfont[36pt]\bf Life in These Days}
\vfill
\midaligned{\switchtobodyfont[20pt]\bf Tim Li}
\blank[medium]
\midaligned{\switchtobodyfont[20pt]\bf January 11, 2013}
\stopmakeup
% its verso
\startmakeup[standard]
This document was typeset by using \CONTEXT.
\vfill
\stopmakeup
\stopfrontmatter
\startbodymatter
%
\stopbodymatter
\stoptext
如果添加[doubesided=no]
到第一个\startmakeup[standard]
生成标题页的页面,它将在标题页的右侧生成一个页码为 2 的页面,并且该标题页的背面将是第 2 页之后的下一页。这不是我想要的。
如何设置选项\startmakeup
以便我可以排版标题页,其反面紧随其后。如果这样,打印文档时,标题页和其反面将显示在同一张纸上。
编辑:正如 Wolfgang 所说,我们应该按照以下方式化妆
\setupmakeup
[standard]
[pagestate=start,
page=yes]
\starttext
\startfrontmatter
\startmakeup[standard][doublesided=no]
% write your titlepage here
\stopmakeup
\startmakup[standard]
% write its verso here
\stopmakeup
% dedication, preface, contents ...
\stopfrontmatter
\startbodypart
% ...
\stopbodypart
\startbackmatter
% ...
\stopbackmatter
\stoptext
这就是我要的。
答案1
这是 Wolfgang 的主意。我只是幸运地在这里排版了这些代码。
\setupmakeup
[standard]
[pagestate=start,
page=yes]
\starttext
\startfrontmatter
\startmakeup[standard][doublesided=no]
% write your titlepage here
\stopmakeup
\startmakup[standard]
% write its verso here
\stopmakeup
% dedication, preface, contents ...
\stopfrontmatter
\startbodypart
% ...
\stopbodypart
\startbackmatter
% ...
\stopbackmatter
\stoptext