![ConTeXt 中 \chapter[title]{title} 的等效项](https://linux22.com/image/244809/ConTeXt%20%E4%B8%AD%20%5Cchapter%5Btitle%5D%7Btitle%7D%20%E7%9A%84%E7%AD%89%E6%95%88%E9%A1%B9.png)
在 LaTeX 中,可以使用\chapter[A]{B}
,这样在目录中会出现“A”,但在章节开始的实际页面中会出现“B”。这样就可以在目录中打印不同的文本。ConTeXt 中与此相对应的是什么?
答案1
\starttext
\placecontent
\startchapter[title=B,list=A]
\input tufte
\stopchapter
\stoptext
在 LaTeX 中,可以使用\chapter[A]{B}
,这样在目录中会出现“A”,但在章节开始的实际页面中会出现“B”。这样就可以在目录中打印不同的文本。ConTeXt 中与此相对应的是什么?
\starttext
\placecontent
\startchapter[title=B,list=A]
\input tufte
\stopchapter
\stoptext