summaryrefslogtreecommitdiff
path: root/macros/unicodetex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-12-07 03:00:45 +0000
committerNorbert Preining <norbert@preining.info>2023-12-07 03:00:45 +0000
commitd1c8f933dea4fce5c8b5628fe829cadf0b33b43d (patch)
tree5b152bf88f12fcde263af23542df43d609a18aa9 /macros/unicodetex
parent517bc0ad712becd89c09bdc30e6b5cdb135fcd83 (diff)
CTAN sync 202312070300
Diffstat (limited to 'macros/unicodetex')
-rw-r--r--macros/unicodetex/latex/njuthesis/njuthesis.dtx32
-rw-r--r--macros/unicodetex/latex/njuthesis/njuthesis.pdfbin1249527 -> 1250193 bytes
2 files changed, 17 insertions, 15 deletions
diff --git a/macros/unicodetex/latex/njuthesis/njuthesis.dtx b/macros/unicodetex/latex/njuthesis/njuthesis.dtx
index b2e693bf63..fde426c1d8 100644
--- a/macros/unicodetex/latex/njuthesis/njuthesis.dtx
+++ b/macros/unicodetex/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}
diff --git a/macros/unicodetex/latex/njuthesis/njuthesis.pdf b/macros/unicodetex/latex/njuthesis/njuthesis.pdf
index 441b2ee9bf..36778dd442 100644
--- a/macros/unicodetex/latex/njuthesis/njuthesis.pdf
+++ b/macros/unicodetex/latex/njuthesis/njuthesis.pdf
Binary files differ