From c03c0d515f1bfbd111d40e78805db4696e080fb8 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Wed, 5 Jan 2022 03:00:57 +0000 Subject: CTAN sync 202201050300 --- macros/latex/contrib/siunitx/CHANGELOG.md | 379 +++++++++++----------- macros/latex/contrib/siunitx/siunitx-angle.dtx | 6 +- macros/latex/contrib/siunitx/siunitx-code.pdf | Bin 607749 -> 607911 bytes macros/latex/contrib/siunitx/siunitx-compound.dtx | 19 +- macros/latex/contrib/siunitx/siunitx-number.dtx | 14 +- macros/latex/contrib/siunitx/siunitx.dtx | 10 +- macros/latex/contrib/siunitx/siunitx.ins | 2 +- macros/latex/contrib/siunitx/siunitx.pdf | Bin 638352 -> 638349 bytes 8 files changed, 226 insertions(+), 204 deletions(-) (limited to 'macros/latex/contrib/siunitx') diff --git a/macros/latex/contrib/siunitx/CHANGELOG.md b/macros/latex/contrib/siunitx/CHANGELOG.md index 88a402317a..48348bc593 100644 --- a/macros/latex/contrib/siunitx/CHANGELOG.md +++ b/macros/latex/contrib/siunitx/CHANGELOG.md @@ -7,12 +7,18 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [Unreleased] -## [v3.0.37] +## [v3.0.38]: 2022-01-04 + +### Changed +- Allow for empty values in lists and ranges (see issue + [#566](https://github.com/josephwright/siunitx/issues/566)) + +## [v3.0.37]: 2021-12-04 ### Changed - Documentation and warning improvements for "drop-exponent" option -## [v3.0.36] +## [v3.0.36]: 2021-11-18 ### Changed - Internal changes to tabular code to improve visual output when integer part @@ -22,7 +28,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Printing fractional units using `\sfrac` (see issue [#558](https://github.com/josephwright/siunitx/issues/558)) -## [v3.0.35] +## [v3.0.35]: 2021-11-03 ### Changed - Delay loading of `color` package to `begindocument` hook @@ -31,13 +37,13 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Text mode replacement of `\mathrm` in super/subscripts (see issue [#556](https://github.com/josephwright/siunitx/issues/556)) -## [v3.0.34] +## [v3.0.34]: 2021-10-26 ### Fixed - Printing of exponent for complex values when converting to a prefix (see issue [#555](https://github.com/josephwright/siunitx/issues/555)) -## [v3.0.33] +## [v3.0.33]: 2021-10-15 ### Changed - Further improvements to degree symbol in math mode @@ -48,7 +54,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Handling of combination of `mode = text` with `tight-spacing` (see issue [#553](https://github.com/josephwright/siunitx/issues/553) -## [v3.0.32] +## [v3.0.32]: 2021-09-29 ### Added - Hint concerning non-standard font encodings (see issues @@ -59,13 +65,13 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Use math mode symbol for degree where possible (see issue [#550](https://github.com/josephwright/siunitx/issues/550)) -## [v3.0.31] +## [v3.0.31]: 2021-09-22 ### Fixed - Avoid infinite loop with `tex4ht` (issue [#549](https://github.com/josephwright/siunitx/issues/549)) -## [v3.0.30] +## [v3.0.30]: 2021-09-14 ### Changed - Delay selection of math mode to better support `tex4ht` (issue @@ -80,32 +86,32 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Apply number processing options to angles (issue [#546](https://github.com/josephwright/siunitx/issues/546)) -## [v3.0.29] +## [v3.0.29]: 2021-09-06 ### Fixed - Only apply `text-series-to-math` when the math version is `normal` (issue [#541](https://github.com/josephwright/siunitx/issues/541)) -## [v3.0.28] +## [v3.0.28]: 2021-08-27 ### Fixed - Pre-spacing for free-standing units (issue [#538](https://github.com/josephwright/siunitx/issues/538)) -## [v3.0.27] +## [v3.0.27]: 2021-08-22 ### Fixed - Detection of unchanged symbols when font is sanserif (issue [#535](https://github.com/josephwright/siunitx/issues/535)) -## [v3.0.26] +## [v3.0.26]: 2021-08-21 ### Fixed - Accidental printing of `T@TS1` with `beamer` (issue [#534](https://github.com/josephwright/siunitx/issues/534)) -## [v3.0.25] +## [v3.0.25]: 2021-08-16 ### Changed - Default to sanserif units if `\familydefault` is `\sfdefault` @@ -123,7 +129,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Treatment of multiple tokens for `input-ignore` (issue [#531](https://github.com/josephwright/siunitx/issues/531)) -## [v3.0.24] +## [v3.0.24]: 2021-08-04 ### Fixed - Option setting `round-half = even` (issue @@ -133,13 +139,13 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Rounding to uncertainty in the integer part (issue [#523](https://github.com/josephwright/siunitx/issues/523)) -## [v3.0.23] +## [v3.0.23]: 2021-07-26 ### Fixed - Load order of `xparse` (issue [#518](https://github.com/josephwright/siunitx/issues/518)) -## [v3.0.22] +## [v3.0.22]: 2021-07-22 ### Changed - Support `table-text-alignment = none` for interoperation with @@ -152,7 +158,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Interaction with `cellspace` package (issue [#512](https://github.com/josephwright/siunitx/issues/512)) -## [v3.0.21] +## [v3.0.21]: 2021-07-20 ### Fixed - Print degree symbol if `fontspec` package is loaded with @@ -163,7 +169,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Symbol for arcs in text mode (issue [#507](https://github.com/josephwright/siunitx/issues/507)) -## [v3.0.20] +## [v3.0.20]: 2021-07-14 ### Fixed - Interaction with `kotex` (issue @@ -171,25 +177,25 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Handling of groups in literal units (issue [#503](https://github.com/josephwright/siunitx/issues/503)) -## [v3.0.19] +## [v3.0.19]: 2021-07-06 ### Fixed - Emulation for `\SendSettingsToPgf` (issue [#501](https://github.com/josephwright/siunitx/issues/501)) -## [v3.0.18] +## [v3.0.18]: 2021-07-04 ### Fixed - Printing of reciprocal units when `per-mode = symbol` is active (issue [#500](https://github.com/josephwright/siunitx/issues/500)) -## [v3.0.17] +## [v3.0.17]: 2021-06-29 ### Fixed - Load order issue with `soulpos` (issue [#498](https://github.com/josephwright/siunitx/issues/498)) -## [v3.0.16] +## [v3.0.16]: 2021-06-24 ### Fixed - Treatment of spaces before `/` in literal units (issue @@ -197,7 +203,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Printing of `\mathchoice` entries in text mode (issue [#497](https://github.com/josephwright/siunitx/issues/497)) -## [v3.0.15] +## [v3.0.15]: 2021-06-22 ### Fixed - Bracketing of complex quantities (issue @@ -209,7 +215,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Engineering exponents with some exponent values (issue [#494](https://github.com/josephwright/siunitx/issues/494)) -## [v3.0.14] +## [v3.0.14]: 2021-06-17 ### Changed - Auto-enable `table-fixed-width` when setting `table-column-width` @@ -225,7 +231,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to `separate` and an exponent is present (issue [#490](https://github.com/josephwright/siunitx/issues/490)) -## [v3.0.13] +## [v3.0.13]: 2021-06-14 ### Added - Catalan translations for lists and ranges @@ -243,7 +249,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Printing of ohm symbol in text mode with `fourier` package (issue [#486](https://github.com/josephwright/siunitx/issues/486)) -## [v3.0.12] +## [v3.0.12]: 2021-06-09 ### Fixed - Modify warning message (fixes @@ -253,7 +259,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Remove stray debug code in symbol allocation (issue [#478](https://github.com/josephwright/siunitx/issues/478)) -## [v3.0.11] +## [v3.0.11]: 2021-06-07 ### Changed - Improve some fallback unit definitions @@ -266,7 +272,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Emulation of `number-unit-separator` (issue [#473](https://github.com/josephwright/siunitx/issues/473)) -## [v3.0.10] +## [v3.0.10]: 2021-06-04 ### Changed - Documentation improvements @@ -275,7 +281,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Incompatibility with REVTeX (issue [#469](https://github.com/josephwright/siunitx/issues/469)) -## [v3.0.9] +## [v3.0.9]: 2021-06-01 ### Changed - Documentation improvements @@ -293,7 +299,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Interpretation of uncertainties in integers (issue [#465](https://github.com/josephwright/siunitx/issues/465)) -## [v3.0.8] +## [v3.0.8]: 2021-05-31 ### Changed - Documentation improvements @@ -306,7 +312,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Emulation of `group-four-digits` (issue [#461](https://github.com/josephwright/siunitx/issues/461)) -## [v3.0.7] +## [v3.0.7]: 2021-05-28 ### Fixed - Formatting of some literal units (issue @@ -318,7 +324,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Implement missing `output-exponent-marker` (issue [#458](https://github.com/josephwright/siunitx/issues/458)) -## [v3.0.6] +## [v3.0.6]: 2021-05-25 ### Changed - Documentation improvements @@ -329,7 +335,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Format separate uncertainty correctly where it falls purely in the integer part (issue [#454](https://github.com/josephwright/siunitx/issues/454)) -## [v3.0.5] +## [v3.0.5]: 2021-05-24 ### Changed - Documentation improvements @@ -344,7 +350,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Mark `\bar` as removed (issue [#448](https://github.com/josephwright/siunitx/issues/448)) -## [v3.0.4] +## [v3.0.4]: 2021-05-21 ### Changed - Standardise and document the position of `\color` in negative values @@ -354,7 +360,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Alignment of integers in tables when `parse-numbers = tables` (issue [#442](https://github.com/josephwright/siunitx/issues/442)) -## [v3.0.3] +## [v3.0.3]: 2021-05-20 ### Changed - Documentation improvements @@ -366,7 +372,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Application of negative color in table cells (issue [#439](https://github.com/josephwright/siunitx/issues/439)) -## [v3.0.2] +## [v3.0.2]: 2021-05-19 ### Changed - Documentation improvements @@ -389,7 +395,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ### Deprecated - Unit macro `\celsius` -## [v3.0.1] +## [v3.0.1]: 2021-05-18 ### Added - Public `\l_siunitx_unit_fraction_tl` variable @@ -405,7 +411,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - French translation of 'to' for ranges (issue [#421](https://github.com/josephwright/siunitx/issues/421)) -## [v3.0.0] +## [v3.0.0]: 2021-05-17 ### Added - `\complexnum` @@ -588,59 +594,59 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Option `unit-text-tt` - Option `version-1-compatibility` -## [v2.8e] - 2021-04-17 +## [v2.8e]: 2021-04-17 ### Fixed - Missing setting in emulation of v1 option `repeatunits` -## [v2.8d] - 2021-04-09 +## [v2.8d]: 2021-04-09 ### Changed - Correct file dates for configuration files -## [v2.8c] - 2021-03-27 +## [v2.8c]: 2021-03-27 ### Changed - Updates to follow LaTeX2e kernel revisions - No longer apply `\addtocontents` patch -## [v2.8b] - 2020-02-25 +## [v2.8b]: 2020-02-25 ### Fixed - Correct `\ohm` when `newtxmath` is loaded -## [v2.8a] - 2020-02-23 +## [v2.8a]: 2020-02-23 ### Fixed - Correct `\ohm` when `unicode-math` is loaded (issue [#377](https://github.com/josephwright/siunitx/issues/377)) -## [v2.8] - 2020-02-20 +## [v2.8]: 2020-02-20 ### Changed - Use companion font symbols/force `textcomp` loading -## [v2.7v] - 2020-02-19 [UNUSED] +## [v2.7v]: 2020-02-19 [UNUSED] ### Fixed - Appearance of superscript decimals with comma decimal marker -## [v2.7u] - 2020-01-15 +## [v2.7u]: 2020-01-15 ### Changed - Modified internals to track `expl3` changes -## [v2.7t] - 2019-10-10 +## [v2.7t]: 2019-10-10 ### Fixed - Combination of `round-half = even` with `round-precision = 0` - Include sign in astronomy-style angles -## [v2.7s] - 2018-05-17 +## [v2.7s]: 2018-05-17 ### Changed - Revert package date format change in v2.7l -## [v2.7r] - 2018-05-16 +## [v2.7r]: 2018-05-16 ### Changed - Modified internals to track `expl3` changes @@ -649,30 +655,30 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Collect tokens before `\ignorespaces` in tabulars (esp. with REVTeX) (issue [#337](https://github.com/josephwright/siunitx/issues/337)) -## [v2.7q] - 2018-05-11 +## [v2.7q]: 2018-05-11 ### Fixed - Allow for `cellspace` "column" option (issue [#315](https://github.com/josephwright/siunitx/issues/315)) -## [v2.7p] - 2018-05-10 +## [v2.7p]: 2018-05-10 ### Changed - Avoid an `expl3` internal function - Better approach to removing `\ignorespaces` -## [v2.7o] - 2018-05-02 [UNUSED] +## [v2.7o]: 2018-05-02 [UNUSED] -## [v2.7n] - 2018-04-27 +## [v2.7n]: 2018-04-27 ### Fixed - Issue with symbolic input and digit grouping -## [v2.7m] - 2018-03-20 +## [v2.7m]: 2018-03-20 ### Changed - Update `\astronomicalunit` symbol (issue [#332](https://github.com/josephwright/siunitx/issues/332)) -## [v2.7l] - 2018-03-11 +## [v2.7l]: 2018-03-11 ### Added - Abbreviations for milli/microjoule @@ -684,29 +690,29 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Scope of some internal variable corrected (issue [#327](https://github.com/josephwright/siunitx/issues/327)) - Track `unicode-math` changes (issue [#331](https://github.com/josephwright/siunitx/issues/331)) -## [v2.7k] - 2017-11-26 +## [v2.7k]: 2017-11-26 ### Fixed - Incorrect internal variable renamed (issue [#320](https://github.com/josephwright/siunitx/issues/320)) - Suppress leading "1" when units are not parsed (issue [#318](https://github.com/josephwright/siunitx/issues/318)) - Correct default value for `arc-separator` (issue [#319](https://github.com/josephwright/siunitx/issues/319)) -## [v2.7j] - 2017-08-02 +## [v2.7j]: 2017-08-02 ### Fixed - Use correct name for internal boolean -## [v2.7i] - 2017-07-23 +## [v2.7i]: 2017-07-23 ### Fixed - Incorrect internal variable renamed (issue [#311](https://github.com/josephwright/siunitx/issues/311)) -## [v2.7h] - 2017-06-13 +## [v2.7h]: 2017-06-13 ### Changed - Some abuses of `expl3` box functions removed (issue [#309](https://github.com/josephwright/siunitx/issues/309)) -## [v2.7g] - 2017-05-19 +## [v2.7g]: 2017-05-19 ### Changed - Use new `expl3` functions for some internal tests @@ -715,7 +721,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Change box collection following `expl3` update - Links to BIPM website -## [v2.7f] - 2017-03-23 +## [v2.7f]: 2017-03-23 ### Changed - Name of 'hidden' function used by for bookmark generation @@ -723,32 +729,32 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ### Fixed - Spacing when option `per-mode = reciprocal-positive-first` is active -## [v2.7e] - 2017-03-06 +## [v2.7e]: 2017-03-06 ### Fixed - Properly handle signs in `table-format` key (issue [#303](https://github.com/josephwright/siunitx/issues/303)) -## [v2.7d] - 2017-02-19 +## [v2.7d]: 2017-02-19 ### Fixed - Avoid doubled tokens in pre-number part of tables -## [v2.7c] - 2017-02-01 +## [v2.7c]: 2017-02-01 ### Fixed - Correct integer alignment in tables (issue [#302](https://github.com/josephwright/siunitx/issues/302)) -## [v2.7b] - 2017-01-28 +## [v2.7b]: 2017-01-28 ### Fixed - Fix an issue with large numbers in scientific mode (issue [#301](https://github.com/josephwright/siunitx/issues/301)) -## [v2.7a] - 2017-01-01 +## [v2.7a]: 2017-01-01 ### Changed - Track `expl3` changes regarding key-value management -## [v2.7] - 2017-01-01 +## [v2.7]: 2017-01-01 ### Added - Code-level API variable `\l_siunitx_unit_symbolic_seq` @@ -756,13 +762,13 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ### Fixed - Allow for `cellspace` package in math mode -## [v2.6s] - 2016-09-02 +## [v2.6s]: 2016-09-02 ### Changed - Improved a warning concerning `color` package -## [v2.6r] - 2016-08-22 +## [v2.6r]: 2016-08-22 ### Changed - Warn if `color` is not loaded (issue [#289](https://github.com/josephwright/siunitx/issues/289)) @@ -773,7 +779,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Handling of `e0` input (issue [#292](https://github.com/josephwright/siunitx/issues/292)) - Added some missing internal variable declarations -## [v2.6q] - 2016-03-01 +## [v2.6q]: 2016-03-01 ### Fixed - Correct detection of font inside cells @@ -781,18 +787,18 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ### Changed - Index formatting -## [v2.6p] - 2016-01-19 +## [v2.6p]: 2016-01-19 ### Fixed - Formatting of `\degreeCelsius` (issue [#285](https://github.com/josephwright/siunitx/issues/285)) - Allow input unit with prefix and `\per` in `exponent-to-prefix` (issue 283) -## [v2.6o] - 2016-01-05 +## [v2.6o]: 2016-01-05 ### Fixed - Allow for unit powers when converting exponents to prefixes -## [v2.6n] - 2015-12-31 +## [v2.6n]: 2015-12-31 ### Changed - Formatting of `\degreeCelsius` (issue [#282](https://github.com/josephwright/siunitx/issues/282)) @@ -800,28 +806,28 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ### Fixed - Appearance of ångström with LuaTeX (issue [#280](https://github.com/josephwright/siunitx/issues/280)) -## [v2.6m] - 2015-10-15 +## [v2.6m]: 2015-10-15 ### Fixed - Interaction with `mwtab` in some table cells -## [v2.6l] - 2015-09-14 +## [v2.6l]: 2015-09-14 ### Fixed - An internal error in literal unit formatting -## [v2.6k] - 2015-09-12 +## [v2.6k]: 2015-09-12 ### Changed - Track/exploit `expl3` updates -## [v2.6j] - 2015-09-01 +## [v2.6j]: 2015-09-01 ### Fixed - Treatment of `\pm` when `exponent-to-prefix` is true - Print all units when `exponent-to-prefix` is true -## [v2.6i] - 2015-08-18 +## [v2.6i]: 2015-08-18 ### Changed - Performance improvements @@ -831,17 +837,17 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Use of `\cancel` in math mode (issue [#264](https://github.com/josephwright/siunitx/issues/264)) - Cope better with large numbers when rounding (issue [#198](https://github.com/josephwright/siunitx/issues/198)) -## [v2.6h] - 2015-07-17 +## [v2.6h]: 2015-07-17 ### Changed - Track `expl3` changes -## [v2.6g] - 2015-06-25 +## [v2.6g]: 2015-06-25 ### Fixed - Handling of empty table cells (issue [#271](https://github.com/josephwright/siunitx/issues/271)) -## [v2.6f] - 2015-06-16 +## [v2.6f]: 2015-06-16 ### Added - Spanish coverage for translations @@ -854,22 +860,22 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Behaviour of `table-sign-exponent` and `table-sign-mantissa` when set false -## [v2.6e] - 2015-01-21 +## [v2.6e]: 2015-01-21 ### Changed - Auto-detect `mathspec`/`eulervm` -## [v2.6d] - 2014-10-28 +## [v2.6d]: 2014-10-28 ### Fixed - Fix conversation of uncertainty part with integer mantissas -## [v2.6c] - 2014-10-01 +## [v2.6c]: 2014-10-01 ### Fixed - `\micro` when `fontspec` is loaded -## [v2.6b] - 2014-09-27 +## [v2.6b]: 2014-09-27 ### Changed - Method for font shape detection to allow for, _e.g._ `\scshape` @@ -877,12 +883,12 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ### Fixed - Typo in standard `input-protect-tokens` options -## [v2.6a] - 2014-09-15 +## [v2.6a]: 2014-09-15 ### Changed - Improved Unicode math symbol coverage -## [v2.6] - 2014-09-05 +## [v2.6]: 2014-09-05 ### Changes - Switch to math mode by default for all printing @@ -907,17 +913,17 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Ignore hard spaces in `\num` (issue [#256](https://github.com/josephwright/siunitx/issues/256)) - Use `\mathord` for tight spacing on 'in line' exponent (issue [#257](https://github.com/josephwright/siunitx/issues/257)) -## [v2.5s] - 2013-07-31 +## [v2.5s]: 2013-07-31 ### Fixed - Internal issue with one key -## [v2.5r] - 2013-07-11 +## [v2.5r]: 2013-07-11 ## Fixed - Update internals to remove deprecated key support -## [v2.5q] - 2013-03-11 +## [v2.5q]: 2013-03-11 ### Changed - Issue warning if `cellspace` column letter is moved @@ -926,22 +932,22 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Reorder creation of unit wrappers and option setting (issue [#218](https://github.com/josephwright/siunitx/issues/218)) - Replace active hyphen with 'other' one (issue [#222](https://github.com/josephwright/siunitx/issues/222)) -## [v2.5p] - 2013-02-01 +## [v2.5p]: 2013-02-01 ### Fixed - Search/replace `\pm` and `\mp` in text mode printing -## [v2.5o] - 2013-01-09 +## [v2.5o]: 2013-01-09 ### Changed - Track `expl3` changes -## [v2.5n] - 2012-12-29 +## [v2.5n]: 2012-12-29 ### Fixed - Correctly calculate grouping data to send to `pgf` (issue [#211](https://github.com/josephwright/siunitx/issues/211)) -## [v2.5m] - 2012-11-27 +## [v2.5m]: 2012-11-27 ### Fixed - Allow for `bidi`/RTL when applying `\text` @@ -949,12 +955,12 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Load binary-units only when requested (issue [#201](https://github.com/josephwright/siunitx/issues/201)) - Disable `\hightlight` in bookmarks (issue [#207](https://github.com/josephwright/siunitx/issues/207)) -## [v2.5l] - 2012-11-21 +## [v2.5l]: 2012-11-21 ### Changed - Track `expl3` changes -## [v2.5k] - 2012-11-13 +## [v2.5k]: 2012-11-13 ### Changed - Explicitly require `xparse` @@ -964,12 +970,12 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Correct use of fixed dimension/skip values internally - Store name of `\frac` function, don't `\let` it (issue [#203](https://github.com/josephwright/siunitx/issues/203)) -## [v2.5j] - 2012-09-18 +## [v2.5j]: 2012-09-18 ### Fixed - Erroneous branch in test for rounding removed (issue [#202](https://github.com/josephwright/siunitx/issues/202)) -## [v2.5i] - 2012-09-11 +## [v2.5i]: 2012-09-11 ### Changed - Internal search for first token in some strings @@ -978,27 +984,27 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Align numbers with no uncertainties correctly when space is reserved for uncertainty part -## [v2.5h] - 2012-08-28 +## [v2.5h]: 2012-08-28 ### Changed - Test literal units for being 'blank' not 'empty' -## [v2.5g] - 2012-07-22 +## [v2.5g]: 2012-07-22 ### Fixed - Function of `binary-units` option -## [v2.5f] - 2012-07-16 +## [v2.5f]: 2012-07-16 ### Changed - Track `expl3` changes -## [v2.5e] - 2012-06-13 +## [v2.5e]: 2012-06-13 ### Fixed - An internal error in unit expansion (introduced in v2.4f) -## [v2.5d] - 2012-06-11 +## [v2.5d]: 2012-06-11 ### Added - Extend qualifier system to cover 'phrases' @@ -1007,26 +1013,26 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Extend UTF-8 support (issue [#199](https://github.com/josephwright/siunitx/issues/199)) - Track `expl3` changes -## [v2.5c] - 2012-05-03 +## [v2.5c]: 2012-05-03 ### Fixed - Detect and skip empty `s`-column cells (issue [#197](https://github.com/josephwright/siunitx/issues/197)) - Detection of zero input with fixed exponent (issue [#198](https://github.com/josephwright/siunitx/issues/198)) -## [v2.5b] - 2012-04-21 +## [v2.5b]: 2012-04-21 ### Fixed - Detect eulervm package (issue [#195](https://github.com/josephwright/siunitx/issues/195)) - Search-and-replace for category 'other' "_' and "^" in literal units (issue [#196](https://github.com/josephwright/siunitx/issues/196)) -## [v2.5a] - 2012-04-19 +## [v2.5a]: 2012-04-19 ### Fixed - When creating free-standing unit, allow for dynamic nature of spacing (bug introduced in v2.5) -## [v2.5] - 2012-04-15 +## [v2.5]: 2012-04-15 ### Added - Option `zero-decimal-to-integer` (issue [#178](https://github.com/josephwright/siunitx/issues/178)) @@ -1040,39 +1046,39 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ### Fixed - Use a standard-width comparator for tables (issue [#183](https://github.com/josephwright/siunitx/issues/183)) -## [v2.4n] - 2012-04-12 +## [v2.4n]: 2012-04-12 ### Changed - Extend scientific notation code to better handle large numbers of digits -## [v2.4m] - 2012-04-04 +## [v2.4m]: 2012-04-04 ### Fixed - Handling of a single entry in `\SIlist` -## [v2.4l] - 2012-03-23 +## [v2.4l]: 2012-03-23 ### Fixed - Load ordering with `soulpos` -## [v2.4k] - 2012-03-22 +## [v2.4k]: 2012-03-22 ### Fixed - Interaction of `^` and `_` with `breqn` (issue [#191](https://github.com/josephwright/siunitx/issues/191)) - Adapted `list-pair-separator` for `translator` package (issue [#190](https://github.com/josephwright/siunitx/issues/190)) - Check for `round-minimum` with large values -## [v2.4j] - 2012-01-26 +## [v2.4j]: 2012-01-26 ### Fixed - Ensure that typesetting is in hmode -## [v2.4i] - 2012-01-19 +## [v2.4i]: 2012-01-19 ### Fixed - Check for zero decimal part (issue [#186](https://github.com/josephwright/siunitx/issues/186)) -## [v2.4h] - 2012-01-15 +## [v2.4h]: 2012-01-15 ### Changed - Shortened an internal code path @@ -1080,12 +1086,12 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ### Fixed - Bug in `reciprocal-positive-first` implementation -## [v2.4g] - 2012-01-06 +## [v2.4g]: 2012-01-06 ### Changed - Internal changes due to update to `expl3` (issue [#131](https://github.com/josephwright/siunitx/issues/131)) -## [v2.4f] - 2011-12-24 +## [v2.4f]: 2011-12-24 ### Changed - Improve performance in an internal mapping @@ -1095,12 +1101,12 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Force font update in table cells - One incorrect internal variable name -## [v2.4e] - 2011-12-11 +## [v2.4e]: 2011-12-11 ### Fixed - Replacements used with `latin1` encoding -## [v2.4d] - 2011-12-09 +## [v2.4d]: 2011-12-09 ### Changed - Source formatting @@ -1108,17 +1114,17 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ### Fixed - Free-standing units using `xspace` in captions -## [v2.4c] - 2011-12-09 +## [v2.4c]: 2011-12-09 ### Fixed - Test for text mode font -## [v2.4b] - 2011-12-09 +## [v2.4b]: 2011-12-09 ### Fixed - Incorrect doubling of `#` tokens -## [v2.4a] - 2011-12-04 +## [v2.4a]: 2011-12-04 ### Changed - Extend search-and-replace in units to cover UTF-8 symbols @@ -1143,7 +1149,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ### Fixed - Replace minus sign in text mode (issue [#161](https://github.com/josephwright/siunitx/issues/161)) -## [v2.3h] - 2011-10-14 +## [v2.3h]: 2011-10-14 ### Changed - Internal logic improved @@ -1153,7 +1159,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Select math mode with `tex4ht` (issue [#170](https://github.com/josephwright/siunitx/issues/170)) - Print superscripts using HTML tags with `tex4ht` (issue [#171](https://github.com/josephwright/siunitx/issues/171)) -## [v2.3g] - 2011-10-06 +## [v2.3g]: 2011-10-06 ### Changed - Mark-up in documentation @@ -1163,12 +1169,12 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to (issue [#168](https://github.com/josephwright/siunitx/issues/168)) - Internal issue with undeclared variable -## [v2.3f] - 2011-09-13 +## [v2.3f]: 2011-09-13 ### Fixed - Trap erroneous numbers in tables (issue [#167](https://github.com/josephwright/siunitx/issues/167)) -## [v2.3e] - 2011-09-09 +## [v2.3e]: 2011-09-09 ### Added - Advice on local installation @@ -1177,17 +1183,17 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Remove deprecated `expl3` functions - Performance improvements -## [v2.3d] - 2011-08-18 +## [v2.3d]: 2011-08-18 ### Fixed - Bad csname for superscripts in literal mode -## [v2.3c] - 2011-08-12 +## [v2.3c]: 2011-08-12 ### Fixed - Use correct `\pm` for units in literal mode (issue [#163](https://github.com/josephwright/siunitx/issues/163)) -## [v2.3b] - 2011-08-08 +## [v2.3b]: 2011-08-08 ### Added - Additional abbreviated units (issue [#162](https://github.com/josephwright/siunitx/issues/162)) @@ -1195,7 +1201,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ### Fixed - Definition of abbreviations using option `free-standing-units` -## [v2.3a] - 2011-07-17 +## [v2.3a]: 2011-07-17 ### Changed - Internal `expl3` updates @@ -1203,7 +1209,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ### Fixed - Restore changes from v2.2l, missed in v2.3 -## [v2.3] - 2011-07-09 +## [v2.3]: 2011-07-09 ### Added - Supported for powers in literal units (issue [#152](https://github.com/josephwright/siunitx/issues/152)) @@ -1226,67 +1232,67 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Addition of explicit sign to mantissa (issue [#139](https://github.com/josephwright/siunitx/issues/139)) - Various issues with tabular alignment -## [v2.2l] - 2011-06-30 +## [v2.2l]: 2011-06-30 ### Fixed - Group pre-unit parsing (issue [#158](https://github.com/josephwright/siunitx/issues/158)) -## [v2.2k] - 2011-06-27 +## [v2.2k]: 2011-06-27 ### Fixed - Avoid `\peek_...` inside the print routine (issue [#157](https://github.com/josephwright/siunitx/issues/157)) -## [v2.2j] - 2011-06-26 +## [v2.2j]: 2011-06-26 ### Fixed - Avoid box for range phrase (issue [#156](https://github.com/josephwright/siunitx/issues/156)) -## [v2.2i] - 2011-06-15 +## [v2.2i]: 2011-06-15 ### Fixed - Detect font in table cells before boxing up (issue [#153](https://github.com/josephwright/siunitx/issues/153)) -## [v2.2h] - 2011-06-03 +## [v2.2h]: 2011-06-03 ### Fixed - Deal correctly with 'roll-over' in rounding integer part (issue [#150](https://github.com/josephwright/siunitx/issues/150)) -## [v2.2g] - 2011-06-02 +## [v2.2g]: 2011-06-02 ### Fixed - Set per-unit options for list/range units when a single unit is used (issue [#149](https://github.com/josephwright/siunitx/issues/149)) - Add test for `parse-numbers = false` to `\tablenum` code -## [v2.2f] - 2011-05-25 +## [v2.2f]: 2011-05-25 ### Fixed - `table-column-width = 0pt` (issue [#146](https://github.com/josephwright/siunitx/issues/146)) -## [v2.2e] - 2011-05-23 +## [v2.2e]: 2011-05-23 ### Fixed - Remove 'mantissa' marker for numbers with no real part (issue [#145](https://github.com/josephwright/siunitx/issues/145)) -## [v2.2d] - 2011-04-28 +## [v2.2d]: 2011-04-28 ### Fixed - The `strict` option (issue [#143](https://github.com/josephwright/siunitx/issues/143)) - Add `\dots` to protected symbols (issue [#131](https://github.com/josephwright/siunitx/issues/131)) -## [v2.2c] - 2011-04-20 +## [v2.2c]: 2011-04-20 ### Fixed - Bad expansion of toks (issue [#141](https://github.com/josephwright/siunitx/issues/141)) -## [v2.2b] - 2011-04-19 +## [v2.2b]: 2011-04-19 ### Fixed - Bad formatting of negative exponents when using 'E' output - Internally one argument if `color` is not loaded (issue [#138](https://github.com/josephwright/siunitx/issues/138)) - Make `\of` expandable in literal contexts (issue [#137](https://github.com/josephwright/siunitx/issues/137)) -## [v2.2a] - 2011-04-16 +## [v2.2a]: 2011-04-16 ### Changed - Make full text for tables, etc., hyperlinks in docs @@ -1302,7 +1308,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Ensure that `*` in tabular preamble works correctly with `S`/`s` columns (issue [#128](https://github.com/josephwright/siunitx/issues/128)) -## [v2.2] - 2011-04-13 +## [v2.2]: 2011-04-13 ### Added - `\tablenum` command (issue ##117) @@ -1328,24 +1334,24 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Print leading `1` when units start `\per` and `per-mode = symbol` (issue [#125](https://github.com/josephwright/siunitx/issues/125)) -## [v2.1p] - 2011-04-04 +## [v2.1p]: 2011-04-04 ### Fixed - Two bugs in comparator code -## [v2.1o] - 2011-04-03 +## [v2.1o]: 2011-04-03 ### Fixed - Detect arev package (issue [#122](https://github.com/josephwright/siunitx/issues/122)) - Allow for negative fixed exponents (issue [#123](https://github.com/josephwright/siunitx/issues/123)) -## [v2.1n] - 2011-03-31 +## [v2.1n]: 2011-03-31 ### Fixed - Rounding to zero significant figures should always give a 0 (issue [#119](https://github.com/josephwright/siunitx/issues/119)) - `round-integer-to-decimal` when `round-precision = 0` -## [v2.1m] - 2011-03-20 +## [v2.1m]: 2011-03-20 ### Added - `\J` as an abbreviation for `\joule` @@ -1358,12 +1364,12 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Ensure that some output occurs in when `round-precision = 0` and `round-mode = places` (issue [#111](https://github.com/josephwright/siunitx/issues/111)) -## [v2.1l] - 2011-02-10 +## [v2.1l]: 2011-02-10 ### Fixed - A couple of errant 'weight' => 'family' changes -## [v2.1k] - 2011-02-09 +## [v2.1k]: 2011-02-09 ### Added - Option `detect-inine-family` @@ -1371,13 +1377,13 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ### Changed - Use an internal integer for text minus -## [v2.1j] - 2011-02-01 +## [v2.1j]: 2011-02-01 ### Fixed - Check for `\inputencodingname` macro rather than `inputenc` package (issue [#107](https://github.com/josephwright/siunitx/issues/107)) -## [v2.1i] - 2011-01-27 +## [v2.1i]: 2011-01-27 ### Changed - New approach for `detect-display-math` @@ -1385,34 +1391,34 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ### Fixed - New approach to `symbol-or-fraction` (issue [#104](https://github.com/josephwright/siunitx/issues/104)) -## [v2.1h] - 2011-01-18 +## [v2.1h]: 2011-01-18 ### Changed - Detect AMS display-like environments -## [v2.1g] - 2010-12-21 +## [v2.1g]: 2010-12-21 ### Changed - Update test for `expl3` and `xparse` -## [v2.1f] - 2010-11-24 +## [v2.1f]: 2010-11-24 ### Fixed - One-letter typo (issue [#101](https://github.com/josephwright/siunitx/issues/101)) -## [v2.1e] - 2010-11-22 +## [v2.1e]: 2010-11-22 ### Fixed - Issue with free-standing unit options (issue [#99](https://github.com/josephwright/siunitx/issues/99)) - Text mode symbols with `fontspec` (issue [#98](https://github.com/josephwright/siunitx/issues/98)) -## [v2.1d] - 2010-11-14 +## [v2.1d]: 2010-11-14 ### Fixed - Apply options for units when in free-standing mode (issue [#97](https://github.com/josephwright/siunitx/issues/97)) - Typo in v1 configuration file -## [v2.1c] - 2010-11-14 +## [v2.1c]: 2010-11-14 ### Added - Choice `text` for `qualifier-mode` option (issue [#95](https://github.com/josephwright/siunitx/issues/95)) @@ -1424,7 +1430,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Restrict range and list functions to text mode - Auto-detect math mode in tables (issue [#94](https://github.com/josephwright/siunitx/issues/94)) -## [v2.1b] - 2010-11-05 +## [v2.1b]: 2010-11-05 ### Changed - Improve hyphen to minus correction (issue [#89](https://github.com/josephwright/siunitx/issues/89)) @@ -1432,7 +1438,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ### Fixed - One wrong variable used (issue [#90](https://github.com/josephwright/siunitx/issues/90)) -## [v2.1a] - 2010-11-05 +## [v2.1a]: 2010-11-05 ### Changed - Internal `expl3` improvements @@ -1441,7 +1447,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Print list separators in text mode (issue [#87](https://github.com/josephwright/siunitx/issues/87)) - Add in some missing `\ensuremath` statements (issue [#88](https://github.com/josephwright/siunitx/issues/88)) -## [v2.1] - 2010-10-31 +## [v2.1]: 2010-10-31 ### Added - Option `copy-complex-root` (issue [#63](https://github.com/josephwright/siunitx/issues/63)) @@ -1461,39 +1467,39 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Bug with rounding check if decimal part is empty - Remove decimal marker if rounding gives an empty decimal part -## [v2.0y] - 2010-10-11 +## [v2.0y]: 2010-10-11 ### Fixed - Bug with `tight-spacing` option -## [v2.0x] - 2010-10-05 +## [v2.0x]: 2010-10-05 ### Fixed - Make single-prefix detection work with non-symbolic prefixes (issue [#81](https://github.com/josephwright/siunitx/issues/81)) -## [v2.0w] - 2010-09-29 +## [v2.0w]: 2010-09-29 ### Fixed - Problem with REVTeX and S columns (issue [#80](https://github.com/josephwright/siunitx/issues/80)) -## [v2.0v] - 2010-09-26 +## [v2.0v]: 2010-09-26 ### Changed - Track `expl3` changes -## [v2.0u] - 2010-09-14 +## [v2.0u]: 2010-09-14 ### Fixed - Issue with `textpos` (issue [#74](https://github.com/josephwright/siunitx/issues/74)) - Prevent infinite loop when using `\SI{}{...}` (issue [#78](https://github.com/josephwright/siunitx/issues/78)) -## [v2.0t] - 2010-08-24 +## [v2.0t]: 2010-08-24 ### Fixed - Correct `\exp_after:wN` (issue [#77](https://github.com/josephwright/siunitx/issues/77)) -## [v2.0s] - 2010-08-12 +## [v2.0s]: 2010-08-12 ### Added - Demo for headers in tables @@ -1501,27 +1507,27 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ### Fixed - Bug in rounding code for zero decimal place (issue [#76](https://github.com/josephwright/siunitx/issues/76)) -## [v2.0r] - 2010-08-02 +## [v2.0r]: 2010-08-02 ### Fixed - Bug in v1 `decimalsymbol` emulation -## [v2.0q] - 2010-07-29 +## [v2.0q]: 2010-07-29 ### Fixed - Errors with free-standing units -## [v2.0p] - 2010-07-28 +## [v2.0p]: 2010-07-28 ### Fixed - Shape detection -## [v2.0o] - 2010-07-22 +## [v2.0o]: 2010-07-22 ### Added - Extend detect-italic to slanted shape (issue [#73](https://github.com/josephwright/siunitx/issues/73)) -## [v2.0n] - 2010-07-15 +## [v2.0n]: 2010-07-15 ### Added - Various abbreviations @@ -1529,12 +1535,12 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ### Changed - Documentation section on tables where rows have different units -## [v2.0m] - 2010-07-09 +## [v2.0m]: 2010-07-09 ### Added - Option `locale` and notes on use with `babel` -## [v2.0l] - 2010-07-07 +## [v2.0l]: 2010-07-07 ### Changed - Updated documentation for v1 options @@ -1542,12 +1548,12 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ### Fixed - Move test for `\fg` so that it works independent of `babel` load order -## [v2.0k] - 2010-07-04 +## [v2.0k]: 2010-07-04 ### Fixed - Issue with `babel` (issue [#68](https://github.com/josephwright/siunitx/issues/68)) -## [v2.0j] - 2010-06-30 +## [v2.0j]: 2010-06-30 ### Changed - Force `input-symbols` to print in math mode @@ -1555,17 +1561,17 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ### Fixed - Correct appearance of `\hartree` -## [v2.0i] - 2010-06-29 +## [v2.0i]: 2010-06-29 ### Fixed - Two missed `_` from `expl3` style switch (issue [#67](https://github.com/josephwright/siunitx/issues/67)) -## [v2.0h] - 2010-06-29 +## [v2.0h]: 2010-06-29 ### Fixed - Issue with localisation -## [v2.0g] - 2010-06-28 +## [v2.0g]: 2010-06-28 ### Added - First approach to localisation (issue [#61](https://github.com/josephwright/siunitx/issues/61)) @@ -1577,17 +1583,17 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ### Fixed - Bracket complex numbers in numerator of quotient (issue [#66](https://github.com/josephwright/siunitx/issues/66)) -## [v2.0f] - 2010-06-27 +## [v2.0f]: 2010-06-27 ### Fixed - Spacing with `\times` in text mode (issue [#64](https://github.com/josephwright/siunitx/issues/64)) -## [v2.0e] - 2010-06-20 +## [v2.0e]: 2010-06-20 ### Fixed - Move save/restore of `\pm` (issue [#58](https://github.com/josephwright/siunitx/issues/58)) -## [v2.0d] - 2010-06-10 +## [v2.0d]: 2010-06-10 ### Changed - Document use of `\cr` in tables (issue [#53](https://github.com/josephwright/siunitx/issues/53)) @@ -1596,7 +1602,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ### Fixed - `table-exponent` option's handling of exponent signs (issue [#56](https://github.com/josephwright/siunitx/issues/56)) -## [v2.0c] - 2010-06-07 +## [v2.0c]: 2010-06-07 ### Changed - Improve emulation of v1 material @@ -1608,12 +1614,12 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Test for bottoming-out units and ensure that any 'hidden' literal units print (issue [#50](https://github.com/josephwright/siunitx/issues/50)) -## [v2.0b] - 2010-06-01 +## [v2.0b]: 2010-06-01 ### Added - Complete emulation of v1 options -## [v2.0a] - 2010-05-28 +## [v2.0a]: 2010-05-28 ### Changed - Allow `\SendSettingsToPgf` in the document body @@ -1637,7 +1643,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.0.37...HEAD +[Unreleased]: https://github.com/josephwright/siunitx/compare/v3.0.38...HEAD +[v3.0.38]: https://github.com/josephwright/siunitx/compare/v3.0.37...v3.0.38 [v3.0.37]: https://github.com/josephwright/siunitx/compare/v3.0.36...v3.0.37 [v3.0.36]: https://github.com/josephwright/siunitx/compare/v3.0.35...v3.0.36 [v3.0.35]: https://github.com/josephwright/siunitx/compare/v3.0.34...v3.0.35 diff --git a/macros/latex/contrib/siunitx/siunitx-angle.dtx b/macros/latex/contrib/siunitx/siunitx-angle.dtx index 9d9a2ac753..3cd8db4b74 100644 --- a/macros/latex/contrib/siunitx/siunitx-angle.dtx +++ b/macros/latex/contrib/siunitx/siunitx-angle.dtx @@ -292,7 +292,7 @@ % % \begin{variable}{\l_@@_degrees_tl, \l_@@_minutes_tl, \l_@@_seconds_tl} % Space for formatting parsed numbers. -% \begin{macrocode} +% \begin{macrocode} \tl_new:N \l_@@_degrees_tl \tl_new:N \l_@@_minutes_tl \tl_new:N \l_@@_seconds_tl @@ -452,10 +452,10 @@ } } \cs_generate_variant:Nn \@@_arc_print_auxi:nnn { nV } -% \end{macrocode} +% \end{macrocode} % To align the two parts of the astronomy-style marker, we need to allow % for the |\scriptspace|. -% \begin{macrocode} +% \begin{macrocode} \cs_new_protected:Npn \@@_arc_print_auxii:nw #1#2 \q_nil #3 \q_nil #4 \q_nil #5 \q_nil #6 \q_nil #7 \q_nil #8 \q_stop { diff --git a/macros/latex/contrib/siunitx/siunitx-code.pdf b/macros/latex/contrib/siunitx/siunitx-code.pdf index a72fe2827b..1a2ea316e7 100644 Binary files a/macros/latex/contrib/siunitx/siunitx-code.pdf and b/macros/latex/contrib/siunitx/siunitx-code.pdf differ diff --git a/macros/latex/contrib/siunitx/siunitx-compound.dtx b/macros/latex/contrib/siunitx/siunitx-compound.dtx index 5f119f1372..a11121a4ac 100644 --- a/macros/latex/contrib/siunitx/siunitx-compound.dtx +++ b/macros/latex/contrib/siunitx/siunitx-compound.dtx @@ -446,6 +446,15 @@ % is left to a dedicated auxiliary. % \begin{macrocode} \cs_new_protected:Npn \@@_format:nnn #1#2#3 + { + \tl_if_blank:nTF {#1} + { + \tl_if_blank:nF {#2} + { \@@_format:nn {#2} {#3} } + } + { \@@_format_aux:nnn {#1} {#2} {#3} } + } +\cs_new_protected:Npn \@@_format_aux:nnn #1#2#3 { \siunitx_number_parse:nN {#1} \l_@@_tmp_tl \bool_if:NTF \l_@@_unit_bool @@ -522,10 +531,15 @@ % \end{macro} % \end{macro} % -% \begin{macro}{\@@_parsed:n, \@@_unparsed:n} +% \begin{macro}{\@@_parsed:n, \@@_parsed_aux:n, \@@_unparsed:n} % The simple cases for parsing (or not) all entries. % \begin{macrocode} \cs_new_protected:Npn \@@_parsed:n #1 + { + \tl_if_blank:nF {#1} + { \@@_parsed_aux:n {#1} } + } +\cs_new_protected:Npn \@@_parsed_aux:n #1 { \bool_if:NTF \l_@@_unit_bool { @@ -541,7 +555,8 @@ } \cs_new_protected:Npn \@@_unparsed:n #1 { - \seq_put_right:Nn \l_@@_tmp_seq { \ensuremath {#1} } + \tl_if_blank:nF {#1} + { \seq_put_right:Nn \l_@@_tmp_seq { \ensuremath {#1} } } } % \end{macrocode} % \end{macro} diff --git a/macros/latex/contrib/siunitx/siunitx-number.dtx b/macros/latex/contrib/siunitx/siunitx-number.dtx index a7b3594d9d..bb3abd6b7a 100644 --- a/macros/latex/contrib/siunitx/siunitx-number.dtx +++ b/macros/latex/contrib/siunitx/siunitx-number.dtx @@ -601,7 +601,7 @@ % must be present in a stored number (\foreign{i.e.}~at the end of parsing). % The number must have at least one digit for both the \meta{integer} and % \meta{exponent} parts. -% +% % A non-empty \meta{uncertainty} must contain one leading brace group % containing an identifier, then zero or more brace groups which contain % the uncertainty data. In this release, the known uncertainty types are @@ -1662,7 +1662,7 @@ % % \begin{variable}{\l_@@_round_min_tl} % For storing the minimum for rounding. -% \begin{macrocode} +% \begin{macrocode} \tl_new:N \l_@@_round_min_tl % \end{macrocode} % \end{variable} @@ -1672,7 +1672,7 @@ % For setting the rounding minimum, the aim is to do as much of the work % now as possible. That's mainly a question of checking if there are any % significant digits in the mantissa given. -% \begin{macrocode} +% \begin{macrocode} \cs_new_protected:Npn \@@_set_round_min:n #1 { \siunitx_number_parse:nN {#1} \l_@@_tmp_tl @@ -1952,7 +1952,7 @@ #2 \@@_exponent_uncert:n { { S } { 0 } } } - { + { \use:c { @@_exponent_shift_uncert_ \use_i:nn #3 :fnnn } { \prg_replicate:nn {#1} { 0 } } {#2} @@ -2846,7 +2846,7 @@ \exp_args:Nf \@@_round_uncertainty_simple:nnnnn { \prg_replicate:nn - { + { \int_max:nn { 0 - ( \tl_count:n {#4} - \tl_count:n {#2} - #5 + 1 ) } { 0 } @@ -2856,7 +2856,7 @@ {#3} {#4} {#2} {#5} } { \@@_round_uncertainty_shift:nnnnn {#3} {#4} {#1} {#2} {#5} } - + } % \end{macrocode} % The simple case: round and pad out the uncertainty as required. @@ -3268,7 +3268,7 @@ } % \end{macrocode} % As color for negative values applies to the \emph{whole} output, we have -% to deal with it before anything else. +% to deal with it before anything else. % \begin{macrocode} \cs_new:Npn \@@_output_color:n #1 { diff --git a/macros/latex/contrib/siunitx/siunitx.dtx b/macros/latex/contrib/siunitx/siunitx.dtx index 46d2b2f942..228b98047c 100644 --- a/macros/latex/contrib/siunitx/siunitx.dtx +++ b/macros/latex/contrib/siunitx/siunitx.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% File: siunitx.dtx Copyright (C) 2008-2019,2021 Joseph Wright +% File: siunitx.dtx Copyright (C) 2008-2019,2021,2022 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 @@ -121,7 +121,7 @@ % % Identify the package and give the over all version information. % \begin{macrocode} -\ProvidesExplPackage {siunitx} {2021-12-03} {3.0.37} +\ProvidesExplPackage {siunitx} {2022-01-04} {3.0.38} {A comprehensive (SI) units package} % \end{macrocode} % @@ -184,7 +184,7 @@ % \subsection{Load time options} % % \begin{variable}{\l_@@_column_type_tl} -% \begin{macrocode} +% \begin{macrocode} \keys_define:nn { siunitx } { table-column-type .tl_set:N = @@ -199,11 +199,11 @@ % % \subsection{Option handling} % -% \begin{macrocode} +% \begin{macrocode} \RequirePackage { l3keys2e } % \end{macrocode} % -% \begin{macrocode} +% \begin{macrocode} \ProcessKeysOptions { siunitx } % \end{macrocode} % diff --git a/macros/latex/contrib/siunitx/siunitx.ins b/macros/latex/contrib/siunitx/siunitx.ins index e6d4dae7f6..6250eed33a 100644 --- a/macros/latex/contrib/siunitx/siunitx.ins +++ b/macros/latex/contrib/siunitx/siunitx.ins @@ -33,7 +33,7 @@ for those people who are interested. \preamble \endpreamble \postamble -Copyright (C) 2008-2021 by +Copyright (C) 2008-2022 by Joseph Wright It may be distributed and/or modified under the conditions of diff --git a/macros/latex/contrib/siunitx/siunitx.pdf b/macros/latex/contrib/siunitx/siunitx.pdf index 9b5fabfa52..a7432ee6c6 100644 Binary files a/macros/latex/contrib/siunitx/siunitx.pdf and b/macros/latex/contrib/siunitx/siunitx.pdf differ -- cgit v1.2.3