diff --git a/CHANGELOG.md b/CHANGELOG.md index eb52d2e7..8cbfba62 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ ### Changed - 专业学位的“工程领域”改为“专业领域”,同步《指南》2023 年 3 月版的更改([#862](https://github.com/tuna/thuthesis/issues/862))。 +- 附录中的参考文献另行编号([#837](https://github.com/tuna/thuthesis/issues/837),感谢 [@hushidong](https://github.com/hushidong) 和 [@atxy-blip](https://github.com/atxy-blip))。 ### Deprecated diff --git a/data/appendix.tex b/data/appendix.tex index 85b9ea6e..a92ef69b 100644 --- a/data/appendix.tex +++ b/data/appendix.tex @@ -4,12 +4,14 @@ \chapter{补充内容} 附录是与论文内容密切相关、但编入正文又影响整篇论文编排的条理和逻辑性的资料,例如某些重要的数据表格、计算程序、统计表等,是论文主体的补充内容,可根据需要设置。 +附录中的图、表、数学表达式、参考文献等另行编序号,与正文分开,一律用阿拉伯数字编码, +但在数码前冠以附录的序号,例如“图~\ref{fig:appendix-figure}”, +“表~\ref{tab:appendix-table}”,“式\eqref{eq:appendix-equation}”等。 -\section{图表示例} -\subsection{图} +\section{插图} -附录中的图片示例(图~\ref{fig:appendix-figure})。 +% 附录中的插图示例(图~\ref{fig:appendix-figure})。 \begin{figure} \centering @@ -19,9 +21,9 @@ \subsection{图} \end{figure} -\subsection{表格} +\section{表格} -附录中的表格示例(表~\ref{tab:appendix-table})。 +% 附录中的表格示例(表~\ref{tab:appendix-table})。 \begin{table} \centering @@ -41,10 +43,18 @@ \subsection{表格} \end{table} -\section{数学公式} +\section{数学表达式} -附录中的数学公式示例(公式\eqref{eq:appendix-equation})。 +% 附录中的数学表达式示例(式\eqref{eq:appendix-equation})。 \begin{equation} \frac{1}{2 \uppi \symup{i}} \int_\gamma f = \sum_{k=1}^m n(\gamma; a_k) \mathscr{R}(f; a_k) \label{eq:appendix-equation} \end{equation} + + +\section{参考文献} + +附录中的参考文献示例(\cite{carlson1981two} 和 \cite{carlson1981two,taylor1983scanning,taylor1981study})。 + +\bibliographystyle{thuthesis-numeric} +\bibliography{ref/refs} diff --git a/testfiles/09-main-en.tlg b/testfiles/09-main-en.tlg index 23084c8f..f0057305 100644 --- a/testfiles/09-main-en.tlg +++ b/testfiles/09-main-en.tlg @@ -3615,6 +3615,8 @@ Completed box being shipped out [2] ...\glue 0.0 plus 1.0fil minus 1.0fil .\kern 714.29128 .\kern 0.0 +\bibcite{bib1}{{1}{}{{}}{{}}} +\bibcite{bib2}{{2}{}{{}}{{}}} LaTeX Font Info: Font shape `TU/XITSMath-Regular(2)/m/n' will be (Font) scaled to size 10.54048pt on input line .... LaTeX Font Info: Font shape `TU/XITSMath-Regular(2)/m/n' will be @@ -3627,6 +3629,16 @@ LaTeX Font Info: Font shape `TU/XITSMath-Regular(3)/m/n' will be (Font) scaled to size 6.99925pt on input line .... LaTeX Font Info: Font shape `TU/XITSMath-Regular(3)/m/n' will be (Font) scaled to size 4.99947pt on input line .... +\bibcite{bib3}{{3}{}{{}}{{}}} +\bibcite{bib4}{{4}{}{{}}{{}}} +\bibcite{bib5}{{5}{}{{}}{{}}} +\bibcite{bib6}{{6}{}{{}}{{}}} +\bibcite{bib7}{{7}{}{{}}{{}}} +\bibcite{bib8}{{8}{}{{}}{{}}} +\bibcite{bib9}{{9}{}{{}}{{}}} +\bibcite{bib10}{{10}{}{{}}{{}}} +\bibcite{bib11}{{11}{}{{}}{{}}} +No file bu.aux. Completed box being shipped out [3] \vbox(710.18088+4.1104)x439.87962 .\hbox(0.0+0.0)x0.0 @@ -6781,6 +6793,7 @@ Completed box being shipped out [4] ...\glue 0.0 plus 1.0fil minus 1.0fil .\kern 714.29128 .\kern 0.0 +No file bu.aux. Completed box being shipped out [5] \vbox(710.18088+4.1104)x439.87962 .\hbox(0.0+0.0)x0.0 @@ -7255,6 +7268,7 @@ Completed box being shipped out [5] ...\glue 0.0 plus 1.0fil minus 1.0fil .\kern 714.29128 .\kern 0.0 +No file bu.aux. Completed box being shipped out [6] \vbox(710.18088+4.1104)x439.87962 .\hbox(0.0+0.0)x0.0 @@ -7413,6 +7427,7 @@ Completed box being shipped out [6] ...\glue 0.0 plus 1.0fil minus 1.0fil .\kern 714.29128 .\kern 0.0 +No file bu.aux. Completed box being shipped out [7] \vbox(710.18088+4.1104)x439.87962 .\hbox(0.0+0.0)x0.0 @@ -7910,6 +7925,7 @@ Completed box being shipped out [7] ...\glue 0.0 plus 1.0fil minus 1.0fil .\kern 714.29128 .\kern 0.0 +No file bu.aux. Completed box being shipped out [8] \vbox(710.18088+4.1104)x439.87962 .\hbox(0.0+0.0)x0.0 @@ -8235,6 +8251,7 @@ Completed box being shipped out [9] ...\glue 0.0 plus 1.0fil minus 1.0fil .\kern 714.29128 .\kern 0.0 +No file bu.aux. Completed box being shipped out [10] \vbox(710.18088+4.1104)x439.87962 .\hbox(0.0+0.0)x0.0 diff --git a/testfiles/11-appendix.tlg b/testfiles/11-appendix.tlg index 8ef66466..e58d6807 100644 --- a/testfiles/11-appendix.tlg +++ b/testfiles/11-appendix.tlg @@ -1,5 +1,6 @@ This is a generated file for the l3build validation system. Don't change this file in any respect. +No file bu.aux. 附录 A Package fontspec Info: Font "FandolHei-Regular" does not contain requested (fontspec) Script "CJK". diff --git a/testfiles/12-acknowledgements.tlg b/testfiles/12-acknowledgements.tlg index 588af137..08a6de11 100644 --- a/testfiles/12-acknowledgements.tlg +++ b/testfiles/12-acknowledgements.tlg @@ -1,5 +1,6 @@ This is a generated file for the l3build validation system. Don't change this file in any respect. +No file bu.aux. Package fontspec Info: Font "FandolHei-Regular" does not contain requested (fontspec) Script "CJK". Package fontspec Info: Font family 'FandolHei(0)' created for font 'FandolHei' diff --git a/testfiles/13-statement.tlg b/testfiles/13-statement.tlg index f1ea2056..8e85716a 100644 --- a/testfiles/13-statement.tlg +++ b/testfiles/13-statement.tlg @@ -1,5 +1,6 @@ This is a generated file for the l3build validation system. Don't change this file in any respect. +No file bu.aux. Package fontspec Info: Font "FandolHei-Regular" does not contain requested (fontspec) Script "CJK". Package fontspec Info: Font family 'FandolHei(0)' created for font 'FandolHei' diff --git a/testfiles/14-resume.tlg b/testfiles/14-resume.tlg index 15b57bef..077af9ba 100644 --- a/testfiles/14-resume.tlg +++ b/testfiles/14-resume.tlg @@ -1,5 +1,6 @@ This is a generated file for the l3build validation system. Don't change this file in any respect. +No file bu.aux. Package fontspec Info: Font "FandolHei-Regular" does not contain requested (fontspec) Script "CJK". Package fontspec Info: Font family 'FandolHei(0)' created for font 'FandolHei' diff --git a/testfiles/package-hyperref.tlg b/testfiles/package-hyperref.tlg index 0cfc4b11..9414d678 100644 --- a/testfiles/package-hyperref.tlg +++ b/testfiles/package-hyperref.tlg @@ -87,7 +87,7 @@ Completed box being shipped out [1] ....\write-{} ....\write-{} ....\special{pdf:dest (section*.1) [@thispage /XYZ @xpos @ypos null]} -....\write3{\protect \BOOKMARK [0][]{thuchapter.1.0}{\376\377\133\146\117\115\213\ETC.} +....\write4{\protect \BOOKMARK [0][]{thuchapter.1.0}{\376\377\133\146\117\115\213\ETC.} ....\special{pdf:dest (thuchapter.1.0) [@thispage /XYZ @xpos @ypos null]} ....\write-{} ....\special{pdf:dest (chapter*.2) [@thispage /XYZ @xpos @ypos null]} @@ -322,7 +322,7 @@ Completed box being shipped out [1] ...\vbox(674.33032+0.0)x426.79135, glue set 555.3869fil ....\write-{} ....\special{pdf:dest (section*.3) [@thispage /XYZ @xpos @ypos null]} -....\write3{\protect \BOOKMARK [0][]{section*.3}{\376\377\144\130\211\201}{}% 2} +....\write4{\protect \BOOKMARK [0][]{section*.3}{\376\377\144\130\211\201}{}% 2} ....\write1{\@writefile{toc}{\protect \contentsline {chapter}{摘\hskip 1em\relax \ETC.} ....\write-{} @@ -596,7 +596,7 @@ Completed box being shipped out [2] ...\vbox(674.33032+0.0)x426.79135, glue set 559.65796fill ....\write-{} ....\special{pdf:dest (section*.5) [@thispage /XYZ @xpos @ypos null]} -....\write3{\protect \BOOKMARK [0][]{section*.5}{\376\377\000A\000b\000s\000t\000\ETC.} +....\write4{\protect \BOOKMARK [0][]{section*.5}{\376\377\000A\000b\000s\000t\000\ETC.} ....\write1{\@writefile{toc}{\protect \contentsline {chapter}{Abstract}{\thepage \ETC.} ....\write-{} ....\special{pdf:dest (chapter*.6) [@thispage /XYZ @xpos @ypos null]} @@ -830,7 +830,7 @@ Completed box being shipped out [3] ...\vbox(674.33032+0.0)x426.79135, glue set 200.46844fil ....\write-{} ....\special{pdf:dest (section*.7) [@thispage /XYZ @xpos @ypos null]} -....\write3{\protect \BOOKMARK [0][]{section*.7}{\376\377\000T\000a\000b\000l\000\ETC.} +....\write4{\protect \BOOKMARK [0][]{section*.7}{\376\377\000T\000a\000b\000l\000\ETC.} ....\write1{\@writefile{toc}{\protect \contentsline {chapter}{Table of Contents}{\ETC.} ....\write-{} ....\special{pdf:dest (chapter*.8) [@thispage /XYZ @xpos @ypos null]} @@ -1748,7 +1748,7 @@ Completed box being shipped out [4] ...\vbox(674.33032+0.0)x426.79135, glue set 553.75056fil ....\write-{} ....\special{pdf:dest (section*.9) [@thispage /XYZ @xpos @ypos null]} -....\write3{\protect \BOOKMARK [0][]{section*.9}{\376\377\000L\000i\000s\000t\000\ETC.} +....\write4{\protect \BOOKMARK [0][]{section*.9}{\376\377\000L\000i\000s\000t\000\ETC.} ....\write1{\@writefile{toc}{\protect \contentsline {chapter}{List of Figures and\ETC.} ....\write-{} ....\special{pdf:dest (chapter*.10) [@thispage /XYZ @xpos @ypos null]} @@ -2033,7 +2033,7 @@ Completed box being shipped out [5] ...\vbox(674.33032+0.0)x426.79135, glue set 561.20389fil ....\write-{} ....\special{pdf:dest (section*.11) [@thispage /XYZ @xpos @ypos null]} -....\write3{\protect \BOOKMARK [0][]{section*.11}{\376\377\000L\000i\000s\000t\00\ETC.} +....\write4{\protect \BOOKMARK [0][]{section*.11}{\376\377\000L\000i\000s\000t\00\ETC.} ....\write1{\@writefile{toc}{\protect \contentsline {chapter}{List of Symbols and\ETC.} ....\write-{} ....\special{pdf:dest (chapter*.12) [@thispage /XYZ @xpos @ypos null]} @@ -2416,7 +2416,7 @@ Completed box being shipped out [1] .....\penalty 10000 .....\glue(\parfillskip) 0.0 plus 1.0fil .....\glue(\rightskip) 0.0 -....\write3{\protect \BOOKMARK [1][-]{section.0.1}{\376\377\0000\000.\0001\000\04\ETC.} +....\write4{\protect \BOOKMARK [1][-]{section.0.1}{\376\377\0000\000.\0001\000\04\ETC.} ....\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline \ETC.} ....\penalty 10000 ....\glue 6.02249 @@ -2982,7 +2982,7 @@ Completed box being shipped out [1] .....\penalty 10000 .....\glue(\parfillskip) 0.0 plus 1.0fil .....\glue(\rightskip) 0.0 -....\write3{\protect \BOOKMARK [1][-]{section.0.2}{\376\377\0000\000.\0002\000\04\ETC.} +....\write4{\protect \BOOKMARK [1][-]{section.0.2}{\376\377\0000\000.\0002\000\04\ETC.} ....\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline \ETC.} ....\penalty 10000 ....\glue 6.02249 @@ -3119,7 +3119,7 @@ Completed box being shipped out [1] .....\penalty 10000 .....\glue(\parfillskip) 0.0 plus 1.0fil .....\glue(\rightskip) 0.0 -....\write3{\protect \BOOKMARK [2][-]{subsection.0.2.1}{\376\377\0000\000.\0002\0\ETC.} +....\write4{\protect \BOOKMARK [2][-]{subsection.0.2.1}{\376\377\0000\000.\0002\0\ETC.} ....\write1{\@writefile{toc}{\protect \contentsline {subsection}{\protect \numberline \ETC.} ....\penalty 10000 ....\glue 6.02249 @@ -3597,6 +3597,7 @@ Completed box being shipped out [1] ...\glue 0.0 plus 1.0fil minus 1.0fil .\kern 714.29128 .\kern 0.0 +Package natbib Warning: Citation `bib1' on page 2 undefined on input line .... Completed box being shipped out [2] \vbox(710.18088+4.1104)x439.87962 .\hbox(0.0+0.0)x0.0 @@ -3693,7 +3694,7 @@ Completed box being shipped out [2] .....\penalty 10000 .....\glue(\parfillskip) 0.0 plus 1.0fil .....\glue(\rightskip) 0.0 -....\write3{\protect \BOOKMARK [2][-]{subsection.0.2.2}{\376\377\0000\000.\0002\0\ETC.} +....\write4{\protect \BOOKMARK [2][-]{subsection.0.2.2}{\376\377\0000\000.\0002\0\ETC.} ....\write1{\@writefile{toc}{\protect \contentsline {subsection}{\protect \numberline \ETC.} ....\penalty 10000 ....\glue 6.02249 @@ -4191,14 +4192,14 @@ Completed box being shipped out [2] .....\penalty 10000 .....\glue(\parfillskip) 0.0 plus 1.0fil .....\glue(\rightskip) 0.0 -....\write3{\protect \BOOKMARK [2][-]{subsection.0.2.3}{\376\377\0000\000.\0002\0\ETC.} +....\write4{\protect \BOOKMARK [2][-]{subsection.0.2.3}{\376\377\0000\000.\0002\0\ETC.} ....\write1{\@writefile{toc}{\protect \contentsline {subsection}{\protect \numberline \ETC.} ....\penalty 10000 ....\glue 6.02249 ....\glue(\parskip) 0.0 plus 1.0 ....\glue(\parskip) 0.0 -....\glue(\baselineskip) 9.03226 -....\hbox(10.92532+0.16861)x426.79135, glue set 258.05176fil +....\glue(\baselineskip) 8.91481 +....\hbox(11.04277+0.16861)x426.79135, glue set 255.04051fil .....\hbox(0.0+0.0)x21.05519 .....\TU/texgyretermes(0)/m/n/12.045 The .....\glue 3.01125 plus 1.50562 minus 1.00374 @@ -4207,14 +4208,12 @@ Completed box being shipped out [2] .....\kern 0.0002 .....\kern 1.0 .....\mathon -.....\hbox(6.10681+1.40926)x11.03336, shifted -4.81851 +.....\hbox(6.22426+1.40926)x14.0446, shifted -4.81851 ......\TU/texgyretermes(0)/m/n/9.03375 [ -......\hbox(6.10681+0.0)x4.51688 -.......\special{pdf:bann<