texlive[74329] branches/branch2024.final/Master/texmf-dist: siunitx

commits+karl at tug.org commits+karl at tug.org
Thu Feb 27 21:16:07 CET 2025


Revision: 74329
          https://tug.org/svn/texlive?view=revision&revision=74329
Author:   karl
Date:     2025-02-27 21:16:07 +0100 (Thu, 27 Feb 2025)
Log Message:
-----------
siunitx (branch) (27feb25)

Modified Paths:
--------------
    branches/branch2024.final/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md
    branches/branch2024.final/Master/texmf-dist/doc/latex/siunitx/siunitx-code.pdf
    branches/branch2024.final/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf
    branches/branch2024.final/Master/texmf-dist/source/latex/siunitx/siunitx-complex.dtx
    branches/branch2024.final/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
    branches/branch2024.final/Master/texmf-dist/source/latex/siunitx/siunitx.tex
    branches/branch2024.final/Master/texmf-dist/tex/latex/siunitx/siunitx.sty

Modified: branches/branch2024.final/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md
===================================================================
--- branches/branch2024.final/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md	2025-02-27 20:15:53 UTC (rev 74328)
+++ branches/branch2024.final/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md	2025-02-27 20:16:07 UTC (rev 74329)
@@ -7,6 +7,13 @@
 
 ## [Unreleased]
 
