texlive[72841] Master/texmf-dist: biblatex-ieee (13nov24)
commits+karl at tug.org
commits+karl at tug.org
Wed Nov 13 22:11:32 CET 2024
Revision: 72841
https://tug.org/svn/texlive?view=revision&revision=72841
Author: karl
Date: 2024-11-13 22:11:32 +0100 (Wed, 13 Nov 2024)
Log Message:
-----------
biblatex-ieee (13nov24)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/biblatex-ieee/biblatex-ieee-alphabetic.pdf
trunk/Master/texmf-dist/doc/latex/biblatex-ieee/biblatex-ieee-alphabetic.tex
trunk/Master/texmf-dist/doc/latex/biblatex-ieee/biblatex-ieee.bib
trunk/Master/texmf-dist/doc/latex/biblatex-ieee/biblatex-ieee.pdf
trunk/Master/texmf-dist/doc/latex/biblatex-ieee/biblatex-ieee.tex
trunk/Master/texmf-dist/tex/latex/biblatex-ieee/ieee-alphabetic.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-ieee/ieee-alphabetic.cbx
trunk/Master/texmf-dist/tex/latex/biblatex-ieee/ieee.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-ieee/ieee.cbx
trunk/Master/texmf-dist/tex/latex/biblatex-ieee/magyar-ieee.lbx
Added Paths:
-----------
trunk/Master/texmf-dist/tex/latex/biblatex-ieee/ieee-comp.cbx
Modified: trunk/Master/texmf-dist/doc/latex/biblatex-ieee/biblatex-ieee-alphabetic.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/biblatex-ieee/biblatex-ieee-alphabetic.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-ieee/biblatex-ieee-alphabetic.tex 2024-11-13 21:11:11 UTC (rev 72840)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-ieee/biblatex-ieee-alphabetic.tex 2024-11-13 21:11:32 UTC (rev 72841)
@@ -24,8 +24,8 @@
\href{mailto:joseph at texdev.net}
{\texttt{joseph at texdev.net}}}}
\title{The \pkg{ieee-alphabetic} bibliography style for \pkg{biblatex}%
- \footnote{This file describes v1.3g, last revised 2024/08/14.}}
-\date{Released 2024/08/14}
+ \footnote{This file describes v1.4, last revised 2024-11-13.}}
+\date{Released 2024-11-13}
\providecommand*{\pkg}[1]{\textsf{#1}}
@@ -73,7 +73,8 @@
%% ieee.bbx,
%% ieee.cbx,
%% ieee-alphabetic.bbx,
-%% ieee-alphabetic.cbx and
+%% ieee-alphabetic.cbx,
+%% ieee-comp.cbx and
%% magyar-ieee.lbx,
%% and the derived files biblatex-ieee.pdf and
%% biblatex-ieee-alphabetic.pdf.
Modified: trunk/Master/texmf-dist/doc/latex/biblatex-ieee/biblatex-ieee.bib
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-ieee/biblatex-ieee.bib 2024-11-13 21:11:11 UTC (rev 72840)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-ieee/biblatex-ieee.bib 2024-11-13 21:11:32 UTC (rev 72841)
@@ -404,7 +404,8 @@
%% ieee.bbx,
%% ieee.cbx,
%% ieee-alphabetic.bbx,
-%% ieee-alphabetic.cbx and
+%% ieee-alphabetic.cbx,
+%% ieee-comp.cbx and
%% magyar-ieee.lbx,
%% and the derived files biblatex-ieee.pdf and
%% biblatex-ieee-alphabetic.pdf.
Modified: trunk/Master/texmf-dist/doc/latex/biblatex-ieee/biblatex-ieee.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/biblatex-ieee/biblatex-ieee.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-ieee/biblatex-ieee.tex 2024-11-13 21:11:11 UTC (rev 72840)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-ieee/biblatex-ieee.tex 2024-11-13 21:11:32 UTC (rev 72841)
@@ -24,8 +24,8 @@
\href{mailto:joseph at texdev.net}
{\texttt{joseph at texdev.net}}}}
\title{The \pkg{ieee} bibliography style for \pkg{biblatex}%
- \footnote{This file describes v1.3g, last revised 2024/08/14.}}
-\date{Released 2024/08/14}
+ \footnote{This file describes v1.4, last revised 2024-11-13.}}
+\date{Released 2024-11-13}
\providecommand*{\opt}[1]{\texttt{#1}}
\providecommand*{\pkg}[1]{\textsf{#1}}
@@ -61,18 +61,11 @@
this is activated. The option works in the same way as that from the
core \pkg{biblatex} style \pkg{author-year}.
-As-standard, citations are compressed. If you do no wish to have compressed
-citations, add
+As-standard, citation numbers are all printed. If you do no wish to have compressed
+citations, use
\begin{verbatim}
-\DeclareCiteCommand{\cite}
- {\bibopenbracket\usebibmacro{prenote}}
- {\usebibmacro{citeindex}%
- \usebibmacro{cite}}
- {\multicitedelim}
- {\usebibmacro{postnote}\bibclosebracket}
-\renewcommand*\multicitedelim{\bibclosebracket\addcomma \space\bibopenbracket}
+\usepackage[style = ieee, citestyle = ieee-comp]{biblatex}
\end{verbatim}
-after loading \pkg{biblatex}.
The appearance of URLs in the bibliography is set by the mechanism of the
\textsf{url} package. Thus to print URLs in the current roman font,
@@ -109,63 +102,64 @@
\printbibliography
-\changes{v1.0}{2011/02/27}{First stable release}
-\changes{v1.0a}{2011/04/07}{Print \enquote{presented at} for
+\changes{v1.0}{2011-02-27}{First stable release}
+\changes{v1.0a}{2011-04-07}{Print \enquote{presented at} for
\texttt{inproceedings} entries only if an \texttt{eventtitle} is
available}
-\changes{v1.0b}{2011/05/07}{Add instructions for printing URL in roman font}
-\changes{v1.0b}{2011/05/07}{Use dash for repeated author names}
-\changes{v1.0c}{2012/03/21}{Turn off citation sorting}
-\changes{v1.0c}{2012/03/21}{Set \emph{et al.}~in italics}
-\changes{v1.0c}{2012/03/21}{Use two em-dashes for repeated names}
-\changes{v1.0d}{2012/03/23}{Place \texttt{series} before \texttt{editor}
+\changes{v1.0b}{2011-05-07}{Add instructions for printing URL in roman font}
+\changes{v1.0b}{2011-05-07}{Use dash for repeated author names}
+\changes{v1.0c}{2012-03-21}{Turn off citation sorting}
+\changes{v1.0c}{2012-03-21}{Set \emph{et al.}~in italics}
+\changes{v1.0c}{2012-03-21}{Use two em-dashes for repeated names}
+\changes{v1.0d}{2012-03-23}{Place \texttt{series} before \texttt{editor}
for \texttt{incollection} entries}
-\changes{v1.1}{2012/05/03}{New alphabetic style \texttt{ieee-alphabetic}}
-\changes{v1.1}{2012/05/03}{Update citation-related options set by the style}
-\changes{v1.1a}{2012/06/16}{Bracket citation numbers singly, not as a group}
-\changes{v1.1a}{2012/06/16}{Omit comma after \texttt{!} and \texttt{?}
+\changes{v1.1}{2012-05-03}{New alphabetic style \texttt{ieee-alphabetic}}
+\changes{v1.1}{2012-05-03}{Update citation-related options set by the style}
+\changes{v1.1a}{2012-06-16}{Bracket citation numbers singly, not as a group}
+\changes{v1.1a}{2012-06-16}{Omit comma after \texttt{!} and \texttt{?}
if this occurs at the end of a title}
-\changes{v1.1b}{2012/07/18}{Fix spacing between bibliography label and entry}
-\changes{v1.1c}{2012/10/04}{Improve handling of names in \cs{textcite}}
-\changes{v1.1d}{2012/10/12}{Improve handling of names in \cs{textcite} again}
-\changes{v1.1e}{2012/12/04}{Address brackets around citations again, hopefully
+\changes{v1.1b}{2012-07-18}{Fix spacing between bibliography label and entry}
+\changes{v1.1c}{2012-10-04}{Improve handling of names in \cs{textcite}}
+\changes{v1.1d}{2012-10-12}{Improve handling of names in \cs{textcite} again}
+\changes{v1.1e}{2012-12-04}{Address brackets around citations again, hopefully
correctly this time}
-\changes{v1.1e}{2012/12/04}{Use US-style punctuation suppression}
-\changes{v1.1f}{2012/12/17}{Fix brackets in \cs{textcite}}
-\changes{v1.1g}{2013/01/27}{Include data for related entries}
-\changes{v1.1h}{2013/02/08}{Print post-notes within brackets surrounding
+\changes{v1.1e}{2012-12-04}{Use US-style punctuation suppression}
+\changes{v1.1f}{2012-12-17}{Fix brackets in \cs{textcite}}
+\changes{v1.1g}{2013-01-27}{Include data for related entries}
+\changes{v1.1h}{2013-02-08}{Print post-notes within brackets surrounding
citation number}
-\changes{v1.1i}{2013/06/13}{Remove extraneous bracket when \cs{cites} is used}
-\changes{v1.1j}{2013/10/25}{Update \cs{textcite} code for \pkg{biblatex}~v2.7}
-\changes{v1.1j}{2013/10/25}{Correctly format multi-part page ranges}
-\changes{v1.1k}{2015/03/12}{Capitalise after colon in titles}
-\changes{v1.1l}{2015/03/25}{Respect braces for capitalisation in titles}
-\changes{v1.1m}{2016/04/06}{Track \pkg{biblatex} changes}
-\changes{v1.1m}{2016/04/16}{Much simplified citation style approach}
-\changes{v1.1n}{2016/05/08}{Fix printing of titles when braced in
+\changes{v1.1i}{2013-06-13}{Remove extraneous bracket when \cs{cites} is used}
+\changes{v1.1j}{2013-10-25}{Update \cs{textcite} code for \pkg{biblatex}~v2.7}
+\changes{v1.1j}{2013-10-25}{Correctly format multi-part page ranges}
+\changes{v1.1k}{2015-03-12}{Capitalise after colon in titles}
+\changes{v1.1l}{2015-03-25}{Respect braces for capitalisation in titles}
+\changes{v1.1m}{2016-04-06}{Track \pkg{biblatex} changes}
+\changes{v1.1m}{2016-04-16}{Much simplified citation style approach}
+\changes{v1.1n}{2016-05-08}{Fix printing of titles when braced in
database}
-\changes{v1.1o}{2016/06/27}{Fix capitalisation of journal titles}
-\changes{v1.1p}{2016/07/20}{Revert changes in internal code for citation
+\changes{v1.1o}{2016-06-27}{Fix capitalisation of journal titles}
+\changes{v1.1p}{2016-07-20}{Revert changes in internal code for citation
handling}
-\changes{v1.1q}{2016/08/31}{Fix stray space after \enquote{\emph{et al.}}}
-\changes{v1.2}{2016/12/26}{New \opt{dashed} option}
-\changes{v1.2}{2016/12/29}{Refine handling of case changing in titles}
-\changes{v1.2}{2016/12/30}{Use title case for book tiles}
-\changes{v1.2a}{2017/02/02}{Minor internal updates}
-\changes{v1.2a}{2017/03/01}{Move some formatting directives}
-\changes{v1.2a}{2017/03/01}{More work on formatting of titles}
-\changes{v1.2b}{2017/03/22}{Fix accidental printing of string \texttt{no.}}
-\changes{v1.2c}{2017/03/25}{Fix formatting for volume in some entry types}
-\changes{v1.2d}{2017/03/26}{Subtle adjustment for volume string}
-\changes{v1.3}{2018/08/20}{Hungarian localisation}
-\changes{v1.3b}{2020/02/26}{Add quotes to website titles}
-\changes{v1.3d}{2020/12/17}{Adjust \texttt{online} type}
-\changes{v1.3e}{2021/03/25}{Adjust truncation of names list}
-\changes{v1.3f}{2021/03/30}{Use \texttt{false} as the default for \texttt{dashed} setting}
-\changes{v1.3f}{2021/04/12}{Fix brackets in \cs{supercite}}
-\changes{v1.3f}{2021/12/01}{Adjust printing of series for books}
-\changes{v1.3g}{2024/08/14}{Print separator between journal title and subtitle}
-\changes{v1.3g}{2024/08/14}{Correct formatting of URL for online entries}
+\changes{v1.1q}{2016-08-31}{Fix stray space after \enquote{\emph{et al.}}}
+\changes{v1.2}{2016-12-26}{New \opt{dashed} option}
+\changes{v1.2}{2016-12-29}{Refine handling of case changing in titles}
+\changes{v1.2}{2016-12-30}{Use title case for book tiles}
+\changes{v1.2a}{2017-02-02}{Minor internal updates}
+\changes{v1.2a}{2017-03-01}{Move some formatting directives}
+\changes{v1.2a}{2017-03-01}{More work on formatting of titles}
+\changes{v1.2b}{2017-03-22}{Fix accidental printing of string \texttt{no.}}
+\changes{v1.2c}{2017-03-25}{Fix formatting for volume in some entry types}
+\changes{v1.2d}{2017-03-26}{Subtle adjustment for volume string}
+\changes{v1.3}{2018-08-20}{Hungarian localisation}
+\changes{v1.3b}{2020-02-26}{Add quotes to website titles}
+\changes{v1.3d}{2020-12-17}{Adjust \texttt{online} type}
+\changes{v1.3e}{2021-03-25}{Adjust truncation of names list}
+\changes{v1.3f}{2021-03-30}{Use \texttt{false} as the default for \texttt{dashed} setting}
+\changes{v1.3f}{2021-04-12}{Fix brackets in \cs{supercite}}
+\changes{v1.3f}{2021-12-01}{Adjust printing of series for books}
+\changes{v1.3g}{2024-08-14}{Print separator between journal title and subtitle}
+\changes{v1.3g}{2024-08-14}{Correct formatting of URL for online entries}
+\changes{v1.4}{2024-11-13}{Swtich from compressed to non-compressed citations}
\PrintChanges
@@ -190,7 +184,8 @@
%% ieee.bbx,
%% ieee.cbx,
%% ieee-alphabetic.bbx,
-%% ieee-alphabetic.cbx and
+%% ieee-alphabetic.cbx,
+%% ieee-comp.cbx and
%% magyar-ieee.lbx,
%% and the derived files biblatex-ieee.pdf and
%% biblatex-ieee-alphabetic.pdf.
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ieee/ieee-alphabetic.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ieee/ieee-alphabetic.bbx 2024-11-13 21:11:11 UTC (rev 72840)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ieee/ieee-alphabetic.bbx 2024-11-13 21:11:32 UTC (rev 72841)
@@ -8,7 +8,7 @@
%% ---------------------------------------------------------------
%%
-\ProvidesFile{ieee-alphabetic.bbx}[2024/08/14 v1.3g biblatex bibliography style]
+\ProvidesFile{ieee-alphabetic.bbx}[2024-11-13 v1.4 biblatex bibliography style]
\RequireBibliographyStyle{ieee}
@@ -71,7 +71,8 @@
%% ieee.bbx,
%% ieee.cbx,
%% ieee-alphabetic.bbx,
-%% ieee-alphabetic.cbx and
+%% ieee-alphabetic.cbx,
+%% ieee-comp.cbx and
%% magyar-ieee.lbx,
%% and the derived files biblatex-ieee.pdf and
%% biblatex-ieee-alphabetic.pdf.
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ieee/ieee-alphabetic.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ieee/ieee-alphabetic.cbx 2024-11-13 21:11:11 UTC (rev 72840)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ieee/ieee-alphabetic.cbx 2024-11-13 21:11:32 UTC (rev 72841)
@@ -8,7 +8,7 @@
%% ---------------------------------------------------------------
%%
-\ProvidesFile{ieee-alphabetic.cbx}[2024/08/14 v1.3g biblatex citation style]
+\ProvidesFile{ieee-alphabetic.cbx}[2024-11-13 v1.4 biblatex citation style]
\RequireCitationStyle{alphabetic}
@@ -63,7 +63,8 @@
%% ieee.bbx,
%% ieee.cbx,
%% ieee-alphabetic.bbx,
-%% ieee-alphabetic.cbx and
+%% ieee-alphabetic.cbx,
+%% ieee-comp.cbx and
%% magyar-ieee.lbx,
%% and the derived files biblatex-ieee.pdf and
%% biblatex-ieee-alphabetic.pdf.
Added: trunk/Master/texmf-dist/tex/latex/biblatex-ieee/ieee-comp.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ieee/ieee-comp.cbx (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ieee/ieee-comp.cbx 2024-11-13 21:11:32 UTC (rev 72841)
@@ -0,0 +1,150 @@
+%% ---------------------------------------------------------------
+%% biblatex-ieee --- A biblatex implementation of the IEEE
+%% bibliography style
+%% Maintained by Joseph Wright
+%% E-mail: joseph at texdev.net
+%% Released under the LaTeX Project Public License v1.3c or later
+%% See http://www.latex-project.org/lppl.txt
+%% ---------------------------------------------------------------
+%%
+
+\ProvidesFile{ieee-comp.cbx}[2024-11-13 v1.4 biblatex citation style]
+
+\RequireCitationStyle{numeric-comp}
+
+\ExecuteBibliographyOptions{
+ maxcitenames = 2,
+ minnames = 1,
+ sorting = none
+}
+
+% Putting brackets around each citation number is a two-part
+% operation. First, remove them from around the whole citation by
+% redeclaring here.
+\DeclareCiteCommand{\cite}%
+ {\usebibmacro{cite:init}%
+ \bibopenbracket
+ \usebibmacro{prenote}}
+ {\usebibmacro{citeindex}%
+ \usebibmacro{cite:comp}}
+ {}
+ {\usebibmacro{cite:dump}%
+ \usebibmacro{postnote}%
+ \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
+% the appropriate delimiter.
+\renewcommand*{\do}[1]{%
+ \expandafter\patchcmd\expandafter
+ {\csname abx at macro@\detokenize{#1}\endcsname}%
+ {\multicitedelim}
+ {\bibclosebracket\multicitedelim\bibopenbracket}
+ {}
+ {%
+ \PackageError{biblatex-ieee}{Failed to update citation style}\@ehc
+ }%
+ }
+\docsvlist{cite:comp:end,cite:comp:inset,cite:comp:shand,cite:dump}
+
+\renewcommand*{\do}[1]{%
+ \expandafter\patchcmd\expandafter
+ {\csname abx at macro@\detokenize{#1}\endcsname}%
+ {\multicitesubentrydelim}
+ {\bibclosebracket\multicitesubentrydelim\bibopenbracket}
+ {}
+ {%
+ \PackageError{biblatex-ieee}{Failed to update citation style}\@ehc
+ }%
+ }
+\docsvlist{cite:comp:inset,cite:dump:inset}
+
+
+% There's also one \multiciterangedelim and one
+% \multicitesubentryrangedelimto alter.
+\expandafter\patchcmd\expandafter
+ {\csname abx at macro@\detokenize{cite:dump}\endcsname}%
+ {\multiciterangedelim}
+ {\bibclosebracket\multiciterangedelim\bibopenbracket}
+ {}
+ {%
+ \PackageError{biblatex-ieee}{Failed to update citation style}\@ehc
+ }%
+
+\expandafter\patchcmd\expandafter
+ {\csname abx at macro@\detokenize{cite:dump:inset}\endcsname}%
+ {\multicitesubentryrangedelim}
+ {\bibclosebracket\multicitesubentryrangedelim\bibopenbracket}
+ {}
+ {%
+ \PackageError{biblatex-ieee}{Failed to update citation style}\@ehc
+ }%
+
+
+% More bracket removal required
+\DeclareMultiCiteCommand{\cites}{\cite}{\multicitedelim}
+
+% print labelnumber for compressed set entries
+\renewbibmacro*{cite:print:subentry:comp}{%
+ \printtext[bibhyperref]{%
+ \printfield{labelprefix}%
+ \printfield{labelnumber}%
+ \printfield{entrysetcount}}}
+
+\renewbibmacro*{cite:print:last:subentry:comp}{%
+ \printtext[bibhyperref:lastkey]{%
+ \ifdef\cbx at lastprefix
+ {\printtext[labelprefix]{\cbx at lastprefix}}
+ {}%
+ \printtext[labelnumber]{\cbx at lastnumber}%
+ \ifdef\cbx at lastentrysetcount
+ {\printtext[entrysetcount]{\cbx at lastentrysetcount}}
+ {}}}
+
+%%
+%% Copyright (C) 2011-2013,2015-2021,2024 by
+%% Joseph Wright <joseph at texdev.net>
+%%
+%% It may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License (LPPL), either version 1.3c of
+%% this license or (at your option) any later version. The latest
+%% version of this license is in the file:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% This work is "maintained" (as per LPPL maintenance status) by
+%% Joseph Wright.
+%%
+%% This work consists of the files biblatex-ieee.bib,
+%% biblatex-ieee.tex,
+%% ieee.bbx,
+%% ieee.cbx,
+%% ieee-alphabetic.bbx,
+%% ieee-alphabetic.cbx,
+%% ieee-comp.cbx and
+%% magyar-ieee.lbx,
+%% and the derived files biblatex-ieee.pdf and
+%% biblatex-ieee-alphabetic.pdf.
+%%
+%%
+%% End of file `ieee.cbx'.
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ieee/ieee.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ieee/ieee.bbx 2024-11-13 21:11:11 UTC (rev 72840)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ieee/ieee.bbx 2024-11-13 21:11:32 UTC (rev 72841)
@@ -8,7 +8,7 @@
%% ---------------------------------------------------------------
%%
-\ProvidesFile{ieee.bbx}[2024/08/14 v1.3g biblatex bibliography style]
+\ProvidesFile{ieee.bbx}[2024-11-13 v1.4 biblatex bibliography style]
% Load the standard style to avoid copy-pasting unnecessary material
\RequireBibliographyStyle{numeric-comp}
@@ -834,7 +834,8 @@
%% ieee.bbx,
%% ieee.cbx,
%% ieee-alphabetic.bbx,
-%% ieee-alphabetic.cbx and
+%% ieee-alphabetic.cbx,
+%% ieee-comp.cbx and
%% magyar-ieee.lbx,
%% and the derived files biblatex-ieee.pdf and
%% biblatex-ieee-alphabetic.pdf.
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ieee/ieee.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ieee/ieee.cbx 2024-11-13 21:11:11 UTC (rev 72840)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ieee/ieee.cbx 2024-11-13 21:11:32 UTC (rev 72841)
@@ -8,9 +8,9 @@
%% ---------------------------------------------------------------
%%
-\ProvidesFile{ieee.cbx}[2024/08/14 v1.3g biblatex citation style]
+\ProvidesFile{ieee.cbx}[2024-11-13 v1.4 biblatex citation style]
-\RequireCitationStyle{numeric-comp}
+\RequireCitationStyle{numeric}
\ExecuteBibliographyOptions{
maxcitenames = 2,
@@ -18,109 +18,22 @@
sorting = none
}
-% Putting brackets around each citation number is a two-part
-% operation. First, remove them from around the whole citation by
-% redeclaring here.
-\DeclareCiteCommand{\cite}%
- {\usebibmacro{cite:init}%
- \bibopenbracket
- \usebibmacro{prenote}}
+\DeclareCiteCommand{\cite}%[\mkbibbrackets]
+ {\usebibmacro{prenote}}
{\usebibmacro{citeindex}%
- \usebibmacro{cite:comp}}
- {}
- {\usebibmacro{cite:dump}%
- \usebibmacro{postnote}%
- \bibclosebracket
- }
+ \usebibmacro{cite}}
+ {\multicitedelim}
+ {\usebibmacro{postnote}}
-\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}
+\newbibmacro*{cite}{%
+ \mkbibbrackets{%
+ \printtext[bibhyperref]{%
+ \printfield{labelprefix}%
+ \printfield{labelnumber}%
+ \ifbool{bbx:subentry}
+ {\printfield{entrysetcount}}
+ {}}}}
-% The second step is to replace \multicitedelim and
-% \multicitesubentrydelim with a version wrapped in
-% the appropriate delimiter.
-\renewcommand*{\do}[1]{%
- \expandafter\patchcmd\expandafter
- {\csname abx at macro@\detokenize{#1}\endcsname}%
- {\multicitedelim}
- {\bibclosebracket\multicitedelim\bibopenbracket}
- {}
- {%
- \PackageError{biblatex-ieee}{Failed to update citation style}\@ehc
- }%
- }
-\docsvlist{cite:comp:end,cite:comp:inset,cite:comp:shand,cite:dump}
-
-\renewcommand*{\do}[1]{%
- \expandafter\patchcmd\expandafter
- {\csname abx at macro@\detokenize{#1}\endcsname}%
- {\multicitesubentrydelim}
- {\bibclosebracket\multicitesubentrydelim\bibopenbracket}
- {}
- {%
- \PackageError{biblatex-ieee}{Failed to update citation style}\@ehc
- }%
- }
-\docsvlist{cite:comp:inset,cite:dump:inset}
-
-
-% There's also one \multiciterangedelim and one
-% \multicitesubentryrangedelimto alter.
-\expandafter\patchcmd\expandafter
- {\csname abx at macro@\detokenize{cite:dump}\endcsname}%
- {\multiciterangedelim}
- {\bibclosebracket\multiciterangedelim\bibopenbracket}
- {}
- {%
- \PackageError{biblatex-ieee}{Failed to update citation style}\@ehc
- }%
-
-\expandafter\patchcmd\expandafter
- {\csname abx at macro@\detokenize{cite:dump:inset}\endcsname}%
- {\multicitesubentryrangedelim}
- {\bibclosebracket\multicitesubentryrangedelim\bibopenbracket}
- {}
- {%
- \PackageError{biblatex-ieee}{Failed to update citation style}\@ehc
- }%
-
-
-% More bracket removal required
-\DeclareMultiCiteCommand{\cites}{\cite}{\multicitedelim}
-
-% print labelnumber for compressed set entries
-\renewbibmacro*{cite:print:subentry:comp}{%
- \printtext[bibhyperref]{%
- \printfield{labelprefix}%
- \printfield{labelnumber}%
- \printfield{entrysetcount}}}
-
-\renewbibmacro*{cite:print:last:subentry:comp}{%
- \printtext[bibhyperref:lastkey]{%
- \ifdef\cbx at lastprefix
- {\printtext[labelprefix]{\cbx at lastprefix}}
- {}%
- \printtext[labelnumber]{\cbx at lastnumber}%
- \ifdef\cbx at lastentrysetcount
- {\printtext[entrysetcount]{\cbx at lastentrysetcount}}
- {}}}
-
%%
%% Copyright (C) 2011-2013,2015-2021,2024 by
%% Joseph Wright <joseph at texdev.net>
@@ -140,7 +53,8 @@
%% ieee.bbx,
%% ieee.cbx,
%% ieee-alphabetic.bbx,
-%% ieee-alphabetic.cbx and
+%% ieee-alphabetic.cbx,
+%% ieee-comp.cbx and
%% magyar-ieee.lbx,
%% and the derived files biblatex-ieee.pdf and
%% biblatex-ieee-alphabetic.pdf.
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ieee/magyar-ieee.lbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ieee/magyar-ieee.lbx 2024-11-13 21:11:11 UTC (rev 72840)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ieee/magyar-ieee.lbx 2024-11-13 21:11:32 UTC (rev 72841)
@@ -52,7 +52,8 @@
%% ieee.bbx,
%% ieee.cbx,
%% ieee-alphabetic.bbx,
-%% ieee-alphabetic.cbx and
+%% ieee-alphabetic.cbx,
+%% ieee-comp.cbx and
%% magyar-ieee.lbx,
%% and the derived files biblatex-ieee.pdf and
%% biblatex-ieee-alphabetic.pdf.
More information about the tex-live-commits
mailing list.