diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-ieee/ieee.bbx')
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-ieee/ieee.bbx | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-ieee/ieee.bbx b/Master/texmf-dist/tex/latex/biblatex-ieee/ieee.bbx index afa37ae46b6..2494dc05c9b 100644 --- a/Master/texmf-dist/tex/latex/biblatex-ieee/ieee.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-ieee/ieee.bbx @@ -8,7 +8,7 @@ %% --------------------------------------------------------------- %% -\ProvidesFile{ieee.bbx}[2013/10/25 v1.1j biblatex bibliography style] +\ProvidesFile{ieee.bbx}[2015/03/12 v1.1k biblatex bibliography style] % Load the standard style to avoid copy-pasting unnecessary material \RequireBibliographyStyle{numeric-comp} @@ -27,7 +27,8 @@ \DeclareFieldFormat{pages}{% \mkpageprefix[bookpagination][\mkpagegrouped]{#1}% } -\DeclareFieldFormat{sentencecase}{\MakeSentenceCase{#1}} +\DeclareFieldFormat{titlecase}{\bbx@colon@search\MakeCapital{#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}} @@ -461,6 +462,20 @@ \fi } +% {<process>} {<text>} +\newcommand*{\bbx@colon@search}[2]{% + \bbx@colon@search@aux#1#2: \stop +} +\long\def\bbx@colon@search@aux#1#2: #3\stop{% + #1{#2}% + \ifblank{#3} + {} + {% + : % + \bbx@colon@search@aux#1#3\stop + }% +} + % New bibliography drivers, using the required order of fields. These % are mainly copied from standard.bbx then modified. \DeclareBibliographyDriver{article}{% @@ -791,7 +806,7 @@ } %% -%% Copyright (C) 2011-2013 by +%% Copyright (C) 2011-2013,2015 by %% Joseph Wright <joseph.wright@morningstar2.co.uk> %% %% It may be distributed and/or modified under the conditions of |