ConTeXt:註腳幫助

ConTeXt:註腳幫助

我無法在文字籠內取得註釋編號(不在文字中,而是在 LaTeX 註腳規則下):

微量元素

\definepapersize[name][width=16.5cm,height=24cm,] %dimensioni pagina
 \setuppapersize[name] % nome pagina
  \setuplayout[grid=yes]
  \usemodule[simplefonts][size=11pt] 
 \setmainfont[my font]
 \setuppagenumbering[alternative=doublesided]
 \setupfootnotedefinition[footnote][location=left]
  \setupnote[footnote][location=page,numbercommand=\hskip1cm] 

   \starttext
    Dummy Text\footnote
    \stoptext

我哪裡做錯了?

PS 即使使用「預設」指令“標記位置”我得到:

 Undefined control sequence.
\setupnotation

可能這個錯誤是由於我沒有正確安裝 ConTeXt Mk IV

PS我找到了跳過腳註標記「內部」的方法\setupfootnotes[numbercommand=\hskip3cm,]。現在的問題是腳註文字的數字重疊。那麼,如何才能跳過腳註文字呢?

答案1

\setupnotation我無法重現您報告的錯誤。嘗試更新到最新的測試版。

但是,我從 中得到了一系列錯誤simplefonts。該模組已被棄用並很久以前就停止工作了。它已被內建\definefontfamily指令取代。這個例子對我來說效果很好:

\definepapersize[name][width=16.5cm,height=24cm]
\setuppapersize[name]
\setuplayout[grid=yes]

\definefontfamily[mainfont] [serif] [DejaVu Serif]
\definefontfamily[mainfont] [sans]  [DejaVu Sans]
\definefontfamily[mainfont] [mono]  [DejaVu Sans Mono]
\definefontfamily[mainfont] [math]  [DejaVu Math]
\setupbodyfont[mainfont, 11pt]

\setuppagenumbering[alternative=doublesided]
\setupnotation
    [footnote]
    [location=left]
\setupnote
    [footnote]
    [location=page,
     numbercommand=\groupedcommand{\hskip1cm\relax}{}] 

\starttext
Dummy Text\footnote{text for footnote}
\stoptext

相關內容