Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

縦組クラス使用時のTOC #101

Open
h-kitagawa opened this issue Dec 13, 2024 · 0 comments
Open

縦組クラス使用時のTOC #101

h-kitagawa opened this issue Dec 13, 2024 · 0 comments

Comments

@h-kitagawa
Copy link
Member

元は luatexja/#23 ですが,pLaTeX にもそのまま当てはまるので.

tarticle.cls 等の縦組クラスでは \addcontentsline の第 3 引数(ページ番号)を \rensuji で囲んでいますが,
これが hyperref パッケージと干渉するようです.上 issue の元コメントにもある(そして同じことを LuaTeX-ja でやっている)ように,次のようにすると良さそうです.

  • \addcontentsline 命令の再定義は(もはや不要なので)削除
  • \l@chapter, \l@section, \@dottedtocline などの実際の出力命令に \rensuji を仕込む

ついでに,縦組でもリーダーが横組と同じ「.」なのが気になりました.jclasses で直すべき問題か,という気もしますが.

h-kitagawa added a commit to h-kitagawa/platex that referenced this issue Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant