-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f842ab6
commit 493ced2
Showing
5 changed files
with
19 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
% \iffalse meta-comment | ||
% | ||
% Copyright (C) 2017--2021 by Xiangdong Zeng <[email protected]> | ||
% Copyright (C) 2017--2022 by Xiangdong Zeng <[email protected]> | ||
% | ||
% This work may be distributed and/or modified under the | ||
% conditions of the LaTeX Project Public License, either | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
% \iffalse meta-comment | ||
% | ||
% Copyright (C) 2017--2021 by Xiangdong Zeng <[email protected]> | ||
% Copyright (C) 2017--2022 by Xiangdong Zeng <[email protected]> | ||
% | ||
% This work may be distributed and/or modified under the | ||
% conditions of the LaTeX Project Public License, either | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
% \iffalse meta-comment | ||
% | ||
% Copyright (C) 2017--2021 by Xiangdong Zeng <[email protected]> | ||
% Copyright (C) 2017--2022 by Xiangdong Zeng <[email protected]> | ||
% | ||
% This work may be distributed and/or modified under the | ||
% conditions of the LaTeX Project Public License, either | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
% !TeX program = XeLaTeX | ||
% !TeX encoding = UTF-8 | ||
% | ||
% Copyright (C) 2017--2021 by Xiangdong Zeng <[email protected]> | ||
% Copyright (C) 2017--2022 by Xiangdong Zeng <[email protected]> | ||
% | ||
% This work may be distributed and/or modified under the | ||
% conditions of the LaTeX Project Public License, either | ||
|
@@ -124,7 +124,7 @@ version. | |
|
||
----- | ||
|
||
Copyright (C) 2017–2021 by Xiangdong Zeng <[email protected]>. | ||
Copyright (C) 2017–2022 by Xiangdong Zeng <[email protected]>. | ||
%</readme> | ||
% | ||
%<*internal> | ||
|
@@ -142,7 +142,7 @@ Copyright (C) 2017–2021 by Xiangdong Zeng <[email protected]>. | |
|
||
\preamble | ||
|
||
Copyright (C) 2017--2021 by Xiangdong Zeng <[email protected]> | ||
Copyright (C) 2017--2022 by Xiangdong Zeng <[email protected]> | ||
|
||
This work may be distributed and/or modified under the | ||
conditions of the LaTeX Project Public License, either | ||
|
@@ -5797,11 +5797,23 @@ Copyright (C) 2017–2021 by Xiangdong Zeng <[email protected]>. | |
% \end{macrocode} | ||
% \end{macro} | ||
% | ||
% \changes{v0.8}{2022/01/08}{兼容 \tn{addbibresource} 命令。} | ||
% | ||
% 由于 \pkg{biblatex} 在导言区后才载入,需要单独定义添加参考文献数据源的命令以实现兼容。该命令需要在载入宏包前取消定义。 | ||
% \begin{macrocode} | ||
\bool_if:NF \l_@@_bibtex_bool | ||
{ | ||
\NewDocumentCommand \addbibresource { m } | ||
{ \clist_gput_right:Nn \l_@@_bib_resource_clist {#1} } | ||
} | ||
% \end{macrocode} | ||
% | ||
% \begin{macro}{\@@_biblatex_pre_setup:,\@@_biblatex_post_setup:} | ||
% \pkg{biblatex} 相关设置。 | ||
% \begin{macrocode} | ||
\cs_new_protected:Npn \@@_biblatex_pre_setup: | ||
{ | ||
\cs_undefine:N \addbibresource | ||
\clist_new:N \l_@@_biblatex_options_clist | ||
\clist_put_right:Nn \l_@@_biblatex_options_clist { hyperref = manual } | ||
% \end{macrocode} | ||
|