summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-caspervector/caspervector.cbx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-07-02 20:39:36 +0000
committerKarl Berry <karl@freefriends.org>2018-07-02 20:39:36 +0000
commit963531ca70238da0247961325e8275a3e837c26c (patch)
treefeac51426db880cd8af961527159803aabecfd3b /Master/texmf-dist/tex/latex/biblatex-caspervector/caspervector.cbx
parent8e85398efb2a6eaedf5816009a5aa5ad628e8c19 (diff)
biblatex-caspervector (2jul18)
git-svn-id: svn://tug.org/texlive/trunk@48122 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-caspervector/caspervector.cbx')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-caspervector/caspervector.cbx61
1 files changed, 22 insertions, 39 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-caspervector/caspervector.cbx b/Master/texmf-dist/tex/latex/biblatex-caspervector/caspervector.cbx
index f3911530253..236f4c48ecd 100644
--- a/Master/texmf-dist/tex/latex/biblatex-caspervector/caspervector.cbx
+++ b/Master/texmf-dist/tex/latex/biblatex-caspervector/caspervector.cbx
@@ -1,12 +1,12 @@
% Casper Ti. Vector's biblatex style
%
-% Copyright (c) 2012-2014 Casper Ti. Vector
+% Copyright (c) 2012-2014,2018 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
% your option) any later version.
% The latest version of this license is in
-% http://www.latex-project.org/lppl.txt
+% https://www.latex-project.org/lppl.txt
% and version 1.3 or later is part of all distributions of LaTeX version
% 2005/12/01 or later.
%
@@ -16,49 +16,32 @@
% This work consists of the following files:
% caspervector.bbx
% caspervector.cbx
-% biblatex-caspervector-gbk.def
-% biblatex-caspervector-utf8.def
+% caspervector-ay.bbx
+% caspervector-ay.cbx
+% blx-caspervector-base.def
+% blx-caspervector-gbk.def
+% blx-caspervector-utf8.def
\ProvidesFile{caspervector.cbx}%
- [2017/03/01 v0.2.7 Casper Ti. Vector's biblatex citation style]
+ [2018/06/29 v0.3.3 Casper Ti. Vector's numeric biblatex citestyle]
\RequireCitationStyle{numeric-comp}
-\ExecuteBibliographyOptions{
- autocite = superscript,
- autopunct = false
-}
-
+\ExecuteBibliographyOptions{autocite = superscript}
\newcommand*{\cbx@mksuperbrackets}[1]{\mkbibsuperscript{\mkbibbrackets{#1}}}
-\DeclareCiteCommand{\cite}
-{%
- \usebibmacro{cite:init}%
- \usebibmacro{prenote}%
-}
-{%
- \usebibmacro{citeindex}%
- \usebibmacro{cite:comp}%
-}
-{}
-{%
- \usebibmacro{cite:dump}%
- \usebibmacro{postnote}%
-}
+\DeclareCiteCommand{\cite}%
+ {\usebibmacro{cite:init}\usebibmacro{prenote}}%
+ {\usebibmacro{citeindex}\usebibmacro{cite:comp}}{}%
+ {\usebibmacro{cite:dump}\usebibmacro{postnote}}
-\DeclareCiteCommand{\supercite}[\cbx@mksuperbrackets]
-{%
- \usebibmacro{cite:init}%
- \let\multicitedelim=\supercitedelim
- \usebibmacro{prenote}%
-}
-{%
- \usebibmacro{citeindex}%
- \usebibmacro{cite:comp}%
-}%
-{}
-{%
- \usebibmacro{cite:dump}%
- \usebibmacro{postnote}%
-}
+\DeclareCiteCommand{\supercite}[\cbx@mksuperbrackets]{%
+ \usebibmacro{cite:init}%
+ \let\multicitedelim=\supercitedelim
+ \iffieldundef{prenote}{}%
+ {\BibliographyWarning{Ignoring prenote argument}}%
+ \iffieldundef{postnote}{}%
+ {\BibliographyWarning{Ignoring postnote argument}}%
+ }{\usebibmacro{citeindex}\usebibmacro{cite:comp}}{}%
+ {\usebibmacro{cite:dump}\usebibmacro{postnote}}
% vim:ft=tex:ts=2:sw=2