summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-ieee/ieee.bbx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-ieee/ieee.bbx')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-ieee/ieee.bbx23
1 files changed, 15 insertions, 8 deletions
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 @@
% {<process>} {<text>}
\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.