像现代样本这样的文件https://wiki.contextgarden.net/Curriculum_Vitae#Stripped_down_example即使只生成一页,也会包含页码。使用\setuppagenumbering[location=]
不会删除页码。
这该怎么做?我肯定我忽略了一些明显的东西。
答案1
您必须清除renderingsetup
。resumelayeralternative
我不会责怪您找不到它。它没有记录在任何地方。我只是浏览了源代码找到它。
\setupresumelayeralternative
[nextfoot:classic]
[renderingsetup=]
完整 MWE:
\usemodule[resume]
\setupresumelayeralternative
[nextfoot:classic]
[renderingsetup=]
%\useresumestyle[casual-blue]
\useresumestyle[classic-blue]
\setupresumeoptions
[bodyfont=calluna]
\setupresume
[firstname=John,
familyname=Doe,
title=Resumé title (optional),% classic style only
quote=My quote,% casual style only
image={\externalfigure[dummy][width=3cm,height=4cm]}]
\setupresume
[street={street and number},
town={postcode city},
mobile={+1(234)567890},
phone={+2(345)678901},
fax={+3(456)789012},
email={[email protected]},
info={additional information}]
\startresume
\startresumesection[title={Knuth}]
\startresumesubsection[title={Zapf}]
\starttwocolumns
\input ward
\stoptwocolumns
\stopresumesubsection
\stopresumesection
\page
\startresumesection[title={Knuth}]
\startresumesubsection[title={Zapf}]
\starttwocolumns
\input ward
\stoptwocolumns
\stopresumesubsection
\stopresumesection
\stopresume