Skip to content

Commit ce7fb84

Browse files
committed
refactor: implement secret, id panel with tabular
1 parent dadd6c4 commit ce7fb84

8 files changed

+234
-213
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
- 变更
1010
- 允许同时不使用 BibTeX 与 `biblatex` - [#37]
1111
- `关键字` 更改为 `关键词` - [#296]
12+
- 优化
13+
- 封面密级、学校代码和学号改用表格实现
1214

1315
## [v0.9 (2023-02-26)]
1416

source/fduthesis.dtx

+49-48
Original file line numberDiff line numberDiff line change
@@ -2829,13 +2829,19 @@ Copyright (C) 2017&ndash;2023 by Xiangdong Zeng <[email protected]>.
28292829
%
28302830
% \subsubsection{内部函数}
28312831
%
2832-
% \begin{macro}{\file_input:V,\int_to_arabic:v,\keys_define:nx,\regex_replace_all:nnc}
2832+
% \begin{macro}{
2833+
% \file_input:V,
2834+
% \int_to_arabic:v,
2835+
% \keys_define:nx,
2836+
% \prop_item:No,
2837+
% \regex_replace_all:nnc}
28332838
% \begin{macro}[TF]{\tl_if_eq:Vn}
28342839
% \LaTeX3{} 函数变体。
28352840
% \begin{macrocode}
28362841
\cs_generate_variant:Nn \file_input:n { V }
28372842
\cs_generate_variant:Nn \int_to_arabic:n { v }
28382843
\cs_generate_variant:Nn \keys_define:nn { nx }
2844+
\cs_generate_variant:Nn \prop_item:Nn { No }
28392845
\cs_generate_variant:Nn \regex_replace_all:nnN { nnc }
28402846
\prg_generate_conditional_variant:Nnn \tl_if_eq:nn { Vn } { T, TF }
28412847
% \end{macrocode}
@@ -4638,13 +4644,6 @@ Copyright (C) 2017&ndash;2023 by Xiangdong Zeng <[email protected]>.
46384644
% \changes{v0.3}{2017/07/04}{新增 \opt{info/secret-level} 与
46394645
% \opt{info/secret-year} 选项。}
46404646
%
4641-
% \begin{variable}{\l_@@_secret_bool}
4642-
% 是否显示密级。
4643-
% \begin{macrocode}
4644-
\bool_new:N \l_@@_secret_bool
4645-
% \end{macrocode}
4646-
% \end{variable}
4647-
%
46484647
% \begin{variable}{\l_@@_info_secret_level_tl}
46494648
% 保存当前的密级。
46504649
% \begin{macrocode}
@@ -4664,18 +4663,7 @@ Copyright (C) 2017&ndash;2023 by Xiangdong Zeng <[email protected]>.
46644663
% \begin{macrocode}
46654664
secret-level .choices:nn =
46664665
{ none, i, ii, iii }
4667-
{
4668-
\int_compare:nTF { \l_keys_choice_int >= 2 }
4669-
{
4670-
\bool_set_true:N \l_@@_secret_bool
4671-
\tl_set:Nn \l_@@_info_secret_level_tl
4672-
{
4673-
\clist_item:Nn \c_@@_secret_clist
4674-
{ \l_keys_choice_int - 1 }
4675-
}
4676-
}
4677-
{ \bool_set_false:N \l_@@_secret_bool }
4678-
},
4666+
{ \tl_set_eq:NN \l_@@_info_secret_level_tl \l_keys_choice_tl },
46794667
secret-level .value_required:n = true,
46804668
% \end{macrocode}
46814669
% \end{macro}
@@ -4777,40 +4765,50 @@ Copyright (C) 2017&ndash;2023 by Xiangdong Zeng <[email protected]>.
47774765
% \changes{v0.5}{2017/09/19}{使用 \pkg{expl3} 以及内部函数改写
47784766
% 封面,减少对 \LaTeXe{} 的依赖。}
47794767
%
4780-
% \begin{macro}{\@@_cover_id:,\@@_cover_id_aux:n}
4781-
% 右上角的学校代码和学号。
4768+
% \begin{macro}{\@@_cover_id:,\@@_cover_id_tabular:n,\@@_cover_id_aux:n}
4769+
% 右上角的密级、学校代码和学号。
4770+
% \changes{v0.9a}{2023/05/21}{封面密级、学校代码和学号改用表格实现。}
47824771
% \begin{macrocode}
47834772
\cs_new_protected:Npn \@@_cover_id:
47844773
{
4785-
\@@_fixed_width_box:nn { 120 pt }
4786-
{
4787-
\bool_if:NT \l_@@_secret_bool
4788-
{
4789-
\group_begin:
4790-
\sffamily
4791-
\@@_cover_id_aux:n { secret_level }
4792-
\c_@@_name_secret_star_tl
4793-
\l_@@_info_secret_year_tl
4794-
\group_end:
4795-
\par
4796-
}
4797-
\@@_cover_id_aux:n { school_id } \par
4798-
\@@_cover_id_aux:n { student_id }
4799-
}
4800-
% \end{macrocode}
4801-
% 插入一个宽度为负的水平盒子以减少右侧边距。
4802-
% \begin{macrocode}
4803-
\hbox_to_wd:nn { -24 pt } { }
4774+
\tl_if_eq:NnTF \l_@@_info_secret_level_tl { none }
4775+
{ \@@_cover_id_tabular:n { } }
4776+
{ \@@_cover_id_tabular:n { \@@_cover_secret: \\ } }
4777+
}
4778+
\cs_new_protected:Npn \@@_cover_id_tabular:n #1
4779+
{
4780+
\begin{tabular} { l @ { \c_@@_fwid_colon_tl } l @ { } }
4781+
#1
4782+
\@@_cover_id_aux:n { school_id } \\
4783+
\@@_cover_id_aux:n { student_id }
4784+
\end{tabular}
48044785
}
48054786
\cs_new:Npn \@@_cover_id_aux:n #1
48064787
{
4807-
\tl_use:c { c_@@_name_ #1 _tl }
4808-
\c_@@_fwid_colon_tl
4788+
\tl_use:c { c_@@_name_ #1 _tl } &
48094789
\tl_use:c { l_@@_info_ #1 _tl }
48104790
}
48114791
% \end{macrocode}
48124792
% \end{macro}
48134793
%
4794+
% \begin{macro}{\@@_cover_secret:}
4795+
% 密级,使用无衬线字体。
4796+
% \begin{macrocode}
4797+
\cs_new:Npn \@@_cover_secret:
4798+
{
4799+
\multicolumn { 2 } { l }
4800+
{
4801+
\sffamily
4802+
\c_@@_name_secret_level_tl
4803+
\c_@@_fwid_colon_tl
4804+
\prop_item:No \c_@@_secret_prop { \l_@@_info_secret_level_tl }
4805+
\c_@@_name_secret_star_tl
4806+
\l_@@_info_secret_year_tl
4807+
}
4808+
}
4809+
% \end{macrocode}
4810+
% \end{macro}
4811+
%
48144812
% \begin{macro}{\@@_cover_logo:}
48154813
% 插入校名图片。根据参数 \opt{width} 和 \opt{height} 是否为空依次
48164814
% 判断。\cs{l_@@_cover_logo_size_clist} 中超过两个的参数将被忽略。
@@ -4853,10 +4851,8 @@ Copyright (C) 2017&ndash;2023 by Xiangdong Zeng <[email protected]>.
48534851
{
48544852
\tl_if_eq:NnF \g_@@_thesis_type_tl { bachelor }
48554853
{
4856-
\prop_get:NVN \c_@@_degree_type_prop
4857-
\l_@@_info_degree_type_tl \l_@@_tmpa_tl
48584854
\c_@@_fwid_left_paren_tl
4859-
\l_@@_tmpa_tl
4855+
\prop_item:No \c_@@_degree_type_prop { \l_@@_info_degree_type_tl }
48604856
\c_@@_fwid_right_paren_tl
48614857
}
48624858
}
@@ -6229,10 +6225,15 @@ Copyright (C) 2017&ndash;2023 by Xiangdong Zeng <[email protected]>.
62296225
% \end{macrocode}
62306226
% \end{variable}
62316227
%
6232-
% \begin{variable}{\c_@@_secret_clist}
6228+
% \begin{variable}{\c_@@_secret_prop}
62336229
% 三种密级。
62346230
% \begin{macrocode}
6235-
\clist_const:Nn \c_@@_secret_clist { 秘密, 机密, 绝密 }
6231+
\prop_const_from_keyval:Nn \c_@@_secret_prop
6232+
{
6233+
i = 秘密,
6234+
ii = 机密,
6235+
iii = 绝密,
6236+
}
62366237
% \end{macrocode}
62376238
% \end{variable}
62386239
%

testfiles/02-basic.luatex.tlg

+10-10
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Completed box being shipped out [1]
4949
....\write-{}
5050
....\write-{}
5151
....\pdfdest name{chapter*.1} xyz
52-
....\write4{\protect \BOOKMARK [0][-]{chapter*.1}{\376\377\144\130\211\201}{}% 1}
52+
....\write3{\protect \BOOKMARK [0][-]{chapter*.1}{\376\377\144\130\211\201}{}% 1}
5353
....\write1{\@writefile{toc}{\protect \contentsline {chapter}{\protect \normalfont \protect \sffamily 摘要}{\thepage }{chapter*.1}\protected@file@percent }}
5454
....\marks1{\MakeUppercase []{摘要}}
5555
....\marks2{\prg_do_nothing: }
@@ -373,7 +373,7 @@ Completed box being shipped out [3]
373373
...\vbox(700.50723+0.0)x416.54877, glue set 524.35767fil, direction TLT
374374
....\whatsit4=[]
375375
....\pdfdest name{chapter*.2} xyz
376-
....\write4{\protect \BOOKMARK [0][-]{chapter*.2}{\376\377\000A\000b\000s\000t\000r\000a\000c\000t}{}% 2}
376+
....\write3{\protect \BOOKMARK [0][-]{chapter*.2}{\376\377\000A\000b\000s\000t\000r\000a\000c\000t}{}% 2}
377377
....\write1{\@writefile{toc}{\protect \contentsline {chapter}{\protect \normalfont \protect \sffamily Abstract}{\thepage }{chapter*.2}\protected@file@percent }}
378378
....\marks1{\MakeUppercase []{Abstract}}
379379
....\marks2{\prg_do_nothing: }
@@ -719,7 +719,7 @@ Completed box being shipped out [5]
719719
...\vbox(700.50723+0.0)x416.54877, glue set 466.4176fil, direction TLT
720720
....\whatsit4=[]
721721
....\pdfdest name{chapter*.3} xyz
722-
....\write4{\protect \BOOKMARK [0][-]{chapter*.3}{\376\377\173\046\123\367\210\150}{}% 3}
722+
....\write3{\protect \BOOKMARK [0][-]{chapter*.3}{\376\377\173\046\123\367\210\150}{}% 3}
723723
....\write1{\@writefile{toc}{\protect \contentsline {chapter}{\protect \normalfont \protect \sffamily 符号表}{\thepage }{chapter*.3}\protected@file@percent }}
724724
....\marks1{\MakeUppercase []{符号表}}
725725
....\marks2{\prg_do_nothing: }
@@ -1194,7 +1194,7 @@ Completed box being shipped out [1]
11941194
....\write-{}
11951195
....\write1{\pp@pagectr{footnote}{1}{\theabspage }{\thepage }}
11961196
....\pdfdest name{chapter.1} xyz
1197-
....\write4{\protect \BOOKMARK [0][-]{chapter.1}{\376\377\173\054\0001\172\340\000\040\173\054\116\000\172\340}{}% 4}
1197+
....\write3{\protect \BOOKMARK [0][-]{chapter.1}{\376\377\173\054\0001\172\340\000\040\173\054\116\000\172\340}{}% 4}
11981198
....\write1{\@writefile{toc}{\protect \contentsline {chapter}{\protect \normalfont \protect \sffamily \protect \numberline {第1章}第一章}{\thepage }{chapter.1}\protected@file@percent }}
11991199
....\marks1{\MakeUppercase []{第1章\hskip 1em\relax 第一章}}
12001200
....\marks2{\prg_do_nothing: }
@@ -1274,7 +1274,7 @@ Completed box being shipped out [1]
12741274
....\marks3{\MakeUppercase []{1.1\hskip 1em\relax 第一节}}
12751275
....\mark{{\MakeUppercase []{第1章\hskip 1em\relax 第一章}}{\MakeUppercase []{1.1\hskip 1em\relax 第一节}}}
12761276
....\penalty 10000
1277-
....\write4{\protect \BOOKMARK [1][-]{section.1.1}{\376\377\0001\000.\0001\000\040\173\054\116\000\202\202}{chapter.1}% 5}
1277+
....\write3{\protect \BOOKMARK [1][-]{section.1.1}{\376\377\0001\000.\0001\000\040\173\054\116\000\202\202}{chapter.1}% 5}
12781278
....\penalty 10000
12791279
....\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1.1}第一节}{\thepage }{section.1.1}\protected@file@percent }}
12801280
....\penalty 10000
@@ -1316,7 +1316,7 @@ Completed box being shipped out [1]
13161316
....\marks3{\MakeUppercase []{1.2\hskip 1em\relax 第二节}}
13171317
....\mark{{\MakeUppercase []{第1章\hskip 1em\relax 第一章}}{\MakeUppercase []{1.2\hskip 1em\relax 第二节}}}
13181318
....\penalty 10000
1319-
....\write4{\protect \BOOKMARK [1][-]{section.1.2}{\376\377\0001\000.\0002\000\040\173\054\116\214\202\202}{chapter.1}% 6}
1319+
....\write3{\protect \BOOKMARK [1][-]{section.1.2}{\376\377\0001\000.\0002\000\040\173\054\116\214\202\202}{chapter.1}% 6}
13201320
....\penalty 10000
13211321
....\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1.2}第二节}{\thepage }{section.1.2}\protected@file@percent }}
13221322
....\penalty 10000
@@ -1358,7 +1358,7 @@ Completed box being shipped out [1]
13581358
....\marks3{\MakeUppercase []{1.3\hskip 1em\relax 第三节}}
13591359
....\mark{{\MakeUppercase []{第1章\hskip 1em\relax 第一章}}{\MakeUppercase []{1.3\hskip 1em\relax 第三节}}}
13601360
....\penalty 10000
1361-
....\write4{\protect \BOOKMARK [1][-]{section.1.3}{\376\377\0001\000.\0003\000\040\173\054\116\011\202\202}{chapter.1}% 7}
1361+
....\write3{\protect \BOOKMARK [1][-]{section.1.3}{\376\377\0001\000.\0003\000\040\173\054\116\011\202\202}{chapter.1}% 7}
13621362
....\penalty 10000
13631363
....\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1.3}第三节}{\thepage }{section.1.3}\protected@file@percent }}
13641364
....\penalty 10000
@@ -1486,7 +1486,7 @@ Completed box being shipped out [3]
14861486
....\whatsit4=[]
14871487
....\write1{\pp@pagectr{footnote}{2}{\theabspage }{\thepage }}
14881488
....\pdfdest name{chapter.2} xyz
1489-
....\write4{\protect \BOOKMARK [0][-]{chapter.2}{\376\377\173\054\0002\172\340\000\040\173\054\116\214\172\340}{}% 8}
1489+
....\write3{\protect \BOOKMARK [0][-]{chapter.2}{\376\377\173\054\0002\172\340\000\040\173\054\116\214\172\340}{}% 8}
14901490
....\write1{\@writefile{toc}{\protect \contentsline {chapter}{\protect \normalfont \protect \sffamily \protect \numberline {第2章}第二章}{\thepage }{chapter.2}\protected@file@percent }}
14911491
....\marks1{\MakeUppercase []{第2章\hskip 1em\relax 第二章}}
14921492
....\marks2{\prg_do_nothing: }
@@ -1652,7 +1652,7 @@ Completed box being shipped out [5]
16521652
....\whatsit4=[]
16531653
....\write1{\pp@pagectr{footnote}{3}{\theabspage }{\thepage }}
16541654
....\pdfdest name{appendix.A} xyz
1655-
....\write4{\protect \BOOKMARK [0][-]{appendix.A}{\376\377\226\104\137\125\000\040\000A\000\040\226\104\137\125}{}% 9}
1655+
....\write3{\protect \BOOKMARK [0][-]{appendix.A}{\376\377\226\104\137\125\000\040\000A\000\040\226\104\137\125}{}% 9}
16561656
....\write1{\@writefile{toc}{\protect \contentsline {chapter}{\protect \normalfont \protect \sffamily \protect \numberline {附录 A}附录}{\thepage }{appendix.A}\protected@file@percent }}
16571657
....\marks1{\MakeUppercase []{附录 A\hskip 1em\relax 附录}}
16581658
....\marks2{\prg_do_nothing: }
@@ -1730,7 +1730,7 @@ Completed box being shipped out [5]
17301730
....\marks3{\MakeUppercase []{A.1\hskip 1em\relax 第一节}}
17311731
....\mark{{\MakeUppercase []{附录 A\hskip 1em\relax 附录}}{\MakeUppercase []{A.1\hskip 1em\relax 第一节}}}
17321732
....\penalty 10000
1733-
....\write4{\protect \BOOKMARK [1][-]{section.A.1}{\376\377\000A\000.\0001\000\040\173\054\116\000\202\202}{appendix.A}% 10}
1733+
....\write3{\protect \BOOKMARK [1][-]{section.A.1}{\376\377\000A\000.\0001\000\040\173\054\116\000\202\202}{appendix.A}% 10}
17341734
....\penalty 10000
17351735
....\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {A.1}第一节}{\thepage }{section.A.1}\protected@file@percent }}
17361736
....\penalty 10000

