Skip to content

Commit

Permalink
feat: 为旧版 L3 的库函数添加 e 型展开支持
Browse files Browse the repository at this point in the history
  • Loading branch information
atxy-blip committed Nov 14, 2023
1 parent 8467d95 commit 956dd17
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## [未发布]

## [1.3.1] - 2023-11-10
## [1.3.1] - 2023-11-14

### 新增

Expand Down
16 changes: 13 additions & 3 deletions source/njuthesis.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -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-10 00:00:00
%<+!driver>\GetIdInfo $Id: njuthesis.dtx 1.3.1 2023-11-14 11:30:00
%<+!driver> +0800 NJU LUG <[email protected]>$
%<class> {Thesis template for Nanjing University}
%<class>\ProvidesExplClass{njuthesis}
Expand Down Expand Up @@ -148,7 +148,7 @@ To produce the documentation run the original source files ending with
% \thanks{E-mail: \href{mailto:[email protected]}
% {[email protected]}}}
%
% \date{v1.3.1 \quad 2023-11-10}
% \date{v1.3.1 \quad 2023-11-14}
%
% \changes{v0.1}{2021/09/04}{开始开发。}
% \changes{v0.2}{2021/09/07}{初步搭建了可用的模板。}
Expand Down Expand Up @@ -2632,6 +2632,16 @@ To produce the documentation run the original source files ending with
}
% \end{macrocode}
%
% \changes{v1.3}{2023/11/14}{兼容新版 \LaTeX3 的 |e| 型展开变化。}
% 兼容新版 L3 特性。另见 \url{https://github.com/CTeX-org/ctex-kit/pull/678}。
% \begin{macrocode}
\@ifpackagelater { expl3 } { 2023/10/10 } { }
{
\cs_generate_variant:Nn \tl_set:Nn { Ne }
\cs_generate_variant:Nn \tl_const:Nn { Ne }
}
% \end{macrocode}
%
% 目前 \cls{njuthesis} 仅支持 \XeTeX 和 \LuaTeX。
% \begin{macrocode}
\msg_new:nnn { njuthesis } { unsupported-engine }
Expand Down Expand Up @@ -8573,7 +8583,7 @@ To produce the documentation run the original source files ending with
}
% \end{macrocode}
%
% 处理 \cls{l3doc} 新追加的 e 型展开。另见 \url{https://github.com/CTeX-org/ctex-kit/pull/678}
% 处理 \cls{l3doc} 新追加的 |e| 型展开。
% \begin{macrocode}
\cs_if_exist:NF \__codedoc_get_hyper_target:xN
{ \cs_new_eq:NN \__codedoc_get_hyper_target:xN \__codedoc_get_hyper_target:eN }
Expand Down

0 comments on commit 956dd17

Please sign in to comment.