summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015mx.bbx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-03-07 21:55:15 +0000
committerKarl Berry <karl@freefriends.org>2022-03-07 21:55:15 +0000
commitdfa212dc8fdf9ef4c6dbdbba14ae2944efbb307d (patch)
tree9a9188e7ddd2dae89b5b77d16d4b46647f1bff6d /Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015mx.bbx
parent324313fd1e49fa1e695cf00eae717710e6d23bb5 (diff)
biblatex-gb7714-2015 (7mar22)
git-svn-id: svn://tug.org/texlive/trunk@62497 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015mx.bbx')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015mx.bbx26
1 files changed, 14 insertions, 12 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015mx.bbx b/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015mx.bbx
index 92c9cd22fe6..aeb0ccccdc3 100644
--- a/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015mx.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015mx.bbx
@@ -11,7 +11,7 @@
%
% 版本和时间信息
%
-\def\versionofgbtstyle{2022/02/22 v1.1d}
+\def\versionofgbtstyle{2022/03/07 v1.1e}
\def\versionofbiblatex{\abx@version}
\ProvidesFile{gb7714-2015mx.bbx}[\versionofgbtstyle biblatex bibliography style]
%\RequireBiber[3]%显式指定用biber后端,当用bibtex时会报错,但其实不会影响编译,只是采用bibtex后无法达成格式需求
@@ -1216,7 +1216,7 @@
%\step[notfield=address,final]%当address不存在则继续
\step[fieldsource=url,final]%地址不存在且存在url那么转变为online
\step[typesource=report,typetarget=online]
- \step[fieldset=note,fieldvalue={report}]
+ \step[fieldset=entrysubtype,fieldvalue={report}]
}
\map{%
\pertype{thesis}
@@ -1299,7 +1299,7 @@
\step[typesource=archive,typetarget=online]
}
\map[overwrite]{%这里还必须有overwrite,注意不同版本存在差异,比如texlive2015变16后biber有变化(20161207修改正确)
- \step[fieldsource=note, final]%将note域信息复制给keywords,用于输出时容易区分标准和报纸
+ \step[fieldsource=entrysubtype, final]%将note域信息复制给keywords,用于输出时容易区分标准和报纸
\step[fieldset=keywords, fieldvalue={,}, append]
\step[fieldset=keywords, origfieldval, append]
}
@@ -2482,15 +2482,17 @@ incollection,proceedings,inproceedings]{number}{%
%
% 对edition版本信息格式做出修改
%
-\DeclareFieldFormat{edition}{%源来自biblatex.DEF
-\testCJKfirst{userd}%
-\iftoggle{ifCJKforgbt}%
-{\ifinteger{#1}%
-{\printtext{#1\str@edition}}%
-{#1\isdot}}%
-{\ifinteger{#1}%
-{\mkbibordedition{#1}~\bibstring{edition}}%
-{#1\isdot}}}
+\DeclareFieldFormat{edition}{\bibtitlefont%源来自biblatex.DEF
+\ifnumgreater{#1}{1}{%
+ \testCJKfirst{userd}%
+ \iftoggle{ifCJKforgbt}%
+ {\ifinteger{#1}%
+ {\printtext{#1\str@edition}}%
+ {#1\isdot}}%
+ {\ifinteger{#1}%
+ {\mkbibordedition{#1}~\bibstring{edition}}%
+ {#1\isdot}}}{}%
+}
%
% 对version的版本信息做出修改