From c5afa218a259da04240dced0cd75453540d88556 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 17 May 2022 20:10:44 +0000 Subject: biblatex-gb7714-2015 (17may22) git-svn-id: svn://tug.org/texlive/trunk@63322 c570f23f-e606-0410-a88d-b1316a301751 --- .../tex/latex/biblatex-gb7714-2015/gb7714-2015ay.cbx | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-2015ay.cbx') 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需要使用的命令 -- cgit v1.2.3