-
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 8 replies
-
解答见 #236。因为这个格式命令是写进 |
Beta Was this translation helpful? Give feedback.
-
使用
#237 (reply in thread) 里的做法,是让样式由不可展开的、无参数的命令组成。这样能避免把参数留在 PDF 目录中,但 warning 依然生成。 最好的办法,是不要把样式插入到章节标题内容里去,把两者分离。 次好的办法,可以让 \ExplSyntaxOn
\pdfstringdefDisableCommands
{
\tl_clear:N \c__nju_fmt_chapterintoc_tl
}
\ExplSyntaxOff 备注:
顺便,#237 (reply in thread) 例子里最后一行的
|
Beta Was this translation helpful? Give feedback.
-
当时翻了一遍 NJUThesis/source/njuthesis.dtx Line 5554 in 8e3eaa1 我先采用下策, |
Beta Was this translation helpful? Give feedback.
忘了
\newcommand
不带保护,顺便建议用 markdown 代码块来呈现代码,而不是截图(