From b7e54219e4294fa527035f0bd2819ca11c3c6964 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Thu, 5 Aug 2021 03:02:12 +0000 Subject: CTAN sync 202108050302 --- macros/latex/contrib/siunitx/CHANGELOG.md | 482 ++++++++++++++---------- macros/latex/contrib/siunitx/README.md | 26 +- macros/latex/contrib/siunitx/siunitx-code.pdf | Bin 1498511 -> 1499904 bytes macros/latex/contrib/siunitx/siunitx-number.dtx | 33 +- macros/latex/contrib/siunitx/siunitx.dtx | 4 +- macros/latex/contrib/siunitx/siunitx.pdf | Bin 636249 -> 636250 bytes macros/latex/contrib/siunitx/siunitx.tex | 7 +- 7 files changed, 314 insertions(+), 238 deletions(-) (limited to 'macros/latex/contrib/siunitx') diff --git a/macros/latex/contrib/siunitx/CHANGELOG.md b/macros/latex/contrib/siunitx/CHANGELOG.md index 2c92c252dd..87f73526de 100644 --- a/macros/latex/contrib/siunitx/CHANGELOG.md +++ b/macros/latex/contrib/siunitx/CHANGELOG.md @@ -7,64 +7,91 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [Unreleased] +## [v3.0.24] + +### Fixed +- Option setting `round-half = even` (issue + [#519](https://github.com/josephwright/siunitx/issues/519)) +- Handling of standard deviation-like uncertainties where decimal is longer than + main part (issue [#522](https://github.com/josephwright/siunitx/issues/522)) +- Rounding to uncertainty in the integer part (issue + [#523](https://github.com/josephwright/siunitx/issues/523)) + ## [v3.0.23] ### Fixed -- Load order of `xparse` (issue #518) +- Load order of `xparse` (issue + [#518](https://github.com/josephwright/siunitx/issues/518)) ## [v3.0.22] ### Changed - Support `table-text-alignment = none` for interoperation with - `tabularray` (issue #510) + `tabularray` (issue + [#510](https://github.com/josephwright/siunitx/issues/510)) ### Fixed -- Support for `input-remove` (issue #511) -- Interaction with `cellspace` package (issue #512) +- Support for `input-remove` (issue + [#511](https://github.com/josephwright/siunitx/issues/511)) +- Interaction with `cellspace` package (issue + [#512](https://github.com/josephwright/siunitx/issues/512)) ## [v3.0.21] ### Fixed - Print degree symbol if `fontspec` package is loaded with - `no-math` option (issue #505) -- Handling of 'over-long' separated uncertainties (issue #506) -- Symbol for arcs in text mode (issue #507) + `no-math` option (issue + [#505](https://github.com/josephwright/siunitx/issues/505)) +- Handling of 'over-long' separated uncertainties (issue + [#506](https://github.com/josephwright/siunitx/issues/506)) +- Symbol for arcs in text mode (issue + [#507](https://github.com/josephwright/siunitx/issues/507)) ## [v3.0.20] ### Fixed -- Interaction with `kotex` (issue #502) -- Handling of groups in literal units (issue #503) +- Interaction with `kotex` (issue + [#502](https://github.com/josephwright/siunitx/issues/502)) +- Handling of groups in literal units (issue + [#503](https://github.com/josephwright/siunitx/issues/503)) ## [v3.0.19] ### Fixed -- Emulation for `\SendSettingsToPgf` (issue #501) +- Emulation for `\SendSettingsToPgf` (issue + [#501](https://github.com/josephwright/siunitx/issues/501)) ## [v3.0.18] ### Fixed - Printing of reciprocal units when `per-mode = symbol` is active - (issue #500) + (issue [#500](https://github.com/josephwright/siunitx/issues/500)) ## [v3.0.17] ### Fixed -- Load order issue with `soulpos` (issue #498) +- Load order issue with `soulpos` (issue + [#498](https://github.com/josephwright/siunitx/issues/498)) ## [v3.0.16] ### Fixed -- Treatment of spaces before `/` in literal units (issue #495) -- Printing of `\mathchoice` entries in text mode (issue #497) +- Treatment of spaces before `/` in literal units (issue + [#495](https://github.com/josephwright/siunitx/issues/495)) +- Printing of `\mathchoice` entries in text mode (issue + [#497](https://github.com/josephwright/siunitx/issues/497)) ## [v3.0.15] ### Fixed -- Bracketing of complex quantities (issue #491) -- Printing of `\ohm` with `fontspec` (issue #492) -- Suppress printing implicit plus for zero exponents (issue #493) -- Engineering exponents with some exponent values (issue #494) +- Bracketing of complex quantities (issue + [#491](https://github.com/josephwright/siunitx/issues/491)) +- Printing of `\ohm` with `fontspec` (issue + [#492](https://github.com/josephwright/siunitx/issues/492)) +- Suppress printing implicit plus for zero exponents (issue + [#493](https://github.com/josephwright/siunitx/issues/493)) +- Engineering exponents with some exponent values (issue + [#494](https://github.com/josephwright/siunitx/issues/494)) ## [v3.0.14] @@ -74,10 +101,13 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Expand `table-format` input before splitting ### Fixed -- Incorrect handling of `{}` in literal units (issue #487) -- Placement of sign in some complex numbers (issue #488) +- Incorrect handling of `{}` in literal units (issue + [#487](https://github.com/josephwright/siunitx/issues/487)) +- Placement of sign in some complex numbers (issue + [#488](https://github.com/josephwright/siunitx/issues/488)) - Printing of units in quantities when `uncertainty-mode` is - `separate` and an exponent is present (issue #490) + `separate` and an exponent is present (issue + [#490](https://github.com/josephwright/siunitx/issues/490)) ## [v3.0.13] @@ -85,20 +115,27 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Catalan translations for lists and ranges ### Fixed -- Position of complex root when no real part is present (issue #481) -- Skip defining `\unit` if the `units` package is loaded (issue #482) +- Position of complex root when no real part is present (issue + [#481](https://github.com/josephwright/siunitx/issues/481)) +- Skip defining `\unit` if the `units` package is loaded (issue + [#482](https://github.com/josephwright/siunitx/issues/482)) - Printing units in compound quantities when `parse-numbers` is - false (issue #484) + false (issue [#484](https://github.com/josephwright/siunitx/issues/484)) - Printing of `1` when both `print-zero-exponent` and - `print-unity-mantissa` are false (issue #485) -- Printing of ohm symbol in text mode with `fourier` package (issue #486) + `print-unity-mantissa` are false (issue + [#485](https://github.com/josephwright/siunitx/issues/485)) +- Printing of ohm symbol in text mode with `fourier` package (issue + [#486](https://github.com/josephwright/siunitx/issues/486)) ## [v3.0.12] ### Fixed -- Modify warning message (fixes #476) -- Rounding zero values to a fixed number of places (issue #477) -- Remove stray debug code in symbol allocation (issue #478) +- Modify warning message (fixes + [#476](https://github.com/josephwright/siunitx/issues/476)) +- Rounding zero values to a fixed number of places (issue + [#477](https://github.com/josephwright/siunitx/issues/477)) +- Remove stray debug code in symbol allocation (issue + [#478](https://github.com/josephwright/siunitx/issues/478)) ## [v3.0.11] @@ -106,9 +143,12 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Improve some fallback unit definitions ### Fixed -- Printing of symbols with encodings other than UTF-8 (issue #470) -- Argument order for `\DeclareSIPrefix` (issue #471) -- Emulation of `number-unit-separator` (issue #473) +- Printing of symbols with encodings other than UTF-8 (issue + [#470](https://github.com/josephwright/siunitx/issues/470)) +- Argument order for `\DeclareSIPrefix` (issue + [#471](https://github.com/josephwright/siunitx/issues/471)) +- Emulation of `number-unit-separator` (issue + [#473](https://github.com/josephwright/siunitx/issues/473)) ## [v3.0.10] @@ -116,7 +156,8 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Documentation improvements ### Fixed -- Incompatibility with REVTeX (issue #469) +- Incompatibility with REVTeX (issue + [#469](https://github.com/josephwright/siunitx/issues/469)) ## [v3.0.9] @@ -125,12 +166,16 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Add a hint for formatting regression tables ### Fixed -- Suppress some spurious overfull box warnings +- Suppress some spurious overfull box warnings - Issue an error with `output-product` -- Rounding of uncertainties falling in the integer part (issue #454) -- Printing in text mode for compound quantities (issue #463) -- Correctly handle `\protect` in literal units (issue #464) -- Interpretation of uncertainties in integers (issue #465) +- Rounding of uncertainties falling in the integer part (issue + [#454](https://github.com/josephwright/siunitx/issues/454)) +- Printing in text mode for compound quantities (issue + [#463](https://github.com/josephwright/siunitx/issues/463)) +- Correctly handle `\protect` in literal units (issue + [#464](https://github.com/josephwright/siunitx/issues/464)) +- Interpretation of uncertainties in integers (issue + [#465](https://github.com/josephwright/siunitx/issues/465)) ## [v3.0.8] @@ -140,17 +185,22 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Provide a fallback route for deprecated units ### Fixed -- Correct printing of `10^{0}` (issue #459) -- Emulation of `group-four-digits` (issue #461) +- Correct printing of `10^{0}` (issue + [#459](https://github.com/josephwright/siunitx/issues/459)) +- Emulation of `group-four-digits` (issue + [#461](https://github.com/josephwright/siunitx/issues/461)) ## [v3.0.7] ### Fixed -- Formatting of some literal units (issue #449) -- Issue a warning for removed option `load-configurations` (issue #455) +- Formatting of some literal units (issue + [#449](https://github.com/josephwright/siunitx/issues/449)) +- Issue a warning for removed option `load-configurations` (issue + [#455](https://github.com/josephwright/siunitx/issues/455)) - Printing of `\times` and `\cdot` in text mode when using a locale - (issue #457) -- Implement missing `output-exponent-marker` (issue #458) + (issue [#457](https://github.com/josephwright/siunitx/issues/457)) +- Implement missing `output-exponent-marker` (issue + [#458](https://github.com/josephwright/siunitx/issues/458)) ## [v3.0.6] @@ -158,9 +208,10 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Documentation improvements ### Fixed -- Avoid error if `forbid-literal-units` is set in the preamble (issue #452) +- Avoid error if `forbid-literal-units` is set in the preamble (issue + [#452](https://github.com/josephwright/siunitx/issues/452)) - Format separate uncertainty correctly where it falls purely in the integer - part (issue #454) + part (issue [#454](https://github.com/josephwright/siunitx/issues/454)) ## [v3.0.5] @@ -168,10 +219,14 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Documentation improvements ### Fixed -- Bracket separate uncertainties in compound quantities (issue #441) -- Color negative values in table cells correctly (issue #444) -- Avoid consumption of any math alphabets (issue #445) -- Mark `\bar` as removed (issue #448) +- Bracket separate uncertainties in compound quantities (issue + [#441](https://github.com/josephwright/siunitx/issues/441)) +- Color negative values in table cells correctly (issue + [#444](https://github.com/josephwright/siunitx/issues/444)) +- Avoid consumption of any math alphabets (issue + [#445](https://github.com/josephwright/siunitx/issues/445)) +- Mark `\bar` as removed (issue + [#448](https://github.com/josephwright/siunitx/issues/448)) ## [v3.0.4] @@ -180,7 +235,8 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to within the code-level API ### Fixed -- Alignment of integers in tables when `parse-numbers = tables` (issue #442) +- Alignment of integers in tables when `parse-numbers = tables` (issue + [#442](https://github.com/josephwright/siunitx/issues/442)) ## [v3.0.3] @@ -189,8 +245,10 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ### Fixed - Emulation of `input-symbols` (fixes #431) -- Standard setting for `group-minimum-digits` (issue #436) -- Application of negative color in table cells (issue #439) +- Standard setting for `group-minimum-digits` (issue + [#436](https://github.com/josephwright/siunitx/issues/436)) +- Application of negative color in table cells (issue + [#439](https://github.com/josephwright/siunitx/issues/439)) ## [v3.0.2] @@ -199,12 +257,18 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Better default for `product-symbol` ### Fixed -- Option settings `group-digits = true` and `group-digits = false` (issue #422) -- Correct position of decimal marker in some tables (issue #423) -- Coloring of negative numbers in tables (issue #424) -- Alignment of numbers when printing without a `table-format` (issue #424) -- Emulation of `\celsius` (issue #426) -- Allow `\cdot` to work in text mode (issue #430) +- Option settings `group-digits = true` and `group-digits = false` (issue + [#422](https://github.com/josephwright/siunitx/issues/422)) +- Correct position of decimal marker in some tables (issue + [#423](https://github.com/josephwright/siunitx/issues/423)) +- Coloring of negative numbers in tables (issue + [#424](https://github.com/josephwright/siunitx/issues/424)) +- Alignment of numbers when printing without a `table-format` (issue + [#424](https://github.com/josephwright/siunitx/issues/424)) +- Emulation of `\celsius` (issue + [#426](https://github.com/josephwright/siunitx/issues/426)) +- Allow `\cdot` to work in text mode (issue + [#430](https://github.com/josephwright/siunitx/issues/430)) ### Deprecated - Unit macro `\celsius` @@ -218,9 +282,12 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Documentation improvements ### Fixed -- Printing of fractional units in text mode (issue #418) -- Include `siunitx-abbreviations.cfg` in fallback v2 files (issue #419) -- French translation of 'to' for ranges (issue #421) +- Printing of fractional units in text mode (issue + [#418](https://github.com/josephwright/siunitx/issues/418)) +- Include `siunitx-abbreviations.cfg` in fallback v2 files (issue + [#419](https://github.com/josephwright/siunitx/issues/419)) +- French translation of 'to' for ranges (issue + [#421](https://github.com/josephwright/siunitx/issues/421)) ## [v3.0.0] @@ -429,7 +496,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [v2.8a] - 2020-02-23 ### Fixed -- Correct `\ohm` when `unicode-math` is loaded (issue #377) +- Correct `\ohm` when `unicode-math` is loaded (issue [#377](https://github.com/josephwright/siunitx/issues/377)) ## [v2.8] - 2020-02-20 @@ -464,12 +531,12 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ### Fixed - Collect tokens before `\ignorespaces` in tabulars (esp. with - REVTeX) (issue #337) + REVTeX) (issue [#337](https://github.com/josephwright/siunitx/issues/337)) ## [v2.7q] - 2018-05-11 ### Fixed -- Allow for `cellspace` "column" option (issue #315) +- Allow for `cellspace` "column" option (issue [#315](https://github.com/josephwright/siunitx/issues/315)) ## [v2.7p] - 2018-05-10 @@ -487,7 +554,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [v2.7m] - 2018-03-20 ### Changed -- Update `\astronomicalunit` symbol (issue #332) +- Update `\astronomicalunit` symbol (issue [#332](https://github.com/josephwright/siunitx/issues/332)) ## [v2.7l] - 2018-03-11 @@ -498,15 +565,15 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Switch package date format to ISO ### Fixed -- Scope of some internal variable corrected (issue #327) -- Track `unicode-math` changes (issue #331) +- 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 ### Fixed -- Incorrect internal variable renamed (issue #320) -- Suppress leading "1" when units are not parsed (issue #318) -- Correct default value for `arc-separator` (issue #319) +- 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 @@ -516,12 +583,12 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [v2.7i] - 2017-07-23 ### Fixed -- Incorrect internal variable renamed (issue #311) +- Incorrect internal variable renamed (issue [#311](https://github.com/josephwright/siunitx/issues/311)) ## [v2.7h] - 2017-06-13 ### Changed -- Some abuses of `expl3` box functions removed (issue #309) +- Some abuses of `expl3` box functions removed (issue [#309](https://github.com/josephwright/siunitx/issues/309)) ## [v2.7g] - 2017-05-19 @@ -543,7 +610,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [v2.7e] - 2017-03-06 ### Fixed -- Properly handle signs in `table-format` key (issue #303) +- Properly handle signs in `table-format` key (issue [#303](https://github.com/josephwright/siunitx/issues/303)) ## [v2.7d] - 2017-02-19 @@ -553,12 +620,12 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [v2.7c] - 2017-02-01 ### Fixed -- Correct integer alignment in tables (issue #302) +- Correct integer alignment in tables (issue [#302](https://github.com/josephwright/siunitx/issues/302)) ## [v2.7b] - 2017-01-28 ### Fixed -- Fix an issue with large numbers in scientific mode (issue #301) +- Fix an issue with large numbers in scientific mode (issue [#301](https://github.com/josephwright/siunitx/issues/301)) ## [v2.7a] - 2017-01-01 @@ -582,12 +649,12 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [v2.6r] - 2016-08-22 ### Changed -- Warn if `color` is not loaded (issue #289) -- Document some aspects of internal number processing (issue #294) +- Warn if `color` is not loaded (issue [#289](https://github.com/josephwright/siunitx/issues/289)) +- Document some aspects of internal number processing (issue [#294](https://github.com/josephwright/siunitx/issues/294)) - Minor `expl3` fixes including tracking deprecations ### Fixed -- Handling of `e0` input (issue #292) +- Handling of `e0` input (issue [#292](https://github.com/josephwright/siunitx/issues/292)) - Added some missing internal variable declarations ## [v2.6q] - 2016-03-01 @@ -601,7 +668,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [v2.6p] - 2016-01-19 ### Fixed -- Formatting of `\degreeCelsius` (issue #285) +- 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 @@ -612,10 +679,10 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [v2.6n] - 2015-12-31 ### Changed -- Formatting of `\degreeCelsius` (issue #282) +- Formatting of `\degreeCelsius` (issue [#282](https://github.com/josephwright/siunitx/issues/282)) ### Fixed -- Appearance of ångström with LuaTeX (issue #280) +- Appearance of ångström with LuaTeX (issue [#280](https://github.com/josephwright/siunitx/issues/280)) ## [v2.6m] - 2015-10-15 @@ -645,8 +712,8 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Removed one deprecated `expl3` functions ### Fixed -- Use of `\cancel` in math mode (issue #264) -- Cope better with large numbers when rounding (issue #198) +- 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 @@ -656,7 +723,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [v2.6g] - 2015-06-25 ### Fixed -- Handling of empty table cells (issue #271) +- Handling of empty table cells (issue [#271](https://github.com/josephwright/siunitx/issues/271)) ## [v2.6f] - 2015-06-16 @@ -706,23 +773,23 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Use `\mathord` before comparators - Only apply 'tight' spacing to `\mathbin` cases - Use a 'real' minus with `tex4ht` -- Use a full width space between number and unit (issue #230) -- Note that colour for printing powers is set by `power-font` (issue #240) -- Use `\mathord` to get 'tight' spacing for signs (issue #241) -- Old `repeatunits` option is partly coved by `range-units` (issue #254) +- Use a full width space between number and unit (issue [#230](https://github.com/josephwright/siunitx/issues/230)) +- Note that colour for printing powers is set by `power-font` (issue [#240](https://github.com/josephwright/siunitx/issues/240)) +- Use `\mathord` to get 'tight' spacing for signs (issue [#241](https://github.com/josephwright/siunitx/issues/241)) +- Old `repeatunits` option is partly coved by `range-units` (issue [#254](https://github.com/josephwright/siunitx/issues/254)) ### Fixed - Loading when `mdwtab` is in use - Appearance of minus sign when `tex4ht` is in use - Spacing when printing comparators -- Preserve `\fg` in bookmarks (issue #226) -- Allow for `output-exponent-marker` option in tables (issue #232) +- Preserve `\fg` in bookmarks (issue [#226](https://github.com/josephwright/siunitx/issues/226)) +- Allow for `output-exponent-marker` option in tables (issue [#232](https://github.com/josephwright/siunitx/issues/232)) - Conversion of integer with separate uncertainty to 'compact' form - (issue #233) -- Option name wrong in v1 table (issue #240) -- Use `\textpm` in text mode if `textcomp` package is loaded (issue #249) -- Ignore hard spaces in `\num` (issue #256) -- Use `\mathord` for tight spacing on 'in line' exponent (issue #257) + (issue [#233](https://github.com/josephwright/siunitx/issues/233)) +- Option name wrong in v1 table (issue [#240](https://github.com/josephwright/siunitx/issues/240)) +- Use `\textpm` in text mode if `textcomp` package is loaded (issue [#249](https://github.com/josephwright/siunitx/issues/249)) +- 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 @@ -740,8 +807,8 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Issue warning if `cellspace` column letter is moved ### Fixed -- Reorder creation of unit wrappers and option setting (issue #218) -- Replace active hyphen with 'other' one (issue #222) +- 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 @@ -756,15 +823,15 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [v2.5n] - 2012-12-29 ### Fixed -- Correctly calculate grouping data to send to `pgf` (issue #211) +- Correctly calculate grouping data to send to `pgf` (issue [#211](https://github.com/josephwright/siunitx/issues/211)) ## [v2.5m] - 2012-11-27 ### Fixed - Allow for `bidi`/RTL when applying `\text` - Search-and-replace in UTF-8 literal units -- Load binary-units only when requested (issue #201) -- Disable `\hightlight` in bookmarks (issue #207) +- 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 @@ -779,12 +846,12 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ### Fixed - Skip white space after `\begin{document}` - Correct use of fixed dimension/skip values internally -- Store name of `\frac` function, don't `\let` it (issue #203) +- Store name of `\frac` function, don't `\let` it (issue [#203](https://github.com/josephwright/siunitx/issues/203)) ## [v2.5j] - 2012-09-18 ### Fixed -- Erroneous branch in test for rounding removed (issue #202) +- Erroneous branch in test for rounding removed (issue [#202](https://github.com/josephwright/siunitx/issues/202)) ## [v2.5i] - 2012-09-11 @@ -821,21 +888,21 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Extend qualifier system to cover 'phrases' ### Changed -- Extend UTF-8 support (issue #199) +- Extend UTF-8 support (issue [#199](https://github.com/josephwright/siunitx/issues/199)) - Track `expl3` changes ## [v2.5c] - 2012-05-03 ### Fixed -- Detect and skip empty `s`-column cells (issue #197) -- Detection of zero input with fixed exponent (issue #198) +- 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 ### Fixed -- Detect eulervm package (issue #195) +- Detect eulervm package (issue [#195](https://github.com/josephwright/siunitx/issues/195)) - Search-and-replace for category 'other' "_' and "^" in literal - units (issue #196) + units (issue [#196](https://github.com/josephwright/siunitx/issues/196)) ## [v2.5a] - 2012-04-19 @@ -846,16 +913,16 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [v2.5] - 2012-04-15 ### Added -- Option `zero-decimal-to-integer` (issue #178) -- Option to omit uncertainly entirely (issue #180) +- Option `zero-decimal-to-integer` (issue [#178](https://github.com/josephwright/siunitx/issues/178)) +- Option to omit uncertainly entirely (issue [#180](https://github.com/josephwright/siunitx/issues/180)) ### Changed - Reduce use of implicit math mode -- Document that `round-mode = places` acts on the mantissa (issue #193) -- Rearrange processing code such that exponents can be dropped (issue #192) +- Document that `round-mode = places` acts on the mantissa (issue [#193](https://github.com/josephwright/siunitx/issues/193)) +- Rearrange processing code such that exponents can be dropped (issue [#192](https://github.com/josephwright/siunitx/issues/192)) ### Fixed -- Use a standard-width comparator for tables (issue #183) +- Use a standard-width comparator for tables (issue [#183](https://github.com/josephwright/siunitx/issues/183)) ## [v2.4n] - 2012-04-12 @@ -875,8 +942,8 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [v2.4k] - 2012-03-22 ### Fixed -- Interaction of `^` and `_` with `breqn` (issue #191) -- Adapted `list-pair-separator` for `translator` package (issue #190) +- 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 @@ -887,7 +954,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [v2.4i] - 2012-01-19 ### Fixed -- Check for zero decimal part (issue #186) +- Check for zero decimal part (issue [#186](https://github.com/josephwright/siunitx/issues/186)) ## [v2.4h] - 2012-01-15 @@ -900,7 +967,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [v2.4g] - 2012-01-06 ### Changed -- Internal changes due to update to `expl3` (issue #131) +- Internal changes due to update to `expl3` (issue [#131](https://github.com/josephwright/siunitx/issues/131)) ## [v2.4f] - 2011-12-24 @@ -939,26 +1006,26 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ### Changed - Extend search-and-replace in units to cover UTF-8 symbols -- Symbols used with UTF-8 engines (issue #176) +- Symbols used with UTF-8 engines (issue [#176](https://github.com/josephwright/siunitx/issues/176)) ### Fixed -- Interaction of `textcomp` with user symbol changes (issue #181) +- Interaction of `textcomp` with user symbol changes (issue [#181](https://github.com/josephwright/siunitx/issues/181)) ## [v2.4] - 2012-04-15 ### Added -- Option `round-half = even` (issue #40) -- Option `list-pair-separator` (issue #136) -- Auto-conversion for prefixes (issue #173) +- Option `round-half = even` (issue [#40](https://github.com/josephwright/siunitx/issues/40)) +- Option `list-pair-separator` (issue [#136](https://github.com/josephwright/siunitx/issues/136)) +- Auto-conversion for prefixes (issue [#173](https://github.com/josephwright/siunitx/issues/173)) - Notes for upgraders ### Changed -- Automatically 'compress' exponents (issue #62) +- Automatically 'compress' exponents (issue [#62](https://github.com/josephwright/siunitx/issues/62)) - Clean up internal `expl3` usage - Removed remaining 'math' options ### Fixed -- Replace minus sign in text mode (issue #161) +- Replace minus sign in text mode (issue [#161](https://github.com/josephwright/siunitx/issues/161)) ## [v2.3h] - 2011-10-14 @@ -967,8 +1034,8 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Explicitly load `xfac` as part of documentation ### Fixed -- Select math mode with `tex4ht` (issue #170) -- Print superscripts using HTML tags with `tex4ht` (issue #171) +- 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 @@ -977,13 +1044,13 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ### Fixed - Check for leading zero when dealing with rounding 'large' exponents - (issue #168) + (issue [#168](https://github.com/josephwright/siunitx/issues/168)) - Internal issue with undeclared variable ## [v2.3f] - 2011-09-13 ### Fixed -- Trap erroneous numbers in tables (issue #167) +- Trap erroneous numbers in tables (issue [#167](https://github.com/josephwright/siunitx/issues/167)) ## [v2.3e] - 2011-09-09 @@ -1002,12 +1069,12 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [v2.3c] - 2011-08-12 ### Fixed -- Use correct `\pm` for units in literal mode (issue #163) +- Use correct `\pm` for units in literal mode (issue [#163](https://github.com/josephwright/siunitx/issues/163)) ## [v2.3b] - 2011-08-08 ### Added -- Additional abbreviated units (issue #162) +- Additional abbreviated units (issue [#162](https://github.com/josephwright/siunitx/issues/162)) ### Fixed - Definition of abbreviations using option `free-standing-units` @@ -1023,9 +1090,9 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [v2.3] - 2011-07-09 ### Added -- Supported for powers in literal units (issue #152) +- Supported for powers in literal units (issue [#152](https://github.com/josephwright/siunitx/issues/152)) - Unit abbreviation `\hl`/`\hL` -- Demo for 'closing up' not after an integer (issue #151) +- Demo for 'closing up' not after an integer (issue [#151](https://github.com/josephwright/siunitx/issues/151)) ### Changed - Load binary units as an option @@ -1039,69 +1106,69 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ### Fixed - Behavior of `table-auto-round` option - Missing deactivation in `strict` option -- Grouping digits (issue #133) -- Addition of explicit sign to mantissa (issue #139) +- Grouping digits (issue [#133](https://github.com/josephwright/siunitx/issues/133)) +- 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 ### Fixed -- Group pre-unit parsing (issue #158) +- Group pre-unit parsing (issue [#158](https://github.com/josephwright/siunitx/issues/158)) ## [v2.2k] - 2011-06-27 ### Fixed -- Avoid `\peek_...` inside the print routine (issue #157) +- Avoid `\peek_...` inside the print routine (issue [#157](https://github.com/josephwright/siunitx/issues/157)) ## [v2.2j] - 2011-06-26 ### Fixed -- Avoid box for range phrase (issue #156) +- Avoid box for range phrase (issue [#156](https://github.com/josephwright/siunitx/issues/156)) ## [v2.2i] - 2011-06-15 ### Fixed -- Detect font in table cells before boxing up (issue #153) +- Detect font in table cells before boxing up (issue [#153](https://github.com/josephwright/siunitx/issues/153)) ## [v2.2h] - 2011-06-03 ### Fixed -- Deal correctly with 'roll-over' in rounding integer part (issue #150) +- Deal correctly with 'roll-over' in rounding integer part (issue [#150](https://github.com/josephwright/siunitx/issues/150)) ## [v2.2g] - 2011-06-02 ### Fixed - Set per-unit options for list/range units when a single unit is used - (issue #149) + (issue [#149](https://github.com/josephwright/siunitx/issues/149)) - Add test for `parse-numbers = false` to `\tablenum` code ## [v2.2f] - 2011-05-25 ### Fixed -- `table-column-width = 0pt` (issue #146) +- `table-column-width = 0pt` (issue [#146](https://github.com/josephwright/siunitx/issues/146)) ## [v2.2e] - 2011-05-23 ### Fixed -- Remove 'mantissa' marker for numbers with no real part (issue #145) +- Remove 'mantissa' marker for numbers with no real part (issue [#145](https://github.com/josephwright/siunitx/issues/145)) ## [v2.2d] - 2011-04-28 ### Fixed -- The `strict` option (issue #143) -- Add `\dots` to protected symbols (issue #131) +- 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 ### Fixed -- Bad expansion of toks (issue #141) +- Bad expansion of toks (issue [#141](https://github.com/josephwright/siunitx/issues/141)) ## [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) -- Make `\of` expandable in literal contexts (issue #137) +- 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 @@ -1111,39 +1178,39 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Performance enhancements ### Fixed -- Auto-insertion of "1" when literal mode is on (issue #135) -- Detect `\end` macro and print output correctly (issue #134) -- Group digits for input containing symbolic entries (issue #131) -- Specify a default for `group-digits` (issue #130) -- Correctly expand macros with arguments in tables (issue #129) +- Auto-insertion of "1" when literal mode is on (issue [#135](https://github.com/josephwright/siunitx/issues/135)) +- Detect `\end` macro and print output correctly (issue [#134](https://github.com/josephwright/siunitx/issues/134)) +- Group digits for input containing symbolic entries (issue [#131](https://github.com/josephwright/siunitx/issues/131)) +- Specify a default for `group-digits` (issue [#130](https://github.com/josephwright/siunitx/issues/130)) +- Correctly expand macros with arguments in tables (issue [#129](https://github.com/josephwright/siunitx/issues/129)) - Ensure that `*` in tabular preamble works correctly with `S`/`s` columns - (issue #128) + (issue [#128](https://github.com/josephwright/siunitx/issues/128)) ## [v2.2] - 2011-04-13 ### Added - `\tablenum` command (issue ##117) -- Parse separated uncertainties (issue #57) -- Allow `\cancel` in units (issue #4) +- Parse separated uncertainties (issue [#57](https://github.com/josephwright/siunitx/issues/57)) +- Allow `\cancel` in units (issue [#4](https://github.com/josephwright/siunitx/issues/4)) - Allow `\highlight` in units -- Option `table-column-width` (issue #105) -- Option `bracket-negative-numbers` (issue #5) -- Option `table-align-comparators` (issue #86) -- Option `minimum-integer-digits` (issue #112) -- Option to print exponent marker literally (issue #113) -- Support for engineering-style number output (issue #114) -- Example of centring a right-aligned column (issue #85) +- Option `table-column-width` (issue [#105](https://github.com/josephwright/siunitx/issues/105)) +- Option `bracket-negative-numbers` (issue [#5](https://github.com/josephwright/siunitx/issues/5)) +- Option `table-align-comparators` (issue [#86](https://github.com/josephwright/siunitx/issues/86)) +- Option `minimum-integer-digits` (issue [#112](https://github.com/josephwright/siunitx/issues/112)) +- Option to print exponent marker literally (issue [#113](https://github.com/josephwright/siunitx/issues/113)) +- Support for engineering-style number output (issue [#114](https://github.com/josephwright/siunitx/issues/114)) +- Example of centring a right-aligned column (issue [#85](https://github.com/josephwright/siunitx/issues/85)) - Various unit abbreviations ### Changed - Renamed `...-separator` options to `...-product` where appropriate ### Fixed -- Allow `\DeclareSIUnit` to take optional argument (issue #121) +- Allow `\DeclareSIUnit` to take optional argument (issue [#121](https://github.com/josephwright/siunitx/issues/121)) - Latent issue with micro symbol when `fontspec` is loaded - Right-alignment in fixed-width columns - Print leading `1` when units start `\per` and `per-mode = symbol` - (issue #125) + (issue [#125](https://github.com/josephwright/siunitx/issues/125)) ## [v2.1p] - 2011-04-04 @@ -1153,13 +1220,13 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [v2.1o] - 2011-04-03 ### Fixed -- Detect arev package (issue #122) -- Allow for negative fixed exponents (issue #123) +- 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 ### Fixed -- Rounding to zero significant figures should always give a 0 (issue #119) +- 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 @@ -1173,7 +1240,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ### Fixed - Ensure that some output occurs in when `round-precision = 0` and - `round-mode = places` (issue #111) + `round-mode = places` (issue [#111](https://github.com/josephwright/siunitx/issues/111)) ## [v2.1l] - 2011-02-10 @@ -1192,7 +1259,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ### Fixed - Check for `\inputencodingname` macro rather than `inputenc` package - (issue #107) + (issue [#107](https://github.com/josephwright/siunitx/issues/107)) ## [v2.1i] - 2011-01-27 @@ -1200,7 +1267,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - New approach for `detect-display-math` ### Fixed -- New approach to `symbol-or-fraction` (issue #104) +- New approach to `symbol-or-fraction` (issue [#104](https://github.com/josephwright/siunitx/issues/104)) ## [v2.1h] - 2011-01-18 @@ -1215,39 +1282,39 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [v2.1f] - 2010-11-24 ### Fixed -- One-letter typo (issue #101) +- One-letter typo (issue [#101](https://github.com/josephwright/siunitx/issues/101)) ## [v2.1e] - 2010-11-22 ### Fixed -- Issue with free-standing unit options (issue #99) -- Text mode symbols with `fontspec` (issue #98) +- 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 ### Fixed -- Apply options for units when in free-standing mode (issue #97) +- 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 ### Added -- Choice `text` for `qualifier-mode` option (issue #95) +- Choice `text` for `qualifier-mode` option (issue [#95](https://github.com/josephwright/siunitx/issues/95)) ### Changed - Discourage line break between number and unit even when it is permitted - (issue #92) + (issue [#92](https://github.com/josephwright/siunitx/issues/92)) - Ensure that lists can break across lines - Restrict range and list functions to text mode -- Auto-detect math mode in tables (issue #94) +- Auto-detect math mode in tables (issue [#94](https://github.com/josephwright/siunitx/issues/94)) ## [v2.1b] - 2010-11-05 ### Changed -- Improve hyphen to minus correction (issue #89) +- Improve hyphen to minus correction (issue [#89](https://github.com/josephwright/siunitx/issues/89)) ### Fixed -- One wrong variable used (issue #90) +- One wrong variable used (issue [#90](https://github.com/josephwright/siunitx/issues/90)) ## [v2.1a] - 2010-11-05 @@ -1255,19 +1322,19 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Internal `expl3` improvements ### Fixed -- Print list separators in text mode (issue #87) -- Add in some missing `\ensuremath` statements (issue #88) +- 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 ### Added -- Option `copy-complex-root` (issue #63) -- Option `table-align-exponent` and `table-align-uncertainty` (issue #60) -- Option `power-font` (issue #69) -- Option `scientific-notation` (issue #11) -- Option `round-integer-to-decimal` (issue #55) -- Option `input-comparators` (issue #16) -- Option `round-minimum` (issue #17) +- Option `copy-complex-root` (issue [#63](https://github.com/josephwright/siunitx/issues/63)) +- Option `table-align-exponent` and `table-align-uncertainty` (issue [#60](https://github.com/josephwright/siunitx/issues/60)) +- Option `power-font` (issue [#69](https://github.com/josephwright/siunitx/issues/69)) +- Option `scientific-notation` (issue [#11](https://github.com/josephwright/siunitx/issues/11)) +- Option `round-integer-to-decimal` (issue [#55](https://github.com/josephwright/siunitx/issues/55)) +- Option `input-comparators` (issue [#16](https://github.com/josephwright/siunitx/issues/16)) +- Option `round-minimum` (issue [#17](https://github.com/josephwright/siunitx/issues/17)) ### Changed - Internal `expl3` improvements @@ -1287,12 +1354,12 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ### Fixed - Make single-prefix detection work with non-symbolic prefixes - (issue #81) + (issue [#81](https://github.com/josephwright/siunitx/issues/81)) ## [v2.0w] - 2010-09-29 ### Fixed -- Problem with REVTeX and S columns (issue #80) +- Problem with REVTeX and S columns (issue [#80](https://github.com/josephwright/siunitx/issues/80)) ## [v2.0v] - 2010-09-26 @@ -1302,13 +1369,13 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [v2.0u] - 2010-09-14 ### Fixed -- Issue with `textpos` (issue #74) -- Prevent infinite loop when using `\SI{}{...}` (issue #78) +- 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 ### Fixed -- Correct `\exp_after:wN` (issue #77) +- Correct `\exp_after:wN` (issue [#77](https://github.com/josephwright/siunitx/issues/77)) ## [v2.0s] - 2010-08-12 @@ -1316,7 +1383,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Demo for headers in tables ### Fixed -- Bug in rounding code for zero decimal place (issue #76) +- Bug in rounding code for zero decimal place (issue [#76](https://github.com/josephwright/siunitx/issues/76)) ## [v2.0r] - 2010-08-02 @@ -1336,7 +1403,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [v2.0o] - 2010-07-22 ### Added -- Extend detect-italic to slanted shape (issue #73) +- Extend detect-italic to slanted shape (issue [#73](https://github.com/josephwright/siunitx/issues/73)) ## [v2.0n] - 2010-07-15 @@ -1362,7 +1429,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [v2.0k] - 2010-07-04 ### Fixed -- Issue with `babel` (issue #68) +- Issue with `babel` (issue [#68](https://github.com/josephwright/siunitx/issues/68)) ## [v2.0j] - 2010-06-30 @@ -1375,7 +1442,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [v2.0i] - 2010-06-29 ### Fixed -- Two missed `_` from `expl3` style switch (issue #67) +- Two missed `_` from `expl3` style switch (issue [#67](https://github.com/josephwright/siunitx/issues/67)) ## [v2.0h] - 2010-06-29 @@ -1385,33 +1452,33 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ## [v2.0g] - 2010-06-28 ### Added -- First approach to localisation (issue #61) -- Restore 'bracket-numbers' option (issue #65) +- First approach to localisation (issue [#61](https://github.com/josephwright/siunitx/issues/61)) +- Restore 'bracket-numbers' option (issue [#65](https://github.com/josephwright/siunitx/issues/65)) ### Changed - Alter complex root output so that it always resets the math font ### Fixed -- Bracket complex numbers in numerator of quotient (issue #66) +- Bracket complex numbers in numerator of quotient (issue [#66](https://github.com/josephwright/siunitx/issues/66)) ## [v2.0f] - 2010-06-27 ### Fixed -- Spacing with `\times` in text mode (issue #64) +- Spacing with `\times` in text mode (issue [#64](https://github.com/josephwright/siunitx/issues/64)) ## [v2.0e] - 2010-06-20 ### Fixed -- Move save/restore of `\pm` (issue #58) +- Move save/restore of `\pm` (issue [#58](https://github.com/josephwright/siunitx/issues/58)) ## [v2.0d] - 2010-06-10 ### Changed -- Document use of `\cr` in tables (issue #53) +- Document use of `\cr` in tables (issue [#53](https://github.com/josephwright/siunitx/issues/53)) - Internal `expl3` improvements ### Fixed -- `table-exponent` option's handling of exponent signs (issue #56) +- `table-exponent` option's handling of exponent signs (issue [#56](https://github.com/josephwright/siunitx/issues/56)) ## [v2.0c] - 2010-06-07 @@ -1423,7 +1490,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to ### Fixed - Test for bottoming-out units and ensure that any 'hidden' literal units - print (issue #50) + print (issue [#50](https://github.com/josephwright/siunitx/issues/50)) ## [v2.0b] - 2010-06-01 @@ -1437,7 +1504,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to - Several improvements in v1 emulation ### Fixed -- Allow `\newunit` to take optional arguments (issue #45) +- Allow `\newunit` to take optional arguments (issue [#45](https://github.com/josephwright/siunitx/issues/45)) ## v2.0 @@ -1454,7 +1521,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.23...HEAD +[Unreleased]: https://github.com/josephwright/siunitx/compare/v3.0.24...HEAD +[v3.0.24]: https://github.com/josephwright/siunitx/compare/v3.0.23...v3.0.24 [v3.0.23]: https://github.com/josephwright/siunitx/compare/v3.0.22...v3.0.23 [v3.0.22]: https://github.com/josephwright/siunitx/compare/v3.0.21...v3.0.22 [v3.0.21]: https://github.com/josephwright/siunitx/compare/v3.0.20...v3.0.21 diff --git a/macros/latex/contrib/siunitx/README.md b/macros/latex/contrib/siunitx/README.md index a57e22745b..0d065403cf 100644 --- a/macros/latex/contrib/siunitx/README.md +++ b/macros/latex/contrib/siunitx/README.md @@ -1,17 +1,15 @@ siunitx - A comprehensive (SI) units package ============================================ -Physical quantities have both numbers and units, and each -physical quantity should be expressed as the product of a number -and a unit. Typesetting physical quantities requires care to -ensure that the combined mathematical meaning of the number-unit -combination is clear. In particular, the SI units system lays -down a consistent set of units with rules on how these are to be -used. However, different countries and publishers have differing -conventions on the exact appearance of numbers (and units). The -`siunitx` package provides a set of tools for authors to typeset -quantities in a consistent way. The package has an extended set -of configuration options which make it possible to follow -varying typographic conventions with the same input syntax. The -package includes automated processing of numbers and units, and -the ability to control tabular alignment of numbers. +Physical quantities have both numbers and units, and each physical quantity +should be expressed as the product of a number and a unit. Typesetting physical +quantities requires care to ensure that the combined mathematical meaning of the +number-unit combination is clear. In particular, the SI units system lays down a +consistent set of units with rules on how these are to be used. However, +different countries and publishers have differing conventions on the exact +appearance of numbers (and units). The [`siunitx`](https://ctan.org/pkg/siunitx) +package provides a set of tools for authors to typeset quantities in a +consistent way. The package has an extended set of configuration options which +make it possible to follow varying typographic conventions with the same input +syntax. The package includes automated processing of numbers and units, and the +ability to control tabular alignment of numbers. diff --git a/macros/latex/contrib/siunitx/siunitx-code.pdf b/macros/latex/contrib/siunitx/siunitx-code.pdf index 7a4b9ba709..c0a7e9b1fe 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-number.dtx b/macros/latex/contrib/siunitx/siunitx-number.dtx index 61ca7af103..38db10d71b 100644 --- a/macros/latex/contrib/siunitx/siunitx-number.dtx +++ b/macros/latex/contrib/siunitx/siunitx-number.dtx @@ -1449,12 +1449,9 @@ % \begin{macro}{\@@_parse_uncert:NN} % \begin{macro}{\@@_parse_uncert:NNNN} % \begin{macro}{\@@_parse_uncert_auxi:NN, \@@_parse_uncert_auxii:NN} -% \begin{macro} -% { -% \@@_parse_uncert_auxii:N , -% \@@_parse_uncert_marker:N , -% \@@_parse_uncert_after:N -% } +% \begin{macro} {\@@_parse_uncert_auxii:N, \@@_parse_uncert_marker:N} +% \begin{macro}{\@@_parse_uncert_extend:nnnN} +% \begin{macro}{\@@_parse_uncert_after:N} % Parsing a combined uncertainty has a very restricted range of allowed % tokens. A closing uncertainty token in the first place is an error, % so we filter that out explicitly. After that, we check for digits, @@ -1544,7 +1541,8 @@ % 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. Both of these require data from the collected partial number, +% 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. Handily, we know that it should be a set of % digits then a closing marker. So we can use that as a length: if it's @@ -1578,9 +1576,15 @@ } \@@_parse_uncert_auxii:NN } - { \@@_parse_loop_break:wN } + { \exp_after:wN \@@_parse_uncert_extend:nnnN #2 #2 } #3 \q_recursion_tail \q_recursion_stop } +\cs_new_protected:Npn \@@_parse_uncert_extend:nnnN #1#2#3#4 + { + \tl_set:Nn #4 { {#1} {#2} { #3 0 } } + \@@_parse_uncert:NNNN #4 \c_true_bool + \@@_parse_uncert_auxii:NN + } % \end{macrocode} % No further tokens are allowed after an uncertainty in parenthesis. % \begin{macrocode} @@ -1594,6 +1598,8 @@ % \end{macro} % \end{macro} % \end{macro} +% \end{macro} +% \end{macro} % % \subsection{Processing numbers} % @@ -2298,7 +2304,7 @@ \bool_lazy_all_p:n { { \l_@@_round_half_even_bool } - { \int_if_odd_p:n {#3} } + { ! \int_if_odd_p:n {#3} } { \@@_round_if_half_p:n {#1} } } } @@ -2316,7 +2322,7 @@ \bool_lazy_all_p:n { { \l_@@_round_half_even_bool } - { \int_if_odd_p:n {#3} } + { ! \int_if_odd_p:n {#3} } { \@@_round_if_half_p:n {#1} } } } @@ -2762,7 +2768,7 @@ } \cs_new:Npn \@@_round_uncertainty:nnnnn #1#2#3#4#5 { - \exp_args:Nf \@@_round_uncertainty_aux:nnnnn + \exp_args:Nff \@@_round_uncertainty_aux:nnnnn { \int_eval:n { \tl_count:n {#5} - \tl_count:n {#2} } } {#1} {#2} {#3} {#4} } @@ -2774,8 +2780,9 @@ { \exp_args:Nf \@@_round_uncertainty_aux:nnnnnn { - \tl_if_blank:nT {#5} - { \prg_replicate:nn {#1} { 0 } } + \prg_replicate:nn + { \int_max:nn { #1 - \tl_count:n {#5} } { 0 } } + { 0 } } {#1} {#2} {#3} {#4} {#5} } diff --git a/macros/latex/contrib/siunitx/siunitx.dtx b/macros/latex/contrib/siunitx/siunitx.dtx index 9a53dd6c88..275f824a35 100644 --- a/macros/latex/contrib/siunitx/siunitx.dtx +++ b/macros/latex/contrib/siunitx/siunitx.dtx @@ -106,7 +106,7 @@ % We use \cs{ExplFileDate} as \cs{@ifpackagelater} doesn't work for pre-loaded % \pkg{expl3} in the absence of the package. % \begin{macrocode} -\@ifl@t@r\ExplFileDate{2018-06-01} +\@ifl@t@r\ExplFileDate{2020-01-09} {} {% \PackageError{siunitx}{Support package expl3 too old} @@ -121,7 +121,7 @@ % % Identify the package and give the over all version information. % \begin{macrocode} -\ProvidesExplPackage {siunitx} {2021-07-26} {3.0.23} +\ProvidesExplPackage {siunitx} {2021-08-04} {3.0.24} {A comprehensive (SI) units package} % \end{macrocode} % diff --git a/macros/latex/contrib/siunitx/siunitx.pdf b/macros/latex/contrib/siunitx/siunitx.pdf index 0bca76872a..67b9a4fbee 100644 Binary files a/macros/latex/contrib/siunitx/siunitx.pdf and b/macros/latex/contrib/siunitx/siunitx.pdf differ diff --git a/macros/latex/contrib/siunitx/siunitx.tex b/macros/latex/contrib/siunitx/siunitx.tex index 735ab2d0d8..136283140d 100644 --- a/macros/latex/contrib/siunitx/siunitx.tex +++ b/macros/latex/contrib/siunitx/siunitx.tex @@ -314,8 +314,8 @@ optional argument, \meta{options}, and one mandatory one, \meta{number}. The contents of \meta{number} are automatically formatted. The formatter removes both \enquote{soft} (\verb*| |) and \enquote{hard} spaces (|\,| and |~|), automatically identifies exponents (as standard marked using |e|, |E|, |d| or -|D|) and adds the appropriate spacing of large numbers. With the standard -settings a leading zero is added before a decimal marker, if needed: both |.| +|D|) and adds the appropriate spacing of large numbers.If required, +a leading zero is added before a decimal marker: both |.| and "," are recognised as decimal markers. \begin{LaTeXdemo} \num{123} \\ @@ -2158,6 +2158,7 @@ the output directly (Table~\ref{tab:opt:units:out}). \midrule bracket-unit-denominator & Switch & true \\ forbid-literal-units & Switch & false \\ + fraction-command & Literal & \cs{frac} \\ inter-unit-product & Literal & \cs{,} \\ parse-units & Switch & true \\ per-mode & Choice & power \\ @@ -2183,11 +2184,13 @@ centred dot. To get the correct spacing it is necessary to use \DescribeOption{per-mode} \DescribeOption{per-symbol} +\DescribeOption{fraction-command} \DescribeOption{bracket-unit-denominator} The handling of \cs{per} is altered using the \opt{per-mode} choice option. The standard setting is \opt{power}, meaning that \cs{per} generates reciprocal powers for units. Setting the option to \opt{fraction} uses the |\frac| function to typeset the positive and negative powers of a unit separately. +The exact function can be adjusted using the \opt{fraction-command} option. \begin{LaTeXdemo} \unit{\joule\per\mole\per\kelvin} \\ \unit{\metre\per\second\squared} \\ -- cgit v1.2.3