texlive[72923] Master/texmf-dist: hduthesis (21nov24)

commits+karl at tug.org commits+karl at tug.org
Thu Nov 21 22:04:41 CET 2024


Revision: 72923
          https://tug.org/svn/texlive?view=revision&revision=72923
Author:   karl
Date:     2024-11-21 22:04:41 +0100 (Thu, 21 Nov 2024)
Log Message:
-----------
hduthesis (21nov24)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/xelatex/hduthesis/README.md
    trunk/Master/texmf-dist/doc/xelatex/hduthesis/examples/hduthesis-bc.pdf
    trunk/Master/texmf-dist/doc/xelatex/hduthesis/examples/hduthesis-pg.pdf
    trunk/Master/texmf-dist/doc/xelatex/hduthesis/hduthesis.pdf
    trunk/Master/texmf-dist/doc/xelatex/hduthesis/hduthesis.tex
    trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesis-font-module.code.tex
    trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesis-pg.layout-module.code.tex
    trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesis-unv.layout-module.code.tex
    trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesis.cls

Added Paths:
-----------
    trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesis-hdu.l3doc-module.code.tex

Removed Paths:
-------------
    trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesisdoc.cls

Modified: trunk/Master/texmf-dist/doc/xelatex/hduthesis/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/xelatex/hduthesis/README.md	2024-11-21 21:04:20 UTC (rev 72922)
+++ trunk/Master/texmf-dist/doc/xelatex/hduthesis/README.md	2024-11-21 21:04:41 UTC (rev 72923)
@@ -1,4 +1,4 @@
-# The `hduthesis` class
+# The `hduThesiS` class
 
 This class provides the thesis template for Hangzhou Dianzi University.
 
@@ -10,4 +10,4 @@
 
 This work has the LPPL maintenance status `maintained`.
 
