diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-ieee/ieee.cbx')
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-ieee/ieee.cbx | 32 |
1 files changed, 21 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-ieee/ieee.cbx b/Master/texmf-dist/tex/latex/biblatex-ieee/ieee.cbx index 976dbf7eab4..7e13f6c2b83 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}[2013/01/27 v1.1g biblatex citation style] +\ProvidesFile{ieee.cbx}[2013/02/08 v1.1h biblatex citation style] \RequireCitationStyle{numeric-comp} @@ -23,12 +23,15 @@ % redeclaring here. \DeclareCiteCommand{\cite}% {\usebibmacro{cite:init}% + \bibopenbracket \usebibmacro{prenote}} {\usebibmacro{citeindex}% \usebibmacro{cite:comp}} {} {\usebibmacro{cite:dump}% - \usebibmacro{postnote}} + \usebibmacro{postnote}% + \bibclosebracket + } % The second part if more awkward. To add brackets, we cannot use labelnumber % as the biblatex kernel does not do a great job on the difference between it @@ -48,9 +51,9 @@ {} {\usebibmacro{cite:dump}% \ifnumgreater{\value{cbx@tempcntb}}{-1} - {\multicitedelim} + {\bibclosebracket\multicitedelim\bibopenbracket} {}% - \printtext[brackets]{\printtext[bibhyperref]{% + \printtext{\printtext[bibhyperref]{% \printfield{prefixnumber}% \printfield{labelnumber}}}}}} {\usebibmacro{cite:comp:end}}% @@ -60,18 +63,18 @@ \renewbibmacro*{cite:comp:end}{% \usebibmacro{cite:dump}% \ifnumgreater{\value{cbx@tempcntb}}{-1} - {\multicitedelim} + {\bibclosebracket\multicitedelim\bibopenbracket} {}% - \printtext[brackets]{\printtext[bibhyperref]{% + \printtext{\printtext[bibhyperref]{% \printfield{prefixnumber}% \printfield{labelnumber}}}} \renewbibmacro*{cite:comp:inset}{% \usebibmacro{cite:dump}% \ifnumgreater{\value{cbx@tempcntb}}{-1} - {\multicitedelim} + {\bibclosebracket\multicitedelim\bibopenbracket} {}% - \printtext[brackets]{\printtext[bibhyperref]{% + \printtext{\printtext[bibhyperref]{% \printfield{prefixnumber}% \printfield{labelnumber}% \printfield{entrysetcount}}}% @@ -79,14 +82,17 @@ \renewbibmacro*{cite:dump}{% \ifnumgreater{\value{cbx@tempcnta}}{0} - {\ifnumgreater{\value{cbx@tempcnta}}{1} + {% + \bibclosebracket + \ifnumgreater{\value{cbx@tempcnta}}{1} {\bibrangedash} {\multicitedelim}% + \bibopenbracket \bibhyperref[\cbx@lastkey]{% \ifdef\cbx@lastprefix {\printtext[prefixnumber]{\cbx@lastprefix}} {}% - \printtext[brackets]{\cbx@lastnumber}}} + \printtext{\cbx@lastnumber}}} {}% \setcounter{cbx@tempcnta}{0}% \global\undef\cbx@lastprefix} @@ -102,6 +108,7 @@ {\printfield[citetitle]{labeltitle}} {\printnames{labelname}}% \addspace + \bibopenbracket \ifnumequal{\value{citecount}}{1} {\usebibmacro{prenote}} {}% @@ -114,7 +121,10 @@ {\usebibmacro{citeindex}% \usebibmacro{textcite}} {} - {\usebibmacro{postnote}} + {% + \usebibmacro{postnote}% + \bibclosebracket + } %% %% Copyright (C) 2011-2103 by |