From 3240c1674f9e97ae7bec00c12e9b47976a8feaac Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 17 Mar 2016 21:33:44 +0000 Subject: biblatex-caspervector (17mar16) git-svn-id: svn://tug.org/texlive/trunk@40055 c570f23f-e606-0410-a88d-b1316a301751 --- .../biblatex-caspervector/biblatex-caspervector-gbk.def | 8 ++++---- .../biblatex-caspervector-utf8.def | 8 ++++---- .../tex/latex/biblatex-caspervector/caspervector.bbx | 17 +++++------------ .../tex/latex/biblatex-caspervector/caspervector.cbx | 5 ++--- 4 files changed, 15 insertions(+), 23 deletions(-) (limited to 'Master/texmf-dist/tex/latex/biblatex-caspervector') diff --git a/Master/texmf-dist/tex/latex/biblatex-caspervector/biblatex-caspervector-gbk.def b/Master/texmf-dist/tex/latex/biblatex-caspervector/biblatex-caspervector-gbk.def index 157838291a2..8ea57508b1e 100644 --- a/Master/texmf-dist/tex/latex/biblatex-caspervector/biblatex-caspervector-gbk.def +++ b/Master/texmf-dist/tex/latex/biblatex-caspervector/biblatex-caspervector-gbk.def @@ -1,5 +1,3 @@ -% vim:ft=tex:ts=2:sw=2 -% % Casper Ti. Vector's biblatex style % % Copyright (c) 2012-2014 Casper Ti. Vector @@ -22,7 +20,7 @@ % biblatex-caspervector-utf8.def \ProvidesFile{biblatex-caspervector-gbk.def}% - [2015/06/18 v0.2.2 Chinese punctuations and captions in GBK] + [2016/03/17 v0.2.3 Chinese punctuations and captions in GBK] \newcommand*\bbx@cnldquot{} \newcommand*\bbx@cnrdquot{} @@ -43,7 +41,8 @@ \ifnameundef{author}{}{% \bbx@cegen% {\printnames{author}\printtext{}}% - {\usebibmacro{byauthor}}% + % `\usebibmacro{byauthor}' does not print with `useauthor' enabled. + {\printnames[byauthor]{author}}% }% } \newbibmacro*{cebyeditor}{% @@ -67,3 +66,4 @@ }% } +% vim:ft=tex:ts=2:sw=2 diff --git a/Master/texmf-dist/tex/latex/biblatex-caspervector/biblatex-caspervector-utf8.def b/Master/texmf-dist/tex/latex/biblatex-caspervector/biblatex-caspervector-utf8.def index 8ed0089469b..15642cfeeba 100644 --- a/Master/texmf-dist/tex/latex/biblatex-caspervector/biblatex-caspervector-utf8.def +++ b/Master/texmf-dist/tex/latex/biblatex-caspervector/biblatex-caspervector-utf8.def @@ -1,5 +1,3 @@ -% vim:ft=tex:ts=2:sw=2 -% % Casper Ti. Vector's biblatex style % % Copyright (c) 2012-2014 Casper Ti. Vector @@ -22,7 +20,7 @@ % biblatex-caspervector-utf8.def \ProvidesFile{biblatex-caspervector-utf8.def}% - [2015/06/18 v0.2.2 Chinese punctuations and captions in UTF-8] + [2016/03/17 v0.2.3 Chinese punctuations and captions in UTF-8] \newcommand*\bbx@cnldquot{“} \newcommand*\bbx@cnrdquot{”} @@ -43,7 +41,8 @@ \ifnameundef{author}{}{% \bbx@cegen% {\printnames{author}\printtext{著}}% - {\usebibmacro{byauthor}}% + % `\usebibmacro{byauthor}' does not print with `useauthor' enabled. + {\printnames[byauthor]{author}}% }% } \newbibmacro*{cebyeditor}{% @@ -67,3 +66,4 @@ }% } +% vim:ft=tex:ts=2:sw=2 diff --git a/Master/texmf-dist/tex/latex/biblatex-caspervector/caspervector.bbx b/Master/texmf-dist/tex/latex/biblatex-caspervector/caspervector.bbx index 995b8874161..45a8270e5a1 100644 --- a/Master/texmf-dist/tex/latex/biblatex-caspervector/caspervector.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-caspervector/caspervector.bbx @@ -1,8 +1,6 @@ -% vim:ft=tex:ts=2:sw=2 -% % Casper Ti. Vector's biblatex style % -% Copyright (c) 2012-2015 Casper Ti. Vector +% Copyright (c) 2012-2016 Casper Ti. Vector % % This work may be distributed and/or modified under the conditions of the % LaTeX Project Public License, either version 1.3 of this license or (at @@ -22,7 +20,7 @@ % biblatex-caspervector-utf8.def \ProvidesFile{caspervector.bbx}% - [2015/06/18 v0.2.2 Casper Ti. Vector's biblatex bibliography style] + [2016/03/17 v0.2.3 Casper Ti. Vector's biblatex bibliography style] \RequireBiber[3] \RequireBibliographyStyle{numeric} @@ -46,7 +44,7 @@ \newcommand*{\bbx@cegen}[2]{\iffieldequalstr{userf}{zh}{#1}{#2}} \newcommand*{\bbx@cecomma}{\bbx@cegen{\bbx@cncomma}{\addcomma\addspace}} \newcommand*{\bbx@cecolon}{\bbx@cegen{\bbx@cncolon}{\addcolon\addspace}} -\newcommand*{\bbx@cescolon}{\bbx@cegen{\bbx@cnscolon}{\addcolon\addspace}} +\newcommand*{\bbx@cescolon}{\bbx@cegen{\bbx@cnscolon}{\addsemicolon\addspace}} \newcommand*{\bbx@ceperiod}{\bbx@cegen{\bbx@cnperiod}{\addperiod\addspace}} \newcommand*{\bbx@cespace}{\bbx@cegen{}{\addspace}} \newcommand*{\bbx@mybibquote}[1]% @@ -78,12 +76,6 @@ \newbibmacro*{type}{\iffieldundef{type}{}{\printfield{type}}} \newbibmacro*{number}{\iffieldundef{number}{}{\printfield{number}}} -\DeclareNameFormat{default}{% - \usebibmacro{name:first-last}{#1}{#4}{#5}{#7}% - \usebibmacro{name:andothers}% -} -\DeclareNameAlias{sortname}{default} - \newbibmacro*{author+others}{% \ifthenelse% {\ifnameundef{author} \and \ifnameundef{editor} \and \ifnameundef{translator}}% @@ -143,7 +135,7 @@ \newblock \usebibmacro{cein:}% \newblock - \printnames{bookauthor}\setunit{\bbx@ceperiod}% + \printnames{bookauthor}\setunit*{\bbx@ceperiod}% \newblock \printfield{booktitle}\setunit{\bbx@ceperiod}% \newblock @@ -298,3 +290,4 @@ } } +% vim:ft=tex:ts=2:sw=2 diff --git a/Master/texmf-dist/tex/latex/biblatex-caspervector/caspervector.cbx b/Master/texmf-dist/tex/latex/biblatex-caspervector/caspervector.cbx index 6f87aa044e5..470935f4843 100644 --- a/Master/texmf-dist/tex/latex/biblatex-caspervector/caspervector.cbx +++ b/Master/texmf-dist/tex/latex/biblatex-caspervector/caspervector.cbx @@ -1,5 +1,3 @@ -% vim:ft=tex:ts=2:sw=2 -% % Casper Ti. Vector's biblatex style % % Copyright (c) 2012-2014 Casper Ti. Vector @@ -22,7 +20,7 @@ % biblatex-caspervector-utf8.def \ProvidesFile{caspervector.cbx}% - [2015/06/18 v0.2.2 Casper Ti. Vector's biblatex citation style] + [2016/03/17 v0.2.3 Casper Ti. Vector's biblatex citation style] \RequireCitationStyle{numeric-comp} \ExecuteBibliographyOptions{ @@ -63,3 +61,4 @@ \usebibmacro{postnote}% } +% vim:ft=tex:ts=2:sw=2 -- cgit v1.2.3