testfiles/02-basic.tlg

+10-10
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Completed box being shipped out [1]
3030
....\write-{}
3131
....\write-{}
3232
....\special{pdf:dest (chapter*.1) [@thispage /XYZ @xpos @ypos null]}
33-
....\write4{\protect \BOOKMARK [0][-]{chapter*.1}{\376\377\144\130\211\201}{}% 1}
33+
....\write3{\protect \BOOKMARK [0][-]{chapter*.1}{\376\377\144\130\211\201}{}% 1}
3434
....\write1{\@writefile{toc}{\protect \contentsline {chapter}{\protect \normalfont \protect \sffamily 摘要}{\thepage }{chapter*.1}\protected@file@percent }}
3535
....\marks1{\MakeUppercase []{摘要}}
3636
....\marks2{\prg_do_nothing: }
@@ -251,7 +251,7 @@ Completed box being shipped out [3]
251251
...\glue(\lineskip) 0.0
252252
...\vbox(700.50723+0.0)x416.54877, glue set 524.3577fil
253253
....\special{pdf:dest (chapter*.2) [@thispage /XYZ @xpos @ypos null]}
254-
....\write4{\protect \BOOKMARK [0][-]{chapter*.2}{\376\377\000A\000b\000s\000t\000r\000a\000c\000t}{}% 2}
254+
....\write3{\protect \BOOKMARK [0][-]{chapter*.2}{\376\377\000A\000b\000s\000t\000r\000a\000c\000t}{}% 2}
255255
....\write1{\@writefile{toc}{\protect \contentsline {chapter}{\protect \normalfont \protect \sffamily Abstract}{\thepage }{chapter*.2}\protected@file@percent }}
256256
....\marks1{\MakeUppercase []{Abstract}}
257257
....\marks2{\prg_do_nothing: }
@@ -430,7 +430,7 @@ Completed box being shipped out [5]
430430
...\glue(\lineskip) 0.0
431431
...\vbox(700.50723+0.0)x416.54877, glue set 467.52576fil
432432
....\special{pdf:dest (chapter*.3) [@thispage /XYZ @xpos @ypos null]}
433-
....\write4{\protect \BOOKMARK [0][-]{chapter*.3}{\376\377\173\046\123\367\210\150}{}% 3}
433+
....\write3{\protect \BOOKMARK [0][-]{chapter*.3}{\376\377\173\046\123\367\210\150}{}% 3}
434434
....\write1{\@writefile{toc}{\protect \contentsline {chapter}{\protect \normalfont \protect \sffamily 符号表}{\thepage }{chapter*.3}\protected@file@percent }}
435435
....\marks1{\MakeUppercase []{符号表}}
436436
....\marks2{\prg_do_nothing: }
@@ -782,7 +782,7 @@ Completed box being shipped out [1]
782782
....\write-{}
783783
....\write1{\pp@pagectr{footnote}{1}{\theabspage }{\thepage }}
784784
....\special{pdf:dest (chapter.1) [@thispage /XYZ @xpos @ypos null]}
785-
....\write4{\protect \BOOKMARK [0][-]{chapter.1}{\376\377\173\054\0001\172\340\000\040\173\054\116\000\172\340}{}% 4}
785+
....\write3{\protect \BOOKMARK [0][-]{chapter.1}{\376\377\173\054\0001\172\340\000\040\173\054\116\000\172\340}{}% 4}
786786
....\write1{\@writefile{toc}{\protect \contentsline {chapter}{\protect \normalfont \protect \sffamily \protect \numberline {第1章}第一章}{\thepage }{chapter.1}\protected@file@percent }}
787787
....\marks1{\MakeUppercase []{第1章\hskip 1em\relax 第一章}}
788788
....\marks2{\prg_do_nothing: }
@@ -844,7 +844,7 @@ Completed box being shipped out [1]
844844
....\marks3{\MakeUppercase []{1.1\hskip 1em\relax 第一节}}
845845
....\mark{{\MakeUppercase []{第1章\hskip 1em\relax 第一章}}{\MakeUppercase []{1.1\hskip 1em\relax 第一节}}}
846846
....\penalty 10000
847-
....\write4{\protect \BOOKMARK [1][-]{section.1.1}{\376\377\0001\000.\0001\000\040\173\054\116\000\202\202}{chapter.1}% 5}
847+
....\write3{\protect \BOOKMARK [1][-]{section.1.1}{\376\377\0001\000.\0001\000\040\173\054\116\000\202\202}{chapter.1}% 5}
848848
....\penalty 10000
849849
....\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1.1}第一节}{\thepage }{section.1.1}\protected@file@percent }}
850850
....\penalty 10000
@@ -876,7 +876,7 @@ Completed box being shipped out [1]
876876
....\marks3{\MakeUppercase []{1.2\hskip 1em\relax 第二节}}
877877
....\mark{{\MakeUppercase []{第1章\hskip 1em\relax 第一章}}{\MakeUppercase []{1.2\hskip 1em\relax 第二节}}}
878878
....\penalty 10000
879-
....\write4{\protect \BOOKMARK [1][-]{section.1.2}{\376\377\0001\000.\0002\000\040\173\054\116\214\202\202}{chapter.1}% 6}
879+
....\write3{\protect \BOOKMARK [1][-]{section.1.2}{\376\377\0001\000.\0002\000\040\173\054\116\214\202\202}{chapter.1}% 6}
880880
....\penalty 10000
881881
....\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1.2}第二节}{\thepage }{section.1.2}\protected@file@percent }}
882882
....\penalty 10000
@@ -908,7 +908,7 @@ Completed box being shipped out [1]
908908
....\marks3{\MakeUppercase []{1.3\hskip 1em\relax 第三节}}
909909
....\mark{{\MakeUppercase []{第1章\hskip 1em\relax 第一章}}{\MakeUppercase []{1.3\hskip 1em\relax 第三节}}}
910910
....\penalty 10000
911-
....\write4{\protect \BOOKMARK [1][-]{section.1.3}{\376\377\0001\000.\0003\000\040\173\054\116\011\202\202}{chapter.1}% 7}
911+
....\write3{\protect \BOOKMARK [1][-]{section.1.3}{\376\377\0001\000.\0003\000\040\173\054\116\011\202\202}{chapter.1}% 7}
912912
....\penalty 10000
913913
....\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1.3}第三节}{\thepage }{section.1.3}\protected@file@percent }}
914914
....\penalty 10000
@@ -993,7 +993,7 @@ Completed box being shipped out [3]
993993
...\vbox(700.50723+0.0)x416.54877, glue set 587.40494fil
994994
....\write1{\pp@pagectr{footnote}{2}{\theabspage }{\thepage }}
995995
....\special{pdf:dest (chapter.2) [@thispage /XYZ @xpos @ypos null]}
996-
....\write4{\protect \BOOKMARK [0][-]{chapter.2}{\376\377\173\054\0002\172\340\000\040\173\054\116\214\172\340}{}% 8}
996+
....\write3{\protect \BOOKMARK [0][-]{chapter.2}{\376\377\173\054\0002\172\340\000\040\173\054\116\214\172\340}{}% 8}
997997
....\write1{\@writefile{toc}{\protect \contentsline {chapter}{\protect \normalfont \protect \sffamily \protect \numberline {第2章}第二章}{\thepage }{chapter.2}\protected@file@percent }}
998998
....\marks1{\MakeUppercase []{第2章\hskip 1em\relax 第二章}}
999999
....\marks2{\prg_do_nothing: }
@@ -1108,7 +1108,7 @@ Completed box being shipped out [5]
11081108
...\vbox(700.50723+0.0)x416.54877, glue set 556.19038fil
11091109
....\write1{\pp@pagectr{footnote}{3}{\theabspage }{\thepage }}
11101110
....\special{pdf:dest (appendix.A) [@thispage /XYZ @xpos @ypos null]}
1111-
....\write4{\protect \BOOKMARK [0][-]{appendix.A}{\376\377\226\104\137\125\000\040\000A\000\040\226\104\137\125}{}% 9}
1111+
....\write3{\protect \BOOKMARK [0][-]{appendix.A}{\376\377\226\104\137\125\000\040\000A\000\040\226\104\137\125}{}% 9}
11121112
....\write1{\@writefile{toc}{\protect \contentsline {chapter}{\protect \normalfont \protect \sffamily \protect \numberline {附录 A}附录}{\thepage }{appendix.A}\protected@file@percent }}
11131113
....\marks1{\MakeUppercase []{附录 A\hskip 1em\relax 附录}}
11141114
....\marks2{\prg_do_nothing: }
@@ -1170,7 +1170,7 @@ Completed box being shipped out [5]
11701170
....\marks3{\MakeUppercase []{A.1\hskip 1em\relax 第一节}}
11711171
....\mark{{\MakeUppercase []{附录 A\hskip 1em\relax 附录}}{\MakeUppercase []{A.1\hskip 1em\relax 第一节}}}
11721172
....\penalty 10000
1173-
....\write4{\protect \BOOKMARK [1][-]{section.A.1}{\376\377\000A\000.\0001\000\040\173\054\116\000\202\202}{appendix.A}% 10}
1173+
....\write3{\protect \BOOKMARK [1][-]{section.A.1}{\376\377\000A\000.\0001\000\040\173\054\116\000\202\202}{appendix.A}% 10}
11741174
....\penalty 10000
11751175
....\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {A.1}第一节}{\thepage }{section.A.1}\protected@file@percent }}
11761176
....\penalty 10000

0 commit comments

Comments
 (0)