Skip to content

Commit 95ef418

Browse files
CreeperLKFfky2015
authored andcommitted
fix: remove redundant currentpdfbookmark for English bachelor thesis
1 parent ef0e51e commit 95ef418

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

bithesis.dtx

+5-4
Original file line numberDiff line numberDiff line change
@@ -2693,14 +2693,15 @@
26932693
\vspace{-8pt}
26942694
}
26952695

2696-
% 添加目录书签
2697-
\currentpdfbookmark{\c__bithesis_label_toc_tl}{ch:toc}
26982696
% 制作目录
26992697
\tableofcontents
27002698

27012699
% 在本科生全英文模板中,添加「目录」本身到目录中。
2702-
\@@_if_thesis_int_type:nT {3} {
2703-
\addcontentsline{toc}{chapter}{\c_@@_label_toc_en_tl}
2700+
\__bithesis_if_thesis_int_type:nTF {3} {
2701+
\addcontentsline{toc}{chapter}{\c__bithesis_label_toc_en_tl}
2702+
} {
2703+
% 添加目录书签
2704+
\currentpdfbookmark{\c__bithesis_label_toc_tl}{ch:toc}
27042705
}
27052706

27062707
% 单独成页

0 commit comments

Comments
 (0)