From aaf318af4f0447a75aeca97543754336da86439b Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 22 Jun 2022 20:53:07 +0000 Subject: siunitx (22jun22) git-svn-id: svn://tug.org/texlive/trunk@63693 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md | 10 +++++++++- .../texmf-dist/doc/latex/siunitx/siunitx-code.pdf | Bin 617944 -> 617746 bytes Master/texmf-dist/doc/latex/siunitx/siunitx.pdf | Bin 663088 -> 665420 bytes .../source/latex/siunitx/siunitx-quantity.dtx | 10 ++++++++-- .../source/latex/siunitx/siunitx-symbol.dtx | 6 ++++-- Master/texmf-dist/source/latex/siunitx/siunitx.dtx | 2 +- Master/texmf-dist/tex/latex/siunitx/siunitx.sty | 14 +++++++++++--- 7 files changed, 33 insertions(+), 9 deletions(-) (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md b/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md index 7248d9ac776..60d0b4c4600 100644 --- a/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md +++ b/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md @@ -7,6 +7,13 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [Unreleased] +## [v3.1.4] - 2022-06-22 + + +### Fixed +- Spacing of `\arcminute` and `\arcsecond` in quantities (see issue + [\#6048(https://github.com/josephwright/siunitx/issues/608)) + ## [v3.1.3] - 2022-06-07 ### Fixed @@ -1786,7 +1793,8 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ### Added - First public testing release (as `si`) -[Unreleased]: https://github.com/josephwright/siunitx/compare/v3.1.3...HEAD +[Unreleased]: https://github.com/josephwright/siunitx/compare/v3.1.4...HEAD +[v3.1.4]: https://github.com/josephwright/siunitx/compare/v3.1.3...v3.1.4 [v3.1.3]: https://github.com/josephwright/siunitx/compare/v3.1.2...v3.1.3 [v3.1.2]: https://github.com/josephwright/siunitx/compare/v3.1.1...v3.1.2 [v3.1.1]: https://github.com/josephwright/siunitx/compare/v3.1.0...v3.1.1 diff --git a/Master/texmf-dist/doc/latex/siunitx/siunitx-code.pdf b/Master/texmf-dist/doc/latex/siunitx/siunitx-code.pdf index 08b863b8b49..533f78d1d25 100644 Binary files a/Master/texmf-dist/doc/latex/siunitx/siunitx-code.pdf and b/Master/texmf-dist/doc/latex/siunitx/siunitx-code.pdf differ diff --git a/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf b/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf index 98c7607d19f..e6e98188c99 100644 Binary files a/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf and b/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf differ diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx-quantity.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx-quantity.dtx index 4c311d5d081..94f50a1ce71 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx-quantity.dtx +++ b/Master/texmf-dist/source/latex/siunitx/siunitx-quantity.dtx @@ -448,11 +448,17 @@ % \end{macro} % \end{macro} % -% \begin{macro}{\degree} -% The \cs{degree} unit is re-declared here: this is needed for using it +% \begin{macro}{\arcminute, \arcsecond, \degree} +% The angles units are re-declared here: this is needed for using it % in quantities. This is done here as it avoids a dependency in % \pkg{siunitx-unit} on options it does not contain. % \begin{macrocode} +\siunitx_declare_unit:Nxn \arcminute + { \@@_non_latin:n { "02B9 } } + { quantity-product = { } } +\siunitx_declare_unit:Nxn \arcsecond + { \@@_non_latin:n { "02BA } } + { quantity-product = { } } \siunitx_declare_unit:Nxn \degree { \@@_non_latin:n { "00B0 } } { quantity-product = { } } diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx-symbol.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx-symbol.dtx index af3c88a095c..30791514b17 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx-symbol.dtx +++ b/Master/texmf-dist/source/latex/siunitx/siunitx-symbol.dtx @@ -165,13 +165,15 @@ { \@@_if_replace:NnT \arcminute { "02B9 } { - \siunitx_declare_unit:Nn \arcminute + \siunitx_declare_unit:Nnn \arcminute { \ensuremath { { } ' } } + { quantity-product = { } } } \@@_if_replace:NnT \arcsecond { "02BA } { - \siunitx_declare_unit:Nn \arcsecond + \siunitx_declare_unit:Nnn \arcsecond { \ensuremath { { } '' } } + { quantity-product = { } } } % \end{macrocode} % For |\degree|, direct input works in text mode so there is only a need to diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx index d24b1ce6fab..4217ff662f2 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx +++ b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx @@ -121,7 +121,7 @@ % % Identify the package and give the over all version information. % \begin{macrocode} -\ProvidesExplPackage {siunitx} {2022-06-07} {3.1.3} +\ProvidesExplPackage {siunitx} {2022-06-22} {3.1.4} {A comprehensive (SI) units package} % \end{macrocode} % diff --git a/Master/texmf-dist/tex/latex/siunitx/siunitx.sty b/Master/texmf-dist/tex/latex/siunitx/siunitx.sty index a5576eb4241..8cba881818c 100644 --- a/Master/texmf-dist/tex/latex/siunitx/siunitx.sty +++ b/Master/texmf-dist/tex/latex/siunitx/siunitx.sty @@ -42,7 +42,7 @@ }% \endinput }% -\ProvidesExplPackage {siunitx} {2022-06-07} {3.1.3} +\ProvidesExplPackage {siunitx} {2022-06-22} {3.1.4} {A comprehensive (SI) units package} \msg_new:nnnn { siunitx } { incompatible-package } { Package~'#1'~incompatible. } @@ -7057,6 +7057,12 @@ \exp_not:N \char_generate:nn {#2} { 13 } } } +\siunitx_declare_unit:Nxn \arcminute + { \__siunitx_quantity_non_latin:n { "02B9 } } + { quantity-product = { } } +\siunitx_declare_unit:Nxn \arcsecond + { \__siunitx_quantity_non_latin:n { "02BA } } + { quantity-product = { } } \siunitx_declare_unit:Nxn \degree { \__siunitx_quantity_non_latin:n { "00B0 } } { quantity-product = { } } @@ -7114,13 +7120,15 @@ { \__siunitx_symbol_if_replace:NnT \arcminute { "02B9 } { - \siunitx_declare_unit:Nn \arcminute + \siunitx_declare_unit:Nnn \arcminute { \ensuremath { { } ' } } + { quantity-product = { } } } \__siunitx_symbol_if_replace:NnT \arcsecond { "02BA } { - \siunitx_declare_unit:Nn \arcsecond + \siunitx_declare_unit:Nnn \arcsecond { \ensuremath { { } '' } } + { quantity-product = { } } } \__siunitx_symbol_if_replace:NnT \degree { "00B0 } { -- cgit v1.2.3