From d3361f4f6426e7796dd55279539ee8b12c2559cc Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 31 Dec 2016 01:19:47 +0000 Subject: biblatex-ieee (30dec16) git-svn-id: svn://tug.org/texlive/trunk@42818 c570f23f-e606-0410-a88d-b1316a301751 --- .../tex/latex/biblatex-ieee/ieee-alphabetic.bbx | 2 +- .../tex/latex/biblatex-ieee/ieee-alphabetic.cbx | 2 +- Master/texmf-dist/tex/latex/biblatex-ieee/ieee.bbx | 23 ++++++++++++++-------- Master/texmf-dist/tex/latex/biblatex-ieee/ieee.cbx | 2 +- 4 files changed, 18 insertions(+), 11 deletions(-) (limited to 'Master/texmf-dist/tex/latex/biblatex-ieee') diff --git a/Master/texmf-dist/tex/latex/biblatex-ieee/ieee-alphabetic.bbx b/Master/texmf-dist/tex/latex/biblatex-ieee/ieee-alphabetic.bbx index 37427adfafb..373693c67f4 100644 --- a/Master/texmf-dist/tex/latex/biblatex-ieee/ieee-alphabetic.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-ieee/ieee-alphabetic.bbx @@ -8,7 +8,7 @@ %% --------------------------------------------------------------- %% -\ProvidesFile{ieee-alphabetic.bbx}[2016/08/31 v1.1q biblatex bibliography style] +\ProvidesFile{ieee-alphabetic.bbx}[2016/12/30 vvv1.2 biblatex bibliography style] \RequireBibliographyStyle{ieee} diff --git a/Master/texmf-dist/tex/latex/biblatex-ieee/ieee-alphabetic.cbx b/Master/texmf-dist/tex/latex/biblatex-ieee/ieee-alphabetic.cbx index 1780bdbd161..dc0d17334db 100644 --- a/Master/texmf-dist/tex/latex/biblatex-ieee/ieee-alphabetic.cbx +++ b/Master/texmf-dist/tex/latex/biblatex-ieee/ieee-alphabetic.cbx @@ -8,7 +8,7 @@ %% --------------------------------------------------------------- %% -\ProvidesFile{ieee-alphabetic.cbx}[2016/08/31 v1.1q biblatex citation style] +\ProvidesFile{ieee-alphabetic.cbx}[2016/12/30 vvv1.2 biblatex citation style] \RequireCitationStyle{alphabetic} diff --git a/Master/texmf-dist/tex/latex/biblatex-ieee/ieee.bbx b/Master/texmf-dist/tex/latex/biblatex-ieee/ieee.bbx index 8273e792bc2..27d7ced6bb3 100644 --- a/Master/texmf-dist/tex/latex/biblatex-ieee/ieee.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-ieee/ieee.bbx @@ -8,11 +8,18 @@ %% --------------------------------------------------------------- %% -\ProvidesFile{ieee.bbx}[2016/08/31 v1.1q biblatex bibliography style] +\ProvidesFile{ieee.bbx}[2016/12/30 vvv1.2 biblatex bibliography style] % Load the standard style to avoid copy-pasting unnecessary material \RequireBibliographyStyle{numeric-comp} +% An option that carries through from author-year styles +\DeclareBibliographyOption[boolean]{dashed}[true]{% + \ifstrequal{#1}{true} + {\ExecuteBibliographyOptions{pagetracker}% + \renewbibmacro*{bbx:savehash}{\savefield{fullhash}{\bbx@lasthash}}} + {\renewbibmacro*{bbx:savehash}{}}} + % Alter settings that carry through from biblatex \ExecuteBibliographyOptions{ giveninits, @@ -27,8 +34,7 @@ \DeclareFieldFormat{pages}{% \mkpageprefix[bookpagination][\mkpagegrouped]{#1}% } -\DeclareFieldFormat{titlecase}{\bbx@colon@search\MakeCapital{#1}} -\DeclareFieldFormat{sentencecase}{\bbx@colon@search\MakeSentenceCase{#1}} +\DeclareFieldFormat{sentencecase}{\bbx@colon@search{\MakeSentenceCase*}{#1}} \DeclareFieldFormat[online]{title}{#1\isdot} \DeclareFieldFormat[report]{title}{\mkbibquote{#1\isdot}} \DeclareFieldFormat{url}{\bibstring{url}\addcolon\space\url{#1}} @@ -464,17 +470,18 @@ % {} {} \newcommand*{\bbx@colon@search}[2]{% - \bbx@colon@search@aux#1\empty#2: \stop + \bbx@colon@search@auxi\empty#2: \stop{#1}% } -\long\def\bbx@colon@search@aux#1#2: #3\stop{% - \expandafter#1\expandafter{#2}% - \ifblank{#3} +\long\def\bbx@colon@search@auxi#1: #2\stop#3{% + \expandafter\bbx@colon@search@auxii\expandafter{#1}{#3}% + \ifblank{#2} {} {% : % - \bbx@colon@search@aux#1\empty#3\stop + \bbx@colon@search@auxi\empty#2\stop{#3}% }% } +\newcommand\bbx@colon@search@auxii[2]{#2{#1}} % New bibliography drivers, using the required order of fields. These % are mainly copied from standard.bbx then modified. diff --git a/Master/texmf-dist/tex/latex/biblatex-ieee/ieee.cbx b/Master/texmf-dist/tex/latex/biblatex-ieee/ieee.cbx index 44a5c1965b5..4fa063e6428 100644 --- a/Master/texmf-dist/tex/latex/biblatex-ieee/ieee.cbx +++ b/Master/texmf-dist/tex/latex/biblatex-ieee/ieee.cbx @@ -8,7 +8,7 @@ %% --------------------------------------------------------------- %% -\ProvidesFile{ieee.cbx}[2016/08/31 v1.1q biblatex citation style] +\ProvidesFile{ieee.cbx}[2016/12/30 vvv1.2 biblatex citation style] \RequireCitationStyle{numeric-comp} -- cgit v1.2.3