summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/njuthesis
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-12-06 21:14:52 +0000
committerKarl Berry <karl@freefriends.org>2023-12-06 21:14:52 +0000
commit90b9477e97a2c2e03aec632ed82081a933dcfe77 (patch)
tree963c9700b7dc701b6b51b67bfbb2903126520d6b /Master/texmf-dist/source/latex/njuthesis
parent2ade5ab373c3668e8ca81993718a3fc525a3651f (diff)
njuthesis (6dec23)
git-svn-id: svn://tug.org/texlive/trunk@69051 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/njuthesis')
-rw-r--r--Master/texmf-dist/source/latex/njuthesis/njuthesis.dtx32
1 files changed, 17 insertions, 15 deletions
diff --git a/Master/texmf-dist/source/latex/njuthesis/njuthesis.dtx b/Master/texmf-dist/source/latex/njuthesis/njuthesis.dtx
index b2e693bf636..fde426c1d8a 100644
--- a/Master/texmf-dist/source/latex/njuthesis/njuthesis.dtx
+++ b/Master/texmf-dist/source/latex/njuthesis/njuthesis.dtx
@@ -112,7 +112,7 @@ To produce the documentation run the original source files ending with
%
%<class>\NeedsTeXFormat{LaTeX2e}
%<*!(driver|install)>
-%<+!driver>\GetIdInfo $Id: njuthesis.dtx 1.3.1 2023-11-14 11:30:00
+%<+!driver>\GetIdInfo $Id: njuthesis.dtx 1.3.2 2023-12-05 16:30:00
%<+!driver> +0800 NJU LUG <git+nju-lug-email-3104-issue-@yaoge123.cn>$
%<class> {Thesis template for Nanjing University}
%<class>\ProvidesExplClass{njuthesis}
@@ -148,7 +148,7 @@ To produce the documentation run the original source files ending with
% \thanks{E-mail: \href{mailto:git+nju-lug-email-3104-issue-@yaoge123.cn}
% {git+nju-lug-email-3104-issue-@yaoge123.cn}}}
%
-% \date{v1.3.1 \quad 2023-11-14}
+% \date{v1.3.2 \quad 2023-12-05}
%
% \changes{v0.1}{2021/09/04}{开始开发。}
% \changes{v0.2}{2021/09/07}{初步搭建了可用的模板。}
@@ -1192,15 +1192,14 @@ To produce the documentation run the original source files ending with
% 院系。
% \end{function}
%
-% \begin{function}[updated=2023-05-11]{info/major,info/major*}
+% \begin{function}[updated=2023-12-05]{info/major,info/major*}
% \begin{syntax}
% \OPT{major} = \Arg{专业}
-% \OPT{major} = \Arg{专业,专业全称}
+% \OPT{major} = \Arg{封面专业, 摘要专业}
% \OPT{major*} = \Arg{专业}
% \end{syntax}
-% 专业。研究生的专业型学位封面上,“专业学位类别(领域)”一栏默认会补全为
-% “专业硕/博士(\meta{专业})”。如果希望覆盖模板的自动处理,
-% 可以填写 \opt{info/major} 第二种写法的“专业全称”字段。
+% 专业。研究生的专业型学位封面上,“专业学位类别(领域)”一栏的
+% 填写内容可能与摘要页不一致,可以使用半角逗号分隔两个值。
% \end{function}
%
% \begin{function}[updated=2021-10-01]{info/field,info/field*}
@@ -2637,8 +2636,9 @@ To produce the documentation run the original source files ending with
% \begin{macrocode}
\@ifpackagelater { expl3 } { 2023/10/10 } { }
{
- \cs_generate_variant:Nn \tl_set:Nn { Ne }
- \cs_generate_variant:Nn \tl_const:Nn { Ne }
+ \cs_generate_variant:Nn \tl_set:Nn { Ne }
+ \cs_generate_variant:Nn \tl_const:Nn { Ne }
+ \cs_generate_variant:Nn \tl_gput_right:Nn { Ne }
}
% \end{macrocode}
%
@@ -4449,15 +4449,17 @@ To produce the documentation run the original source files ending with
%
% \begin{macro}{info/major}
% \changes{v1.3}{2023/05/11}{专业型研究生封面可额外修改专业名称。}
-% 专业。
+% \changes{v1.3}{2023/12/05}{调整专业型学位的填写方式。}
+% 专业。研究生专业型学位可以取封面和摘要的两个值,此外都取第一个值。
% \begin{macrocode}
major .code:n =
{
- \clist_pop:NN \l_keys_value_tl \g_@@_info_major_tl
- \clist_pop:NNF \l_keys_value_tl \g_@@_info_majorc_tl
+ \bool_if:NTF \g_@@_opt_academic_bool
+ { \clist_pop:NN \l_keys_value_tl \g_@@_info_major_tl }
{
- \tl_set:Nn \g_@@_info_majorc_tl
- { 工程 \g_@@_info_type_tl( \g_@@_info_major_tl ) }
+ \clist_pop:NN \l_keys_value_tl \g_@@_info_majorc_tl
+ \clist_pop:NNF \l_keys_value_tl \g_@@_info_major_tl
+ { \tl_set_eq:NN \g_@@_info_major_tl \g_@@_info_majorc_tl }
}
},
% \end{macrocode}
@@ -6647,7 +6649,7 @@ To produce the documentation run the original source files ending with
\cs_new:Npn \@@_g_cover_info:
{
\tl_set:Nn \l_@@_tmpa_tl { \skip_horizontal:n { .7 cm } }
- \@@_g_cover_info:NNNNN \l_@@_tmpa_clist \l_@@_tmpa_tl
+ \@@_g_cover_info:NNNNN \l_@@_tmp_clist \l_@@_tmpa_tl
\c_@@_clabelwd_dim \c_@@_crulewd_dim \c_@@_fmt_coverlabel_tl
}
% \end{macrocode}