-The Current Maintainer of this work is [Mingyu Xia](https://www.ctan.org/author/xia-my).
\ No newline at end of file
+The Current Maintainer of this work is [Mingyu Xia](https://www.ctan.org/author/xia-my).

Modified: trunk/Master/texmf-dist/doc/xelatex/hduthesis/examples/hduthesis-bc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/xelatex/hduthesis/examples/hduthesis-pg.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/xelatex/hduthesis/hduthesis.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/xelatex/hduthesis/hduthesis.tex
===================================================================
--- trunk/Master/texmf-dist/doc/xelatex/hduthesis/hduthesis.tex	2024-11-21 21:04:20 UTC (rev 72922)
+++ trunk/Master/texmf-dist/doc/xelatex/hduthesis/hduthesis.tex	2024-11-21 21:04:41 UTC (rev 72923)
@@ -1,4 +1,4 @@
-\documentclass[11pt]{hduthesisdoc}
+\documentclass[l3doc]{hduthesis}
 
 \DocInfo
   {
@@ -6,7 +6,6 @@
               \hologo{LaTeX} Thesis Template for Hangzhou Dianzi University,
     author  = Mingyu Xia \mailto{xiamyphys at hdu.edu.cn}
               \footnote{Physics Department, Graduate in 06/2025 (expected)},
-    version = v0.3.2,
     CJKmain-font = {[AutoFakeSlant]{Songti SC}},
     CJKsans-font = {[BoldFont = Hei, AutoFakeSlant]{Heiti SC}},
     CJKmono-font = {[AutoFakeSlant]{LXGW WenKai Mono}}
@@ -17,17 +16,17 @@
 \maketitle
 
 \begin{abstract}
-  \hologo{hduthesis} 是杭州电子科技大学毕业论文 \hologo{LaTeX}模板,支持学士和硕士学位论文排版.
+  \hologo{hduthesis} 是杭州电子科技大学学位论文 \hologo{LaTeX} 模板,支持学士、硕士学位论文排版.
 \end{abstract}
+
 \begin{center}
   \small\bfseries User Agreement
 \end{center}
-\begin{enumerate}
+\begin{enumerate}\small
   \item 本模板通过 LPPL 1.3c 协议开放源代码,您可以随意使用编译出的 PDF 文件.
-  \item 本模板根据杭州电子科技大学教务处颁发的 \href{https://jwc.hdu.edu.cn/2022/0428/c4528a153813/page.htm}{杭电理工类毕业论文写作规范} 编写而成. 作者不对使用本模板产生的格式审查问题负责. \emph{如果您所在的学院因论文查重、收录等原因要求提交 \file{.docx} 格式,不接收 \file{.pdf} 论文稿件,请勿执意使用本模板,避免因格式转换带来不必要的麻烦.} 使用本模板时,请按编译错误提示操作来勾选同意用户协议.
+  \item 本模板根据杭州电子科技大学教务处颁发的 \href{https://jwc.hdu.edu.cn/2022/0428/c4528a153813/page.htm}{杭电理工类毕业论文写作规范} 编写而成,作者不对使用本模板产生的格式审查问题负责. \emph{如果您所在的学院因论文查重、收录等原因要求提交 \file{.docx} 格式,不接收 \file{.pdf} 论文稿件,请勿执意使用本模板,避免因格式转换带来不必要的麻烦.} 使用本模板时,请按编译错误提示操作来勾选同意用户协议.
   \item 欢迎前往 GitHub 提交反馈意见,为推动学校认证与规范化 \hologo{hduthesis} 贡献力量.
 \end{enumerate}
-\thispagestyle{empty}
 \endtitlepage
 \restoregeometry
 
@@ -93,13 +92,12 @@
   \end{verbatim}
 \end{framed}
 
-\begin{function}{\l__hduthesis_grade_int}
-  \begin{syntax}
-    \cs{ExplSyntaxOn}  \cs{int_set:Nn} \cs{l__hduthesis_grade_int} \marg{Year}  \cs{ExplSyntaxOff}
-  \end{syntax}
+\DescribeMacro{\l__hduthesis_grade_int}
+论文完成日期和学生毕业年份会根据当前系统时间自动生成. 如果当前月份在8月及以前,毕业年份会显示今年;如果当前月份在9月及以后,毕业年份会显示次年. 在 \cs{DocInfo} 后对整型 \cs{l__hduthesis_grade_int} 重新赋值可手动更改毕业年份.
 
-  论文完成日期和学生毕业年份会根据当前系统时间自动生成. 如果当前月份在8月及以前,毕业年份会显示当前年;如果当前月份在9月及以后,毕业年份会显示次年. 在导言区 \cs{DocInfo} 命令后对整型 \cs{l__hduthesis_grade_int} 重新赋值可强制更改毕业年份.
-\end{function}
+\begin{verbatim}
+  \ExplSyntaxOn  \int_set:Nn \l__hduthesis_grade_int <Year>  \ExplSyntaxOff
+\end{verbatim}
 
 下页包含所生成的硕士学位论文封面、扉页和承诺书缩略图. 此文档样例可在终端执行 \cmd{texdoc hduthesis-pg} 获取.
 
@@ -112,8 +110,10 @@
 \section{Enter Abstract in EN / CN}
 
 \DescribeEnv{abstract}
+环境 \env{abstract} 用于生成摘要,其可选参数可设置语言格式.
+
 \DescribeMacro{\keywords}
-环境 \env{abstract} 用于生成摘要,其可选参数可设置语言格式. 命令 \cs{keywords} 需在 \env{abstract} 环境内执行,其会根据 \env{abstract} 环境所选择的语言,自动生成英文 / 中文格式的关键词.
+命令 \cs{keywords} 需在 \env{abstract} 环境内执行,其会根据 \env{abstract} 环境所选择的语言,自动生成英文 / 中文格式的关键词.
 
 \begin{framed}
   \begin{verbatim}
@@ -128,12 +128,12 @@
   \centering
   \fbox
   {
-    \includegraphics[page = 3, width = .46\linewidth]
+    \includegraphics[page = 3, width = .42\linewidth]
     {/Users/xiamyphys/Desktop/LaTeXer/hduthesis/examples/hduthesis-bc.pdf} }
   \hfill
   \fbox
   {
-    \includegraphics[page = 4, width = .46\linewidth]
+    \includegraphics[page = 4, width = .42\linewidth]
     {/Users/xiamyphys/Desktop/LaTeXer/hduthesis/examples/hduthesis-bc.pdf} }
   \caption{样例文件 \file{hduthesis-bc.pdf}, Page 3 -- 4}
 \end{figure}

Modified: trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesis-font-module.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesis-font-module.code.tex	2024-11-21 21:04:20 UTC (rev 72922)
+++ trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesis-font-module.code.tex	2024-11-21 21:04:41 UTC (rev 72923)
@@ -1,9 +1,9 @@
 \hduthesis_provide_module:n {font}
 
 \linespread{1.39}
-\dim_set:Nn \parindent {2\ccwd}
-\newcommand\semilarge{\@setfontsize\semilarge{14}{16.5}}
-\newcommand\semiLarge{\@setfontsize\semiLarge{16.5}{18}}
+\dim_set:Nn \parindent { 2\ccwd }
+\newcommand \semilarge { \@setfontsize \semilarge{14}{16.5} }
+\newcommand \semiLarge { \@setfontsize \semiLarge{16.5}{18} }
 
 \setmainfont{texgyretermes}
   [

Added: trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesis-hdu.l3doc-module.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesis-hdu.l3doc-module.code.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesis-hdu.l3doc-module.code.tex	2024-11-21 21:04:41 UTC (rev 72923)
@@ -0,0 +1,86 @@
+\hduthesis_provide_module:n {hdu.l3doc}
+
+\keys_define:nn { hdu.l3doc / docinfo }
+  {
+    title .tl_set:N         = \l__docinfo_title_clist,
+    author .tl_set:N        = \l__docinfo_author_tl,
+    CJKmain-font .tl_set:N  = \g__docinfo_main_CJK_font,
+    CJKsans-font .tl_set:N  = \g__docinfo_sans_CJK_font,
+    CJKmono-font .tl_set:N  = \g__docinfo_mono_CJK_font
+  }
+
+\NewDocumentCommand \DocInfo { m }
+  {
+    \keys_set:nn { hdu.l3doc / docinfo } {#1}
+    \title { \bfseries \l__docinfo_title_clist }
+    \author { \l__docinfo_author_tl }
+    \date
+      {
+        v\hduthesis at version
+        \footnote{\url{https://github.com/xiamyphys/hduthesis}}~
+        (\hduthesis at date)
+      }
+    \tl_if_empty:NF \g__docinfo_main_CJK_font
+      { \exp_last_unbraced:No \setCJKmainfont \g__docinfo_main_CJK_font }
+    \tl_if_empty:NF \g__docinfo_sans_CJK_font
+      { \exp_last_unbraced:No \setCJKsansfont \g__docinfo_sans_CJK_font }
+    \tl_if_empty:NF \g__docinfo_mono_CJK_font
+      { \exp_last_unbraced:No \setCJKmonofont \g__docinfo_mono_CJK_font }
+  }
+
+\hypersetup{urlcolor = teal, filecolor = violet}
+\hologoFontSetup{general = \sffamily}
+\RequirePackage[mono = false]{libertine}
+\RequirePackage{geometry,framed,xeCJKfntef,tikz,pdfpages,subcaption}
+\setlength{\oddsidemargin}{.9in} \setlength{\evensidemargin}{.1in}
+\FrameSep = 0pt 
+\RequirePackage[os = mac]{menukeys}
+\RequirePackage{datetime} \yyyymmdddate
+\RequirePackage[fontset = none, scheme = plain]{ctex}\linespread{1.5}
+\renewcommand \emph[1]
+  {\CJKsout*[thickness = 2.5ex, format = \color{blue!15}]{#1}}
+\hook_gput_code:nnn { env/function/before } { . } { \vspace{-2ex} }
+
+\def\HoLogo at hduthesis#1
+  {
+    \raisebox{-.5pt}
+      {
+        \HOLOGO at mbox
+          {
+            \tikz[baseline = (hduthesis.base)]
+              {
+                \node [ inner~sep = 0pt ] (hduthesis)
+                  {\textsc{\cls{hduThesi\scalebox{1.2}[1.2]{S}}}};
+                \draw let \p1 = (hduthesis.west), \p2 = (hduthesis.east)
+                  in (\x1,\y1) (\x2,\y2) [ line~width = {.028pt * (\x2 - \x1)} ]
+                  ([yshift = -.5ex]hduthesis.north~west) to[ bend~right = 5 ]
+                  ([yshift = .25ex]hduthesis.north~east);
+              }
+          }
+      }
+  }
+
+\let \legacy at maketitle \maketitle
+\RenewDocumentCommand \maketitle {}
+  {
+    \titlepage
+    \newgeometry{margin = 1in}
+    \legacy at maketitle
+    \begin{center}
+      \tikz
+        {
+          \node [ opacity = .8 ] 
+            { \includegraphics[width = .15\paperwidth]{hdumotto.pdf} };
+          \node [ opacity = .3 ]
+            { \includegraphics[width = .21\paperwidth]{hdulogo.pdf} };
+      }
+    \end{center}
+    \thispagestyle{empty}
+  }
+
+\NewDocumentCommand \mailto {m}
+  { \texttt{<\href{mailto:#1}{#1}>} }
+\pdfstringdefDisableCommands
+  { \def\mailto#1{<#1>} }
+
+\endinput


Property changes on: trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesis-hdu.l3doc-module.code.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesis-pg.layout-module.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesis-pg.layout-module.code.tex	2024-11-21 21:04:20 UTC (rev 72922)
+++ trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesis-pg.layout-module.code.tex	2024-11-21 21:04:41 UTC (rev 72923)
@@ -13,7 +13,7 @@
       \par \vspace*{42\p@}
         { \LARGE\l_spread_box:nn {.575\linewidth} {硕士学位论文} }
       \par\vspace*{98\p@}
-      \semiLarge 题\qquad 目:
+      \semiLarge 题 \qquad 目:
       \l_center_box:nn { .75\linewidth } { \kaishu \l__docinfo_cntitle_tl }
       \vspace*{21\p@}\par
       \begin{tabular}

Modified: trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesis-unv.layout-module.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesis-unv.layout-module.code.tex	2024-11-21 21:04:20 UTC (rev 72922)
+++ trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesis-unv.layout-module.code.tex	2024-11-21 21:04:41 UTC (rev 72923)
@@ -72,4 +72,67 @@
     {./graphics/}{./graphic/}{./pictures/}{./picture/}
   }
 
+\clist_set:Nn \g_system_month_clist
+  {
+    January, February, March, April, May, June, July,
+    August, September, October, November, December
+  }
+\keys_define:nn { hduthesis / docinfo }
+  {
+    title .clist_set:N      = \l__docinfo_title_clist,
+    department .tl_set:N    = \l__docinfo_department_tl,
+    major .tl_set:N         = \l__docinfo_major_tl,
+    class .tl_set:N         = \l__docinfo_class_tl,
+    stdntid .tl_set:N       = \l__docinfo_stdntid_tl,
+    author .clist_set:N     = \l__docinfo_author_clist,
+    supervisor .clist_set:N = \l__docinfo_supervisor_clist,
+    bibsource .tl_set:N     = \l__docinfo_bibsource_tl,
+  }
+
+\NewDocumentCommand \DocInfo { m }
+  {
+    \keys_set:nn { hduthesis / docinfo } {#1}
+    \__hduthesis_docinfo_process_aux:  
+    \__hduthesis_docinfo_degree_if_aux:  
+  }
+
+\cs_set_protected_nopar:Nn \__hduthesis_docinfo_process_aux:
+  {
+    \exp_args:NNne \seq_set_split:Nnn
+      \l__title_tmp_seq {/} {\l__docinfo_title_clist}
+    \exp_args:NNe \tl_set:Nn
+      \l__docinfo_cntitle_tl { \seq_item:Nn \l__title_tmp_seq {1} }
+    \exp_args:NNe \tl_set:Nn
+      \l__docinfo_entitle_tl { \seq_item:Nn \l__title_tmp_seq {2} }
+    \exp_args:NNne \seq_set_split:Nnn
+      \l__author_tmp_seq {/} {\l__docinfo_author_clist}
+    \exp_args:NNe \tl_set:Nn
+      \l__docinfo_cnauthor_tl { \seq_item:Nn \l__author_tmp_seq {1} }
+    \exp_args:NNe \tl_set:Nn
+      \l__docinfo_enauthor_tl { \seq_item:Nn \l__author_tmp_seq {2} }
+    \exp_args:NNne \seq_set_split:Nnn
+      \l__supervisor_tmp_seq {/} {\l__docinfo_supervisor_clist}
+    \exp_args:NNe \tl_set:Nn
+      \l__docinfo_cnsupervisor_tl { \seq_item:Nn \l__supervisor_tmp_seq {1} }
+    \exp_args:NNe \tl_set:Nn
+      \l__docinfo_ensupervisor_tl { \seq_item:Nn \l__supervisor_tmp_seq {2} }
+    \bool_if:NF \g__hduthesis_agreement_bool
+      { \tl_clear:N \l__docinfo_bibsource_tl }
+    \tl_if_empty:NTF \l__docinfo_bibsource_tl
+      {
+        \newcommand*\printbibliography{\chapter*{参考文献}}
+        \renewcommand*\cite[1]{\textsuperscript{[##1]}}
+      }
+      {
+        \RequirePackage[sort&compress]{gbt7714}
+        \bibliographystyle{gbt7714-numerical}
+        \dim_set:Nn \bibsep {.35ex}
+        \newcommand*\printbibliography
+          {
+            \nocite{*} \bibliography { \l__docinfo_bibsource_tl }
+            \addcontentsline{toc}{chapter}{参考文献}
+          }
+      }
+  }
+
 \endinput

Modified: trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesis.cls
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesis.cls	2024-11-21 21:04:20 UTC (rev 72922)
+++ trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesis.cls	2024-11-21 21:04:41 UTC (rev 72923)
@@ -17,11 +17,12 @@
 %%                                    hduthesis-unv.layout-module.code,  *
 %%                                    hduthesis-bc.layout-module.code,   *
 %%                                    hduthesis-pg.layout-module.code,   *
+%%                                    hduthesis-hdu.l3doc-module.code,   *
 %%                                and README.md.                         *
 %%    available at https://github.com/xiamyphys/hduthesis                *
 %% ***********************************************************************
-\def\hduthesis at date{2024/11/20}
-\def\hduthesis at version{0.3.2}
+\def\hduthesis at date{2024/11/21}
+\def\hduthesis at version{0.3.3}
 
 \RequirePackage{etoolbox}
 \ProvidesExplClass{hduthesis} {\hduthesis at date} {\hduthesis at version}
@@ -35,12 +36,12 @@
 \hduthesis_msg_new:nn { 用户协议 }
   { \exp_not:n
     {
-      ⚠️⚠️⚠️⚠️⚠️~「hduThesiS」编译受阻🥵~⚠️⚠️⚠️⚠️⚠️~
+      ⚠️⚠️⚠️⚠️⚠️~     「hduThesiS」编译受阻🥵     ~⚠️⚠️⚠️⚠️⚠️~
       使用模板前请认真阅读模板说明文档封面上的「用户协议」~
       😡👊模板作者不对使用本模板产生的格式审查问题负责👊😡~
       添加选项 `agreed'[\documentclass[agreed]{hduthesis}]~
       即可顺利编译并默认代表您已同意本协议.~ 祝君科研顺利!~
-      如遇问题,可邮件反馈至📮xiamyphys at gmail.com.~ 
+      如遇问题,可邮件反馈至📮xiamyphys at gmail.com.
     }
   }
 
@@ -59,7 +60,7 @@
   {
     \ProvidesExplFile{hduthesis-#1-module.code.tex}
       {\hduthesis at date}{\hduthesis at version}
-      {HDUThesis~ \text_titlecase:n {#1} ~Module}
+      {hduThesiS~ \text_titlecase:n {#1} ~Module}
   }
 
 % global options
@@ -66,9 +67,12 @@
 \clist_new:N \g__hdu_base_class_options_clist
 \keys_define:nn { hduthesis / classoption }
   {
-    agreed .bool_set:N     = \g__hduthesis_agreement_bool,
-      agreed .initial:n    = false,
-      agreed .default:n    = true,
+    agreed .bool_set:N      = \g__hduthesis_agreement_bool,
+      agreed .initial:n     = false,
+      agreed .default:n     = true,
+    l3doc .bool_set:N       = \g__hduthesis_doc_bool,
+      l3doc .initial:n      = false,
+      l3doc .default:n      = true,
     math-font .tl_set:N     = \g__hduthesis_math_font,
     CJKmain-font .tl_set:N  = \g__hduthesis_main_CJK_font,
     CJKsans-font .tl_set:N  = \g__hduthesis_sans_CJK_font,
@@ -86,16 +90,19 @@
           { \l_keys_key_str = \exp_not:n {#1} }
       }
   }
+\ProcessKeyOptions [ hduthesis / classoption ]
 
-\ProcessKeyOptions [ hduthesis / classoption ]
+\bool_if:NT \g__hduthesis_doc_bool
+  {
+    \PassOptionsToClass{ 11pt, letterpaper } { l3doc }
+    \exp_args:NNV \LoadClass [ \g__hdu_base_class_options_clist ] { l3doc }
+    \hduthesis_load_module:n { hdu.l3doc }
+    \endinput
+  }
+
 \PassOptionsToClass { a4paper, zihao = -4 } { ctexrep }
 \PassOptionsToPackage { quiet, no-math } { xeCJK }
 \exp_args:NNV \LoadClass [ \g__hdu_base_class_options_clist ] { ctexrep }
-
-\RequirePackage { siunitx, circuitikz, pgfplots, listings, hologo,
-                  lipsum, zhlipsum, booktabs, multicol }
-\pgfplotsset { compat = newest }
-
 \bool_if:NTF \g__hduthesis_agreement_bool
   {
     \RequirePackage{hyperref}
@@ -108,63 +115,13 @@
       { \hypersetup { hidelinks, pdfproducer = hduThesiS~by~Mingyu~Xia } }
   } { \hduthesis_msg_error:nn { 用户协议 } { 未确认 } }
 
+\RequirePackage { siunitx, circuitikz, pgfplots, listings, hologo,
+                  lipsum, zhlipsum, booktabs, multicol }
+\pgfplotsset { compat = newest }
 \hduthesis_load_module:n { font }
 \hduthesis_load_module:n { unv.layout }
-
-\keys_define:nn { hduthesis / docinfo }
+\cs_new_protected_nopar:Nn \__hduthesis_docinfo_degree_if_aux:
   {
-    title .clist_set:N      = \l__docinfo_title_clist,
-    department .tl_set:N    = \l__docinfo_department_tl,
-    major .tl_set:N         = \l__docinfo_major_tl,
-    class .tl_set:N         = \l__docinfo_class_tl,
-    stdntid .tl_set:N       = \l__docinfo_stdntid_tl,
-    author .clist_set:N     = \l__docinfo_author_clist,
-    supervisor .clist_set:N = \l__docinfo_supervisor_clist,
-    bibsource .tl_set:N     = \l__docinfo_bibsource_tl,
-  }
-\clist_set:Nn \g_system_month_clist
-  {
-    January, February, March, April, May, June, July,
-    August, September, October, November, December
-  }
-\NewDocumentCommand \DocInfo { m }
-  {
-    \keys_set:nn { hduthesis / docinfo } {#1}
-    \exp_args:NNne \seq_set_split:Nnn
-      \l__title_tmp_seq {/} {\l__docinfo_title_clist}
-    \exp_args:NNe \tl_set:Nn
-      \l__docinfo_cntitle_tl { \seq_item:Nn \l__title_tmp_seq {1} }
-    \exp_args:NNe \tl_set:Nn
-      \l__docinfo_entitle_tl { \seq_item:Nn \l__title_tmp_seq {2} }
-    \exp_args:NNne \seq_set_split:Nnn
-      \l__author_tmp_seq {/} {\l__docinfo_author_clist}
-    \exp_args:NNe \tl_set:Nn
-      \l__docinfo_cnauthor_tl { \seq_item:Nn \l__author_tmp_seq {1} }
-    \exp_args:NNe \tl_set:Nn
-      \l__docinfo_enauthor_tl { \seq_item:Nn \l__author_tmp_seq {2} }
-    \exp_args:NNne \seq_set_split:Nnn
-      \l__supervisor_tmp_seq {/} {\l__docinfo_supervisor_clist}
-    \exp_args:NNe \tl_set:Nn
-      \l__docinfo_cnsupervisor_tl { \seq_item:Nn \l__supervisor_tmp_seq {1} }
-    \exp_args:NNe \tl_set:Nn
-      \l__docinfo_ensupervisor_tl { \seq_item:Nn \l__supervisor_tmp_seq {2} }
-    \bool_if:NF \g__hduthesis_agreement_bool
-      { \tl_clear:N \l__docinfo_bibsource_tl }
-    \tl_if_empty:NTF \l__docinfo_bibsource_tl
-      {
-        \newcommand*\printbibliography{\chapter*{参考文献}}
-        \renewcommand*\cite[1]{\textsuperscript{[##1]}}
-      }
-      {
-        \RequirePackage[sort&compress]{gbt7714}
-        \bibliographystyle{gbt7714-numerical}
-        \dim_set:Nn \bibsep {.35ex}
-        \newcommand*\printbibliography
-          {
-            \nocite{*} \bibliography { \l__docinfo_bibsource_tl }
-            \addcontentsline{toc}{chapter}{参考文献}
-          }
-      }
     \int_compare:nNnTF { \tl_count:N \l__docinfo_stdntid_tl } = { 8 }
       { \hduthesis_load_module:n { bc.layout } }
       { \hduthesis_load_module:n { pg.layout } }

Deleted: trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesisdoc.cls
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesisdoc.cls	2024-11-21 21:04:20 UTC (rev 72922)
+++ trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesisdoc.cls	2024-11-21 21:04:41 UTC (rev 72923)
@@ -1,111 +0,0 @@
-%% ***********************************************************************
-%%            Copyright 2024 by M.Y. XIA <xiamyphys at gmail.com>           *
-%%                                                                       *
-%%    This work may be distributed and/or modified under the conditions  *
-%%    of the LaTeX Project Public License                                *
-%%                                                                       *
-%%               http://www.latex-project.org/lppl.txt                   *
-%%                                                                       *
-%%    either version 1.3c of this license or any later version.          *
-%%                                                                       *
-%%    This work has the LPPL maintenance status `maintained'.            *
-%%                                                                       *
-%%    The Current Maintainers of this work is M.Y. XIA                   *
-%%                                                                       *
-%%    This work consists of the files hduthesisdoc.cls,                  *
-%%    available at https://github.com/xiamyphys/hduthesis                *
-%% ***********************************************************************
-\def\hduthesisdoc at date{2024/11/20}
-\def\hduthesisdoc at version{0.3.2}
-
-\ProvidesExplClass{hduthesisdoc} {\hduthesisdoc at date} {\hduthesisdoc at version}
-  {LaTeX Manual Class for LaTeX Package hduthesis}
-
-\LoadClass [ 11pt ] { l3doc }
-
-\keys_define:nn { hduthesisdoc / docinfo }
-  {
-    title .tl_set:N         = \l__docinfo_title_clist,
-    author .tl_set:N        = \l__docinfo_author_tl,
-    version .tl_set:N       = \l__docinfo_version_tl,
-    CJKmain-font .tl_set:N  = \g__hduthesisdoc_main_CJK_font,
-    CJKsans-font .tl_set:N  = \g__hduthesisdoc_sans_CJK_font,
-    CJKmono-font .tl_set:N  = \g__hduthesisdoc_mono_CJK_font
-  }
-
-\NewDocumentCommand \DocInfo { m }
-  {
-    \keys_set:nn { hduthesisdoc / docinfo } {#1}
-    \title { \bfseries \l__docinfo_title_clist }
-    \author { \l__docinfo_author_tl }
-    \date
-      {
-        \l__docinfo_version_tl
-        \footnote{\url{https://github.com/xiamyphys/hduthesis}}~ (\today)
-      }
-    \tl_if_empty:NF \g__hduthesisdoc_main_CJK_font
-      { \exp_last_unbraced:No \setCJKmainfont \g__hduthesisdoc_main_CJK_font }
-    \tl_if_empty:NF \g__hduthesisdoc_sans_CJK_font
-      { \exp_last_unbraced:No \setCJKsansfont \g__hduthesisdoc_sans_CJK_font }
-    \tl_if_empty:NF \g__hduthesisdoc_mono_CJK_font
-      { \exp_last_unbraced:No \setCJKmonofont \g__hduthesisdoc_mono_CJK_font }
-  }
-
-\hypersetup{urlcolor = teal, filecolor = violet}
-\hologoFontSetup{general = \sffamily}
-\RequirePackage[mono = false]{libertine}
-\RequirePackage{geometry,framed,xeCJKfntef,tikz,pdfpages,subcaption,fadingimage}
-\setlength{\oddsidemargin}{63pt}\setlength{\evensidemargin}{63pt}
-\FrameSep = 0pt 
-\RequirePackage[os = mac]{menukeys}
-\AddToHook{env/function/before}{\vspace{-.3\baselineskip}}
-\AddToHook{env/syntax/after}{\vspace{-.2\baselineskip}}
-\RequirePackage{datetime}\yyyymmdddate
-\RequirePackage[fontset = none, scheme = plain]{ctex}\linespread{1.5}
-\renewcommand{\emph}[1]{\CJKsout*[thickness=2.5ex, format=\color{blue!15}]{#1}}
-
-\def\HoLogo at hduthesis#1{%
-  \raisebox{-.5pt}
-    {
-      \HOLOGO at mbox
-        {
-          \tikz[baseline = (hduthesis.base)]
-          {
-              \node [ inner~sep = 0pt ] (hduthesis)
-                {\textsc{\cls{hduThesi\scalebox{1.2}[1.2]{S}}}};
-              \draw
-               let \p1 = (hduthesis.west), \p2 = (hduthesis.east)
-               in (\x1,\y1) (\x2,\y2)
-              [line~width = {.028pt*(\x2 - \x1)}]
-              ([yshift = -.5ex]hduthesis.north~west) to[bend~right = 5]
-              ([yshift = .25ex]hduthesis.north~east);
-          }
-        }
-    }
- }
-
-\let \legacy at maketitle \maketitle
-\RenewDocumentCommand \maketitle {}
-  {
-    \titlepage
-    \newgeometry{margin = 1in}
-    \legacy at maketitle
-    \begin{center}
-      \tikz
-        {
-          \node [ opacity = .8 ] 
-            { \includegraphics[width = .15\paperwidth]{hdumotto.pdf} };
-          \node [ opacity = .3 ]
-            { \includegraphics[width = .21\paperwidth]{hdulogo.pdf} };
-      }
-    \end{center}
-  }
-
-\NewDocumentCommand \mailto {m}
-  { \texttt{<\href{mailto:#1}{#1}>} }
-\pdfstringdefDisableCommands
-  { \def\mailto#1{<#1>} }
-
-\endinput
-
-% End of file hduthesisdoc.cls



More information about the tex-live-commits mailing list.