From 963531ca70238da0247961325e8275a3e837c26c Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 2 Jul 2018 20:39:36 +0000 Subject: biblatex-caspervector (2jul18) git-svn-id: svn://tug.org/texlive/trunk@48122 c570f23f-e606-0410-a88d-b1316a301751 --- .../latex/biblatex-caspervector/caspervector.cbx | 61 ++++++++-------------- 1 file changed, 22 insertions(+), 39 deletions(-) (limited to 'Master/texmf-dist/tex/latex/biblatex-caspervector/caspervector.cbx') 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 -- cgit v1.2.3