我在 ConTeXt 独立版和 live.contextgarden.net 中尝试了这个 MWE。
\definepapersize[main][width=6in,height=9in]
\setuppapersize[main]
\setupinterlinespace[line=14pt]
\setuplayout[backspace=0.8in,topspace=0.45in,footer=0mm,width=4.6in,header=0.450in,grid=yes,height=8in]
\setuppagenumbering[location=,alternative=doublesided,style=mediaeval]
\setupheader[text][state=empty,style=smallcaps]
\setupheadtext[content][header=empty,footer=empty]
\setupheadertexts[ ][{\word{\getmarking[chapter]}}\emspace{\pagenumber}][{\pagenumber}\emspace{test}][ ]
\setupcombinedlist[content][list={title,chapter,subject,section,subsection,subsubsection},alternative=c]
\setuplist[title][headnumber=no]
\setuplist[chapter][headnumber=no]
\setuphead[title][incrementnumber=yes, number=no]
\setuphead[title][style={\bf}]
\setuphead[chapter][style={\bf}]
%change page number from Arabic to Roman.
\definestructureconversionset [frontpart:pagenumber] [] [romannumerals]
\startsectionblockenvironment[bodypart]
\setcounter[userpage][1]
\stopsectionblockenvironment
\starttext
\startfrontmatter
\title{Daftar Isi}
\placecontent[criterium=all]
\stopfrontmatter
\startbodymatter
\startchapter[title=Test]
\input{knuth}
\stopchapter
\startchapter[title=Test2]
\input{knuth}
\stopchapter
\stopbodymatter
\stoptext
目录中均显示罗马数字,但页眉中显示阿拉伯数字。如何修复此问题?谢谢。