diff options
author | Karl Berry <karl@freefriends.org> | 2021-12-07 21:25:15 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-12-07 21:25:15 +0000 |
commit | 71cecc093260b9eb586c5985c9286c36f2e339f5 (patch) | |
tree | 9afdd4e0fe23092bafa692d336d583771c6ac5d4 /Master/texmf-dist/tex/latex | |
parent | 0dd1c2de466ec3fc7d6ea0574b19012db5660093 (diff) |
biblatex-ieee (7dec21)
git-svn-id: svn://tug.org/texlive/trunk@61243 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
4 files changed, 40 insertions, 11 deletions
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 ec11ab8dd04..ff82f97f559 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}[2021/03/25 v1.3e biblatex bibliography style] +\ProvidesFile{ieee-alphabetic.bbx}[2021/12/06 v1.3f biblatex bibliography style] \RequireBibliographyStyle{ieee} @@ -27,7 +27,7 @@ {\list {\printtext[labelalphawidth]{% \printfield{labelprefix}% - \printfield{labelalpha}% + \printfield{labelalpha}% \printfield{extraalpha}}} {\setlength{\labelwidth}{\labelalphawidth}% \setlength{\leftmargin}{\labelwidth}% 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 931fba463a6..302517b02e1 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}[2021/03/25 v1.3e biblatex citation style] +\ProvidesFile{ieee-alphabetic.cbx}[2021/12/06 v1.3f 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 6b42a71dba7..77a8b6794de 100644 --- a/Master/texmf-dist/tex/latex/biblatex-ieee/ieee.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-ieee/ieee.bbx @@ -8,11 +8,13 @@ %% --------------------------------------------------------------- %% -\ProvidesFile{ieee.bbx}[2021/03/25 v1.3e biblatex bibliography style] +\ProvidesFile{ieee.bbx}[2021/12/06 v1.3f biblatex bibliography style] % Load the standard style to avoid copy-pasting unnecessary material \RequireBibliographyStyle{numeric-comp} +\newbibmacro*{bbx:savehash}{\savefield{fullhash}{\bbx@lasthash}} + % An option that carries through from author-year styles \DeclareBibliographyOption[boolean]{dashed}[true]{% \ifstrequal{#1}{true} @@ -26,7 +28,8 @@ minnames = 1, maxcitenames = 2, maxbibnames = 6, - sorting = none + sorting = none, + dashed = false, } \uspunctuation @@ -43,7 +46,7 @@ \mkpageprefix[bookpagination][\mkpagegrouped]{#1}% } \DeclareFieldFormat{sentencecase}{\bbx@colon@search{\MakeSentenceCase*}{#1}} -\DeclareFieldFormat[book,inbook,incollection,inproceedings]{series} +\DeclareFieldFormat[incollection,inproceedings]{series} {\bibstring{jourser}\addnbspace#1} \DeclareFieldFormat[online,report]{title}{\mkbibquote{#1\isdot}} \DeclareFieldFormat{url}{\bibstring{url}\addcolon\space\url{#1}} @@ -84,7 +87,6 @@ % Support for dashed author name replacement \InitializeBibliographyStyle{\global\undef\bbx@lasthash} -\newbibmacro*{bbx:savehash}{\savefield{fullhash}{\bbx@lasthash}} % Bibliography macros \renewbibmacro*{author}{% @@ -283,6 +285,16 @@ \printfield{pages}% } +\newbibmacro*{series+number(book)}{% + \iffieldundef{series}{} + {% + \setunit{\addspace}% + \printtext[parens]{% + \printfield{series}% + \setunit*{\addspace}% + \printfield{number}% + \newunit}}} + \renewbibmacro*{title}{% \ifboolexpr{ test {\iffieldundef{title}} @@ -494,7 +506,7 @@ \usebibmacro{author/editor+others/translator+others}% \setunit{\labelnamepunct}\newblock \usebibmacro{maintitle+title}% - \newunit + \usebibmacro{series+number(book)}% \printlist{language}% \newunit\newblock \printfield{edition}% @@ -505,7 +517,6 @@ \newunit\newblock \printfield{volumes}% \newunit\newblock - \usebibmacro{series+number}% \setunit{\adddot\addspace}% \newblock \usebibmacro{publisher+location+date}% @@ -548,7 +559,7 @@ \usebibmacro{in:}% \usebibmacro{bybookauthor}% \usebibmacro{maintitle+booktitle}% - \newunit\newblock + \usebibmacro{series+number(book)}% \usebibmacro{byeditor+others}% \newunit\newblock \printfield{edition}% diff --git a/Master/texmf-dist/tex/latex/biblatex-ieee/ieee.cbx b/Master/texmf-dist/tex/latex/biblatex-ieee/ieee.cbx index df2e02fc9df..877d645053f 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}[2021/03/25 v1.3e biblatex citation style] +\ProvidesFile{ieee.cbx}[2021/12/06 v1.3f biblatex citation style] \RequireCitationStyle{numeric-comp} @@ -33,6 +33,24 @@ \bibclosebracket } +\DeclareCiteCommand{\supercite}[\mkbibsuperscript] + {\usebibmacro{cite:init}% + \bibopenbracket + \let\multicitedelim=\supercitedelim + \let\multicitesubentrydelim=\supercitesubentrydelim + \let\multiciterangedelim=\superciterangedelim + \let\multicitesubentryrangedelim=\supercitesubentryrangedelim + \iffieldundef{prenote} + {} + {\BibliographyWarning{Ignoring prenote argument}}% + \iffieldundef{postnote} + {} + {\BibliographyWarning{Ignoring postnote argument}}} + {\usebibmacro{citeindex}% + \usebibmacro{cite:comp}} + {} + {\usebibmacro{cite:dump}% + \bibclosebracket} % The second step is to replace \multicitedelim and % \multicitesubentrydelim with a version wrapped in |