+## [v3.4.6] - 2025-02-27
+
+### Fixed
+- Application of option setting `prefix-mode = combine-exponent` to complex
+  numbers (see issue
+  [\#779](https://github.com/josephwright/siunitx/issues/770))
+
 ## [v3.4.5] - 2025-02-19
 
 ### Fixed
@@ -2241,7 +2248,8 @@
 ### Added
 - First public testing release (as `si`)
 
-[Unreleased]: https://github.com/josephwright/siunitx/compare/v3.4.5...HEAD
+[Unreleased]: https://github.com/josephwright/siunitx/compare/v3.4.6...HEAD
+[v3.4.6]: https://github.com/josephwright/siunitx/compare/v3.4.5...v3.4.6
 [v3.4.5]: https://github.com/josephwright/siunitx/compare/v3.4.4...v3.4.5
 [v3.4.4]: https://github.com/josephwright/siunitx/compare/v3.4.3...v3.4.4
 [v3.4.3]: https://github.com/josephwright/siunitx/compare/v3.4.2...v3.4.3

Modified: branches/branch2024.final/Master/texmf-dist/doc/latex/siunitx/siunitx-code.pdf
===================================================================
(Binary files differ)

Modified: branches/branch2024.final/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf
===================================================================
(Binary files differ)

Modified: branches/branch2024.final/Master/texmf-dist/source/latex/siunitx/siunitx-complex.dtx
===================================================================
--- branches/branch2024.final/Master/texmf-dist/source/latex/siunitx/siunitx-complex.dtx	2025-02-27 20:15:53 UTC (rev 74328)
+++ branches/branch2024.final/Master/texmf-dist/source/latex/siunitx/siunitx-complex.dtx	2025-02-27 20:16:07 UTC (rev 74329)
@@ -1,6 +1,6 @@
 % \iffalse meta-comment
 %
-% File: siunitx-complex.dtx Copyright (C) 2021-2024 Joseph Wright
+% File: siunitx-complex.dtx Copyright (C) 2021-2025 Joseph Wright
 %
 % It may be distributed and/or modified under the conditions of the
 % LaTeX Project Public License (LPPL), either version 1.3c of this
@@ -1010,7 +1010,7 @@
       { \siunitx_number_adjust_exponent:Nn #1 \l_@@_tmp_fp }
     \siunitx_number_process:NN #1 #1
   }
-\cs_new:Npn \@@_extract_exp:nnnnnnn #1#2#3#4#5#6#7 { #6#7 }
+\cs_new:Npn \@@_extract_exp:nnnnnnn #1#2#3#4#5#6#7 { #6 0 #7 }
 \cs_new_protected:Npn \@@_drop_exp:N #1
   { \exp_after:wN \@@_drop_exp:nnnnnnnN #1 #1 }
 \cs_new_protected:Npn \@@_drop_exp:nnnnnnnN #1#2#3#4#5#6#7#8

Modified: branches/branch2024.final/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
===================================================================
--- branches/branch2024.final/Master/texmf-dist/source/latex/siunitx/siunitx.dtx	2025-02-27 20:15:53 UTC (rev 74328)
+++ branches/branch2024.final/Master/texmf-dist/source/latex/siunitx/siunitx.dtx	2025-02-27 20:16:07 UTC (rev 74329)
@@ -29,9 +29,12 @@
 % Additional commands needed in this source
 \ProvideDocumentCommand\email{m}{\href{mailto:#1}{\nolinkurl{#1}}}
 \ProvideDocumentCommand\version{m}{\ensuremath{#1}}
-\ExpandArgs{c}\ProvideDocumentCommand{version (pdfstring context)}{m}{#1}
+% Tidy up the above in bookmarks
+\makeatletter
 \pdfstringdefDisableCommands{%
-  \ExpandArgs{Nc}\DeclareCommandCopy\version{version (pdfstring context)}}
+  \let\version\@firstofone
+}
+\makeatother
 % The next line is needed so that \GetFileInfo will be able to pick up
 % version data
 \usepackage{siunitx}
@@ -137,7 +140,7 @@
 %
 % Identify the package and give the over all version information.
 %    \begin{macrocode}
-\ProvidesExplPackage {siunitx} {2025-02-19} {3.4.5}
+\ProvidesExplPackage {siunitx} {2025-02-27} {3.4.6}
   {A comprehensive (SI) units package}
 %    \end{macrocode}
 %

Modified: branches/branch2024.final/Master/texmf-dist/source/latex/siunitx/siunitx.tex
===================================================================
--- branches/branch2024.final/Master/texmf-dist/source/latex/siunitx/siunitx.tex	2025-02-27 20:15:53 UTC (rev 74328)
+++ branches/branch2024.final/Master/texmf-dist/source/latex/siunitx/siunitx.tex	2025-02-27 20:16:07 UTC (rev 74329)
@@ -64,9 +64,6 @@
 \NewDocumentCommand\foreign{m}{\textit{#1}}
 \NewDocumentCommand\opt{m}{\texttt{#1}}
 \NewDocumentCommand\version{m}{\ensuremath{#1}}
-\ExpandArgs{c}\NewDocumentCommand{version (pdfstring context)}{m}{#1}
-\pdfstringdefDisableCommands{%
-  \ExpandArgs{Nc}\DeclareCommandCopy\version{version (pdfstring context)}}
 % Tidy up the above in bookmarks
 \makeatletter
 \pdfstringdefDisableCommands{%
@@ -74,6 +71,7 @@
   \let\ext\@firstofone
   \let\foreign\@firstofone
   \let\opt\@firstofone
+  \let\version\@firstofone
 }
 \makeatother
 

Modified: branches/branch2024.final/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
===================================================================
--- branches/branch2024.final/Master/texmf-dist/tex/latex/siunitx/siunitx.sty	2025-02-27 20:15:53 UTC (rev 74328)
+++ branches/branch2024.final/Master/texmf-dist/tex/latex/siunitx/siunitx.sty	2025-02-27 20:16:07 UTC (rev 74329)
@@ -47,7 +47,7 @@
       }%
     \endinput
   }%
-\ProvidesExplPackage {siunitx} {2025-02-19} {3.4.5}
+\ProvidesExplPackage {siunitx} {2025-02-27} {3.4.6}
   {A comprehensive (SI) units package}
 \msg_new:nnnn { siunitx } { incompatible-package }
   { Package~'#1'~incompatible. }
@@ -3922,7 +3922,7 @@
       { \siunitx_number_adjust_exponent:Nn #1 \l__siunitx_complex_tmp_fp }
     \siunitx_number_process:NN #1 #1
   }
-\cs_new:Npn \__siunitx_complex_extract_exp:nnnnnnn #1#2#3#4#5#6#7 { #6#7 }
+\cs_new:Npn \__siunitx_complex_extract_exp:nnnnnnn #1#2#3#4#5#6#7 { #6 0 #7 }
 \cs_new_protected:Npn \__siunitx_complex_drop_exp:N #1
   { \exp_after:wN \__siunitx_complex_drop_exp:nnnnnnnN #1 #1 }
 \cs_new_protected:Npn \__siunitx_complex_drop_exp:nnnnnnnN #1#2#3#4#5#6#7#8



More information about the tex-live-commits mailing list.