File tree 1 file changed +7
-4
lines changed
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 216
216
% \begin{macrocode}
217
217
\cs _new:Npn \@@ _if_thesis_int_type:nTF #1#2#3 {\int _compare:nNnTF {\g _@@_thesis_type_int} = {#1} {#2} {#3}}
218
218
\cs _new:Npn \@@ _if_thesis_int_type:nT #1#2 {\@@ _if_thesis_int_type:nTF {#1} {#2} {}}
219
+ \cs _new:Npn \_ _bithesis_if_thesis_int_type:nF #1#2 {\_ _bithesis_if_thesis_int_type:nTF {#1} {} {#2}}
219
220
% \end{macrocode}
220
221
% \end{macro}
221
222
2693
2694
\vspace {-8pt}
2694
2695
}
2695
2696
2697
+ % 添加目录书签
2698
+ \_ _bithesis_if_thesis_int_type:nF {3} {
2699
+ \currentpdfbookmark {\c __bithesis_label_toc_tl}{ch:toc}
2700
+ }
2701
+
2696
2702
% 制作目录
2697
2703
\tableofcontents
2698
2704
2699
2705
% 在本科生全英文模板中,添加「目录」本身到目录中。
2700
- \_ _bithesis_if_thesis_int_type:nTF {3} {
2706
+ \_ _bithesis_if_thesis_int_type:nT {3} {
2701
2707
\addcontentsline {toc}{chapter}{\c __bithesis_label_toc_en_tl}
2702
- } {
2703
- % 添加目录书签
2704
- \currentpdfbookmark {\c __bithesis_label_toc_tl}{ch:toc}
2705
2708
}
2706
2709
2707
2710
% 单独成页
You can’t perform that action at this time.
0 commit comments