summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015ay.cbx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-05-17 20:10:44 +0000
committerKarl Berry <karl@freefriends.org>2022-05-17 20:10:44 +0000
commitc5afa218a259da04240dced0cd75453540d88556 (patch)
treefbb0ae6145e6add0fc3c6c80a5fad89e69c570dd /Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015ay.cbx
parentda8cfe6a9657c7273bc3b57ee20a83fa37036e2d (diff)
biblatex-gb7714-2015 (17may22)
git-svn-id: svn://tug.org/texlive/trunk@63322 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015ay.cbx')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015ay.cbx14
1 files changed, 5 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015ay.cbx b/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015ay.cbx
index 19a92bceed4..c0d9d4b9850 100644
--- a/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015ay.cbx
+++ b/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015ay.cbx
@@ -67,7 +67,7 @@
%sorting = none ,
maxcitenames=1,
mincitenames=1,
- uniquename=init,%因为使用了名字缩写选项,所以需要设置uniquename=init而不是full避免冲突
+ uniquename=false,%uniquename=init
uniquelist=minyear
}
@@ -123,6 +123,7 @@ test {\iftoggle{iftlseven}}%3.7=biblatex
\iffieldequalstr{userf}{chinese}{\renewcommand*{\andothersdelim}{\addthinspace}}%\addthinspace
{\renewcommand*{\andothersdelim}{\addspace}}%
}
+\newcommand{\compextradelim}{\addcomma\addthinspace} %标注中压缩后相同年份后附加标签a、b之间的标点
%
% 修订使可用选项gblabelref来控制是否将标准标签中的作者加上超链接
@@ -138,7 +139,7 @@ test {\iftoggle{iftlseven}}%3.7=biblatex
{\iffieldequals{namehash}{\cbx@lasthash}
{\ifthenelse{\iffieldequals{labelyear}{\cbx@lastyear}\AND
\(\value{multicitecount}=0\OR\iffieldundef{postnote}\)}
- {\setunit{\addcomma\addthinspace}%同一作者的年份之间的标点,示例见thesis-nwafu-ay
+ {\setunit{\compextradelim}%同一作者的年份之间的标点,示例见thesis-nwafu-ay%\addcomma\addthinspace
\usebibmacro{cite:extradate}}
{\setunit{\compcitedelim}%
\usebibmacro{cite:labeldate+extradate}%
@@ -156,7 +157,7 @@ test {\iftoggle{iftlseven}}%3.7=biblatex
{\iffieldundef{shorthand}
{\ifthenelse{\iffieldequals{labelyear}{\cbx@lastyear}\AND
\(\value{multicitecount}=0\OR\iffieldundef{postnote}\)}
- {\setunit{\addcomma}%
+ {\setunit{\compextradelim}%
\usebibmacro{cite:extradate}}
{\setunit{\compcitedelim}%
\usebibmacro{cite:labeldate+extradate}%
@@ -241,16 +242,11 @@ test {\iftoggle{iftlseven}}%3.7=biblatex
%
\DeclareCiteCommand{\parencite}%[\mkbibparens]
{\usebibmacro{cite:init}%
- \renewbibmacro*{postnote}{%
- \iffieldundef{postnote}%
- {}%
- {\nopunct%
- \printfield{postnote}}}%
\mkbibleftborder\usebibmacro{prenote}}%
{\usebibmacro{citeindex}%
\usebibmacro{cite}}
{}
- {\mkbibrightborder\mkbibsuperscript{\usebibmacro{postnote}}}
+ {\usebibmacro{postnote}\mkbibrightborder}
%
% 重定义footcite需要使用的命令