From 6f7df0e5d611222adbc54b865647bebe6da16708 Mon Sep 17 00:00:00 2001 From: Yu Xiong Date: Tue, 19 Mar 2024 20:01:43 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=A4=84=E7=90=86=E5=B1=95=E5=BC=80?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E7=9A=84=E5=90=91=E5=90=8E=E5=85=BC=E5=AE=B9?= =?UTF-8?q?=20-=20=E9=BB=98=E8=AE=A4=E5=8F=91=E5=B8=83=E4=B8=BA=20prerelea?= =?UTF-8?q?se?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 2 +- source/njuthesis.dtx | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4b3ccd6..bc7ef8d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -80,7 +80,7 @@ jobs: - uses: "marvinpinto/action-automatic-releases@latest" with: repo_token: "${{ secrets.GITHUB_TOKEN }}" - prerelease: false + prerelease: true files: | njuthesis-v*.pdf njuthesis-user-v*.zip diff --git a/source/njuthesis.dtx b/source/njuthesis.dtx index ed34680..09bc0ce 100644 --- a/source/njuthesis.dtx +++ b/source/njuthesis.dtx @@ -801,7 +801,7 @@ To produce the documentation run the original source files ending with % 新的一章以及封面、摘要、参考文献表等特殊页面都会从奇数页开始, % 在奇数页结束的内容后会补上一页空页,更适合印刷输出。 % -% \begin{function}[added=2021-12-15]{draft} +% \begin{function}[added=2021-12-15,updated=2024-03-19]{draft} % \begin{syntax} % <\OPT{draft}> % \end{syntax} @@ -4650,6 +4650,11 @@ To produce the documentation run the original source files ending with { \keys_define:nn { nju / info } { #1 * .groups:n = { anonymous } } } % \end{macrocode} % +% 处理新增的展开类型,实现向后兼容。 +% \begin{macrocode} +\cs_generate_variant:Nn \tl_gset:Nn { Ne } +% \end{macrocode} +% % \changes{v0.15}{2022/01/22}{正确处理双导师信息。} % \changes{v1.1}{2022/11/04}{修复研究生模板封面的导师信息居中问题。} % 在导言区录入用户信息后进行变量设置。此处使用到了 \pkg{ctex} 提供的命令,