texlive[73453] Master/texmf-dist: siunitx (14jan25)
commits+karl at tug.org
commits+karl at tug.org
Tue Jan 14 21:46:11 CET 2025
Revision: 73453
https://tug.org/svn/texlive?view=revision&revision=73453
Author: karl
Date: 2025-01-14 21:46:11 +0100 (Tue, 14 Jan 2025)
Log Message:
-----------
siunitx (14jan25)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md
trunk/Master/texmf-dist/doc/latex/siunitx/siunitx-code.pdf
trunk/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf
trunk/Master/texmf-dist/source/latex/siunitx/siunitx-angle.dtx
trunk/Master/texmf-dist/source/latex/siunitx/siunitx-code.tex
trunk/Master/texmf-dist/source/latex/siunitx/siunitx-complex.dtx
trunk/Master/texmf-dist/source/latex/siunitx/siunitx-compound.dtx
trunk/Master/texmf-dist/source/latex/siunitx/siunitx-emulation.dtx
trunk/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx
trunk/Master/texmf-dist/source/latex/siunitx/siunitx-print.dtx
trunk/Master/texmf-dist/source/latex/siunitx/siunitx-quantity.dtx
trunk/Master/texmf-dist/source/latex/siunitx/siunitx-table.dtx
trunk/Master/texmf-dist/source/latex/siunitx/siunitx-unit.dtx
trunk/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
trunk/Master/texmf-dist/source/latex/siunitx/siunitx.tex
trunk/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
Modified: trunk/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md 2025-01-14 20:45:54 UTC (rev 73452)
+++ trunk/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md 2025-01-14 20:46:11 UTC (rev 73453)
@@ -7,6 +7,12 @@
## [Unreleased]
+## [v3.4.1] - 2025-01-14
+
+### Fixed
+- Correct a deprecation message (see issue
+ [\#766](https://github.com/josephwright/siunitx/issues/766))
+
## [v3.4.0] - 2024-12-06
### Added
@@ -2203,7 +2209,8 @@
### Added
- First public testing release (as `si`)
-[Unreleased]: https://github.com/josephwright/siunitx/compare/v3.4.0...HEAD
+[Unreleased]: https://github.com/josephwright/siunitx/compare/v3.4.1...HEAD
+[v3.4.1]: https://github.com/josephwright/siunitx/compare/v3.4.0...v3.4.1
[v3.4.0]: https://github.com/josephwright/siunitx/compare/v3.3.24...v3.4.0
[v3.3.24]: https://github.com/josephwright/siunitx/compare/v3.3.23...v3.3.24
[v3.3.23]: https://github.com/josephwright/siunitx/compare/v3.3.22...v3.3.23
Modified: trunk/Master/texmf-dist/doc/latex/siunitx/siunitx-code.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/siunitx/siunitx-angle.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/siunitx/siunitx-angle.dtx 2025-01-14 20:45:54 UTC (rev 73452)
+++ trunk/Master/texmf-dist/source/latex/siunitx/siunitx-angle.dtx 2025-01-14 20:46:11 UTC (rev 73453)
@@ -72,11 +72,11 @@
% \cs{siunitx_angle:nnn} \Arg{degrees} \Arg{minutes} \Arg{seconds}
% \end{syntax}
% Typeset the \meta{angle} (which may be given as separate \meta{degree},
-% \meta{minute} and \meta{second} components). The \meta{angle} (or components)
-% may be given as expressions. The \meta{angle} should be a number as understood
-% by \cs{siunitx_format_number:nN}, with no uncertainty, exponent or imaginary
-% part. The unit symbols for degrees, minutes and seconds are |\degree|,
-% |\arcminute| and |\arcsecond|, respectively.
+% \meta{minute} and \meta{second} components). The \meta{angle}
+% (or components) may be given as expressions. The \meta{angle} should be a
+% number as understood by \cs{siunitx_format_number:nN}, with no uncertainty,
+% exponent or imaginary part. The unit symbols for degrees, minutes and
+% seconds are |\degree|, |\arcminute| and |\arcsecond|, respectively.
% \end{function}
%
% \subsection{Key--value options}
Modified: trunk/Master/texmf-dist/source/latex/siunitx/siunitx-code.tex
===================================================================
--- trunk/Master/texmf-dist/source/latex/siunitx/siunitx-code.tex 2025-01-14 20:45:54 UTC (rev 73452)
+++ trunk/Master/texmf-dist/source/latex/siunitx/siunitx-code.tex 2025-01-14 20:46:11 UTC (rev 73453)
@@ -49,6 +49,10 @@
\ExplSyntaxOff
\NewDocumentCommand\email{m}{\href{mailto:#1}{\nolinkurl{#1}}}
\NewDocumentCommand\foreign{m}{\textit{#1}}
+\NewDocumentCommand\version{m}{\ensuremath{#1}}
+\ExpandArgs{c}\NewDocumentCommand{version (pdfstring context)}{m}{#1}
+\pdfstringdefDisableCommands{%
+ \ExpandArgs{Nc}\DeclareCommandCopy\version{version (pdfstring context)}}
% Standard settings
\EnableDocumentation
Modified: trunk/Master/texmf-dist/source/latex/siunitx/siunitx-complex.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/siunitx/siunitx-complex.dtx 2025-01-14 20:45:54 UTC (rev 73452)
+++ trunk/Master/texmf-dist/source/latex/siunitx/siunitx-complex.dtx 2025-01-14 20:46:11 UTC (rev 73453)
@@ -105,7 +105,8 @@
% \end{syntax}
% These functions treat their numerical argument(s) as described
% for the corresponding \texttt{number} functions. They then typeset the
-% entire numerical part and the unit as described for \cs{siunitx_quantity:nn}.
+% entire numerical part and the unit as described for
+% \cs{siunitx_quantity:nn}.
% \end{function}
%
% \begin{function}{complex-angle-unit}
@@ -314,7 +315,7 @@
% \begin{macro}{\@@_parse_clear:}
% Parsing for complex numbers needs some of the same approaches as the
% general parser. However, as the aim here is to do only enough to split
-% the real and imaginary parts before handing off the the usual code,
+% the real and imaginary parts before handing off the usual code,
% it's not a full repeat. Instead, we shortcut where we can. The |clear|
% function here is not only there to make this function shorter: it
% also allows a single way to zap any stored data if a parse error occurs.
Modified: trunk/Master/texmf-dist/source/latex/siunitx/siunitx-compound.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/siunitx/siunitx-compound.dtx 2025-01-14 20:45:54 UTC (rev 73452)
+++ trunk/Master/texmf-dist/source/latex/siunitx/siunitx-compound.dtx 2025-01-14 20:46:11 UTC (rev 73453)
@@ -74,8 +74,8 @@
% \cs{siunitx_compound_quantity:nn} \Arg{entries} \Arg{unit}
% \end{syntax}
% Prints a set of quantities in the \meta{entries}, each of which should
-% be given as a \meta{balanced text}. Unlike \cs{siunitx_quantity_list:nn}, this
-% function may semantically take any form.
+% be given as a \meta{balanced text}. Unlike \cs{siunitx_quantity_list:nn},
+% this function may semantically take any form.
% \end{function}
%
% \begin{function}{\siunitx_number_list:nn}
@@ -151,9 +151,9 @@
% |compound-close-boundary| = \meta{tokens}\\
% |compound-open-boundary| = \meta{tokens}
% \end{syntax}
-% Literals which are inserted at the opening and closing boundary of a compound
-% quantity; they are not used when the number of items is one.
-% The standard settings set these empty.
+% Literals which are inserted at the opening and closing boundary of a
+% compound quantity; they are not used when the number of items is one. The
+% standard settings set these empty.
% \end{function}
%
% \begin{function}{compound-close-bracket, compound-open-bracket}
Modified: trunk/Master/texmf-dist/source/latex/siunitx/siunitx-emulation.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/siunitx/siunitx-emulation.dtx 2025-01-14 20:45:54 UTC (rev 73452)
+++ trunk/Master/texmf-dist/source/latex/siunitx/siunitx-emulation.dtx 2025-01-14 20:46:11 UTC (rev 73453)
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% File: siunitx-emulation.dtx Copyright (C) 2016-2019,2021-2024 Joseph Wright
+% File: siunitx-emulation.dtx Copyright (C) 2016-2019,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
@@ -606,7 +606,7 @@
table-space-text-pre .code:n =
{
\msg_info:nnnn { siunitx } { option-deprecated }
- { table-space-text-post }
+ { table-space-text-pre }
{ table-format }
\tl_set:Nn \l_@@_table_before_model_tl {#1}
}
Modified: trunk/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx 2025-01-14 20:45:54 UTC (rev 73452)
+++ trunk/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx 2025-01-14 20:46:11 UTC (rev 73453)
@@ -93,10 +93,9 @@
% \marg{uncertainty}\\
% \marg{exponent sign}\marg{exponent}
% \end{quote}
-% where the two sign parts must be single tokens if present,
-% and all other components
-% must be given in braces. The number will have at least one digit for either the
-% \meta{integer} and \meta{exponent} parts.. The
+% where the two sign parts must be single tokens if present, and all other
+% components must be given in braces. The number will have at least one digit
+% for either the \meta{integer} and \meta{exponent} parts. The
% \meta{uncertainty} part should either be blank or contain an
% \meta{identifier} (as a brace group), followed by one or more data entries.
% Valid uncertainty \meta{identifiers} currently are
@@ -544,7 +543,7 @@
% \begin{syntax}
% |round-direction| = |down|\verb"|"|nearest|\verb"|"|up|
% \end{syntax}
-% Choice which determines how values values are rounded. The setting
+% Choice which determines how values are rounded. The setting
% |up| means that the value is always rounded away from zero, whereas the
% setting |down| means that the value will be rounded toward zero. The
% setting |nearest| means that the value will be rounded to the nearest
@@ -669,9 +668,9 @@
% standard setting of |compact| prints digits of uncertainty in the
% least-significant digits. It does \emph{not} print a decimal marker if the
% uncertainty crosses the decimal. The setting |full| prints the full value
-% of the uncertainty. The setting |compact-marker| is available to print in the
-% |compact| style except where the uncertainty crosses the decimal, in which case the
-% |full| style is used. The standard setting is |compact|.
+% of the uncertainty. The setting |compact-marker| is available to print in
+% the |compact| style except where the uncertainty crosses the decimal, in
+% which case the |full| style is used. The standard setting is |compact|.
% \end{function}
%
% \begin{function}{uncertainty-round-direction}
@@ -1917,17 +1916,17 @@
{ \@@_parse_loop_break:w }
}
% \end{macrocode}
-% Handling a decimal marker in the uncertainty is a bit tricky: we need to make
-% sure it's valid. First, we need to be sure that the integer part of the captured
-% uncertainty is not too long. Then we need to check that the decimal part is
-% not too long, and extend the decimal if it is.
-% Both of these require data from the collected partial number,
-% so we extract that first. Checking the decimal part needs the length of the
-% not-yet-collected uncertainty. There may be one or more parts to that, so
-% we have to grab up to the \emph{first} closing token to count the length:
-% just grabbing everything only works if there is only a single uncertainty.
-% We take protective steps against an entirely-missing closing token so that
-% there is not an uncontrolled error.
+% Handling a decimal marker in the uncertainty is a bit tricky: we need to
+% make sure it's valid. First, we need to be sure that the integer part of
+% the captured uncertainty is not too long. Then we need to check that the
+% decimal part is not too long, and extend the decimal if it is. Both of
+% these require data from the collected partial number, so we extract that
+% first. Checking the decimal part needs the length of the not-yet-collected
+% uncertainty. There may be one or more parts to that, so we have to grab up
+% to the \emph{first} closing token to count the length: just grabbing
+% everything only works if there is only a single uncertainty. We take
+% protective steps against an entirely-missing closing token so that there is
+% not an uncontrolled error.
% \begin{macrocode}
\cs_new_protected:Npn \@@_parse_uncert_marker:
{
@@ -2838,8 +2837,14 @@
}
{
\str_if_eq:nnTF {#4} { \empty }
- { \use:c { @@_round_ \l_@@_round_mode_tl :nnnnnnn } {#1} {#2} {#3} { } }
- { \use:c { @@_round_ \l_@@_round_mode_tl :nnnnnnn } {#1} {#2} {#3} {#4} }
+ {
+ \use:c { @@_round_ \l_@@_round_mode_tl :nnnnnnn }
+ {#1} {#2} {#3} { }
+ }
+ {
+ \use:c { @@_round_ \l_@@_round_mode_tl :nnnnnnn }
+ {#1} {#2} {#3} {#4}
+ }
{#5} {#6} {#7}
}
}
Modified: trunk/Master/texmf-dist/source/latex/siunitx/siunitx-print.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/siunitx/siunitx-print.dtx 2025-01-14 20:45:54 UTC (rev 73452)
+++ trunk/Master/texmf-dist/source/latex/siunitx/siunitx-print.dtx 2025-01-14 20:46:11 UTC (rev 73453)
@@ -113,7 +113,7 @@
% \cs{siunitx_print_number:n} \Arg{material}
% \cs{siunitx_print_unit:n} \Arg{material}
% \end{syntax}
-% Prints the \meta{material} according the the prevailing settings for the
+% Prints the \meta{material} according the prevailing settings for the
% submodule as applicable to the \meta{type} of content (|number| or |unit|).
% The \meta{material} should comprise normal
% \LaTeX{} mark-up for numbers or units. In particular, units will typically
@@ -256,7 +256,8 @@
% Switch to determine if the weight of the current text font should be
% applied (where possible) to printing in math mode. This is achieved by
% setting the \cs{mathversion}, and so will override |reset-math-version|.
-% The mappings between text and math weight are set . The standard setting is |false|.
+% The mappings between text and math weight are set . The standard setting is
+% |false|.
% \end{function}
%
% \begin{function}{text-subscript-command, text-superscript-command}
Modified: trunk/Master/texmf-dist/source/latex/siunitx/siunitx-quantity.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/siunitx/siunitx-quantity.dtx 2025-01-14 20:45:54 UTC (rev 73452)
+++ trunk/Master/texmf-dist/source/latex/siunitx/siunitx-quantity.dtx 2025-01-14 20:46:11 UTC (rev 73453)
@@ -217,7 +217,12 @@
% \end{variable}
%
% \begin{macro}{\siunitx_quantity:nn, \@@_parsed:nn}
-% \begin{macro}{\@@_parsed_combine-exponent:n, \@@_parsed_combine-exponent:n, \@@_parsed_input:n}
+% \begin{macro}
+% {
+% \@@_parsed_combine-exponent:n,
+% \@@_parsed_combine-exponent:n,
+% \@@_parsed_input:n
+% }
% \begin{macro}{\@@_parsed_aux:w}
% \begin{macro}{\@@_parsed_aux:nnnw}
% \begin{macro}{\@@_parsed_aux:nnnnw}
Modified: trunk/Master/texmf-dist/source/latex/siunitx/siunitx-table.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/siunitx/siunitx-table.dtx 2025-01-14 20:45:54 UTC (rev 73452)
+++ trunk/Master/texmf-dist/source/latex/siunitx/siunitx-table.dtx 2025-01-14 20:46:11 UTC (rev 73453)
@@ -1243,13 +1243,13 @@
\cs_generate_variant:Nn \@@_print:nnn { VVV }
% \end{macrocode}
% When centering on the decimal marker, alignment is relatively simple, and
-% close in concept to that used without parsing. First we need to deal with any
-% text before or after the number. For text \emph{before}, there's the case
-% where is has no width and might be a font or color change: that has to be
-% filtered out first. Then we can adjust the size of this material and that
-% after the number such that they are equal. The number itself can then be
-% formatted, splitting at he decimal marker. A bit more size adjustment, then
-% the number itself and any text at the end can be inserted.
+% close in concept to that used without parsing. First we need to deal with
+% any text before or after the number. For text \emph{before}, there's the
+% case where is has no width and might be a font or color change: that has to
+% be filtered out first. Then we can adjust the size of this material and
+% that after the number such that they are equal. The number itself can then
+% be formatted, splitting at he decimal marker. A bit more size adjustment,
+% then the number itself and any text at the end can be inserted.
% \begin{macrocode}
\cs_new_protected:Npn \@@_print_marker:nnn #1#2#3
{
Modified: trunk/Master/texmf-dist/source/latex/siunitx/siunitx-unit.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/siunitx/siunitx-unit.dtx 2025-01-14 20:45:54 UTC (rev 73452)
+++ trunk/Master/texmf-dist/source/latex/siunitx/siunitx-unit.dtx 2025-01-14 20:46:11 UTC (rev 73453)
@@ -259,9 +259,9 @@
% Defines a symbolic \meta{unit} (which should be a control sequence
% such as |\kilogram|) to be converted by the parser to the \meta{meaning}.
% The latter may consist of literal content (\foreign{e.g.}~|kg|), other
-% symbolic unit commands (\foreign{e.g.}~|\kilo\gram|) or a mixture of the two.
-% In literal mode the \meta{meaning} will be typeset directly. The version
-% taking an \meta{options} argument may be used to support per-unit
+% symbolic unit commands (\foreign{e.g.}~|\kilo\gram|) or a mixture of the
+% two. In literal mode the \meta{meaning} will be typeset directly. The
+% version taking an \meta{options} argument may be used to support per-unit
% options: these are applied at the top level or using
% \cs{siunitx_unit_options_apply:n}.
% \end{function}
@@ -666,11 +666,11 @@
% |qualifier-mode| = |bracket|\verb"|"|combine|\verb"|"|phrase|\verb"|"|subscript|
% \end{syntax}
% Selects how qualifiers are formatted: a choice from the options |bracket|,
-% |combine|, |phrase| and |subscript|. The option |bracket| wraps the qualifier
-% in parenthesis, |combine| joins the qualifier with the unit directly, |phrase|
-% joins the material using |qualifier-phrase| as a link, and
-% |subscript| formats the qualifier as a subscript. The standard setting is
-% |subscript|.
+% |combine|, |phrase| and |subscript|. The option |bracket| wraps the
+% qualifier in parenthesis, |combine| joins the qualifier with the unit
+% directly, |phrase| joins the material using |qualifier-phrase| as a link,
+% and |subscript| formats the qualifier as a subscript. The standard setting
+% is |subscript|.
% \end{function}
%
% \begin{function}{qualifier-phrase}
@@ -1104,7 +1104,7 @@
% map over the list of names and active the unit definitions: these do
% different things depending on the switches set. There is then a decision to
% be made: is the unit input one that can be parsed (\enquote{symbolic}), or
-% is is one containing one or more literals. In the latter case, there is a
+% is one containing one or more literals. In the latter case, there is a
% still the need to convert the input into an expanded token list as some
% parts of the input could still be using unit macros.
%
@@ -1206,8 +1206,8 @@
%
% \begin{macro}[EXP]{\@@_literal_power:nn}
% For printing literal units which are given before the unit they apply to,
-% there is a slight rearrangement. This is ex[EXP]pandable to cover the case of
-% creation of a PDF string.
+% there is a slight rearrangement. This is ex[EXP]pandable to cover the case
+% of creation of a PDF string.
% \begin{macrocode}
\cs_new:Npn \@@_literal_power:nn #1#2 { #2 ^ {#1} }
% \end{macrocode}
Modified: trunk/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/siunitx/siunitx.dtx 2025-01-14 20:45:54 UTC (rev 73452)
+++ trunk/Master/texmf-dist/source/latex/siunitx/siunitx.dtx 2025-01-14 20:46:11 UTC (rev 73453)
@@ -28,6 +28,10 @@
\documentclass{l3doc}
% 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}
+\pdfstringdefDisableCommands{%
+ \ExpandArgs{Nc}\DeclareCommandCopy\version{version (pdfstring context)}}
% The next line is needed so that \GetFileInfo will be able to pick up
% version data
\usepackage{siunitx}
@@ -133,7 +137,7 @@
%
% Identify the package and give the over all version information.
% \begin{macrocode}
-\ProvidesExplPackage {siunitx} {2024-12-06} {3.4.0}
+\ProvidesExplPackage {siunitx} {2025-01-14} {3.4.1}
{A comprehensive (SI) units package}
% \end{macrocode}
%
Modified: trunk/Master/texmf-dist/source/latex/siunitx/siunitx.tex
===================================================================
--- trunk/Master/texmf-dist/source/latex/siunitx/siunitx.tex 2025-01-14 20:45:54 UTC (rev 73452)
+++ trunk/Master/texmf-dist/source/latex/siunitx/siunitx.tex 2025-01-14 20:46:11 UTC (rev 73453)
@@ -2125,7 +2125,7 @@
choices \opt{individual}, \opt{combine-bracket} and \opt{combine}. The standard
setting, \opt{individual}, leaves the exponent with the matching value. Both
\opt{combine} and \opt{combine-bracket} take the exponent of the first entry
-and apply to to all other entries, with the exponent itself places at the end.
+and apply to all other entries, with the exponent itself places at the end.
\begin{LaTeXdemo}
\numlist{5e3;7e3;9e3;1e4} \\
\numproduct{5e3 x 7e3 x 9e3 x 1e4} \\
@@ -2182,25 +2182,25 @@
\DescribeOption{product-open-bracket}
\DescribeOption{range-close-bracket}
\DescribeOption{range-open-bracket}
-The brackets used can be customised using the relevant \texttt{\dots-close-bracket}
-and \texttt{\dots-open-bracket} options.
+The brackets used can be customised using the relevant \texttt{\dots-open-bracket}
+and \texttt{\dots-close-bracket} options.
\begin{LaTeXdemo}
\sisetup{
list-units = bracket ,
- list-open-bracket = ( ,
- list-close-bracket = )
+ list-open-bracket = [ ,
+ list-close-bracket = ]
}
- \numlist{5e3;7e3;9e3;1e4} \\
+ \qtylist{5e3;7e3;9e3;1e4}{\second} \\
\sisetup{
product-units = bracket ,
- product-open-bracket = ( ,
- product-close-bracket = )
+ product-open-bracket = \{ ,
+ product-close-bracket = \}
}
- \numproduct{5e3 x 7e3 x 9e3 x 1e4} \\
+ \qtyproduct{5e3 x 7e3 x 9e3 x 1e4}{\metre} \\
\sisetup{
range-units = bracket ,
- range-open-bracket = ( ,
- range-close-bracket = )
+ range-open-bracket = \langle ,
+ range-close-bracket = \rangle
}
\qtyrange{2}{4}{\degreeCelsius}
\end{LaTeXdemo}
@@ -2602,7 +2602,7 @@
It is possible for the behavior of the \cs{per} function to depend on the
prevailing math style. Setting either \opt{display-per-mode} or
\opt{inline-per-mode} independently can be used to achieve this. For example,
-the following example will will use the \opt{symbol} setting for in line math,
+the following example will use the \opt{symbol} setting for in line math,
and the \opt{fraction} setting when used in display math.
\begin{LaTeXdemo}
\sisetup{
Modified: trunk/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/siunitx/siunitx.sty 2025-01-14 20:45:54 UTC (rev 73452)
+++ trunk/Master/texmf-dist/tex/latex/siunitx/siunitx.sty 2025-01-14 20:46:11 UTC (rev 73453)
@@ -47,7 +47,7 @@
}%
\endinput
}%
-\ProvidesExplPackage {siunitx} {2024-12-06} {3.4.0}
+\ProvidesExplPackage {siunitx} {2025-01-14} {3.4.1}
{A comprehensive (SI) units package}
\msg_new:nnnn { siunitx } { incompatible-package }
{ Package~'#1'~incompatible. }
@@ -1397,8 +1397,14 @@
}
{
\str_if_eq:nnTF {#4} { \empty }
- { \use:c { __siunitx_number_round_ \l__siunitx_number_round_mode_tl :nnnnnnn } {#1} {#2} {#3} { } }
- { \use:c { __siunitx_number_round_ \l__siunitx_number_round_mode_tl :nnnnnnn } {#1} {#2} {#3} {#4} }
+ {
+ \use:c { __siunitx_number_round_ \l__siunitx_number_round_mode_tl :nnnnnnn }
+ {#1} {#2} {#3} { }
+ }
+ {
+ \use:c { __siunitx_number_round_ \l__siunitx_number_round_mode_tl :nnnnnnn }
+ {#1} {#2} {#3} {#4}
+ }
{#5} {#6} {#7}
}
}
@@ -8719,7 +8725,7 @@
table-space-text-pre .code:n =
{
\msg_info:nnnn { siunitx } { option-deprecated }
- { table-space-text-post }
+ { table-space-text-pre }
{ table-format }
\tl_set:Nn \l__siunitx_table_before_model_tl {#1}
}
More information about the tex-live-commits
mailing list.