texlive[61746] Master/texmf-dist: siunitx (26jan22)

commits+karl at tug.org commits+karl at tug.org
Wed Jan 26 22:06:44 CET 2022


Revision: 61746
          http://tug.org/svn/texlive?view=revision&revision=61746
Author:   karl
Date:     2022-01-26 22:06:44 +0100 (Wed, 26 Jan 2022)
Log Message:
-----------
siunitx (26jan22)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md
    trunk/Master/texmf-dist/doc/latex/siunitx/siunitx-code.pdf
    trunk/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf
    trunk/Master/texmf-dist/source/latex/siunitx/siunitx-angle.dtx
    trunk/Master/texmf-dist/source/latex/siunitx/siunitx-locale.dtx
    trunk/Master/texmf-dist/source/latex/siunitx/siunitx-symbol.dtx
    trunk/Master/texmf-dist/source/latex/siunitx/siunitx-table.dtx
    trunk/Master/texmf-dist/source/latex/siunitx/siunitx-unit.dtx
    trunk/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
    trunk/Master/texmf-dist/source/latex/siunitx/siunitx.tex
    trunk/Master/texmf-dist/tex/latex/siunitx/siunitx.sty

Modified: trunk/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md	2022-01-26 21:06:26 UTC (rev 61745)
+++ trunk/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md	2022-01-26 21:06:44 UTC (rev 61746)
@@ -7,8 +7,21 @@
 
 ## [Unreleased]
 
+## [v3.0.44] - 2022-01-26
+
+### Added
+- Hint concerning hyphen inside `\text`
+
+### Fixed
+- Handling of `output-exponent-marker` in tables (see issue
+  [\#578](https://github.com/josephwright/siunitx/issues/578))
+
 ## [v3.0.43] - 2022-01-20
 
+### Fixed
+- Printing `\ohm` with `beamer` class (see issue
+  [\#572](https://github.com/josephwright/siunitx/issues/572))
+
 ## [v3.0.42] - 2022-01-18
 
 ### Added
@@ -1673,7 +1686,8 @@
 ### Added
 - First public testing release (as `si`)
 
-[Unreleased]: https://github.com/josephwright/siunitx/compare/v3.0.43...HEAD
+[Unreleased]: https://github.com/josephwright/siunitx/compare/v3.0.44...HEAD
+[v3.0.44]: https://github.com/josephwright/siunitx/compare/v3.0.43...v3.0.44
 [v3.0.43]: https://github.com/josephwright/siunitx/compare/v3.0.42...v3.0.43
 [v3.0.42]: https://github.com/josephwright/siunitx/compare/v3.0.41...v3.0.42
 [v3.0.41]: https://github.com/josephwright/siunitx/compare/v3.0.40...v3.0.41

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

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

Modified: trunk/Master/texmf-dist/source/latex/siunitx/siunitx-angle.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/siunitx/siunitx-angle.dtx	2022-01-26 21:06:26 UTC (rev 61745)
+++ trunk/Master/texmf-dist/source/latex/siunitx/siunitx-angle.dtx	2022-01-26 21:06:44 UTC (rev 61746)
@@ -1,6 +1,6 @@
 % \iffalse meta-comment
 %
-% File: siunitx-angle.dtx Copyright (C) 2016-2019,2021 Joseph Wright
+% File: siunitx-angle.dtx Copyright (C) 2016-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

Modified: trunk/Master/texmf-dist/source/latex/siunitx/siunitx-locale.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/siunitx/siunitx-locale.dtx	2022-01-26 21:06:26 UTC (rev 61745)
+++ trunk/Master/texmf-dist/source/latex/siunitx/siunitx-locale.dtx	2022-01-26 21:06:44 UTC (rev 61746)
@@ -1,6 +1,6 @@
 % \iffalse meta-comment
 %
-% File: siunitx-locale.dtx Copyright (C) 2020,2021 Joseph Wright
+% File: siunitx-locale.dtx Copyright (C) 2020-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

Modified: trunk/Master/texmf-dist/source/latex/siunitx/siunitx-symbol.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/siunitx/siunitx-symbol.dtx	2022-01-26 21:06:26 UTC (rev 61745)
+++ trunk/Master/texmf-dist/source/latex/siunitx/siunitx-symbol.dtx	2022-01-26 21:06:44 UTC (rev 61746)
@@ -1,6 +1,6 @@
 % \iffalse meta-comment
 %
-% File: siunitx-symbol.dtx Copyright (C) 2018-2021 Joseph Wright
+% File: siunitx-symbol.dtx Copyright (C) 2018-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

Modified: trunk/Master/texmf-dist/source/latex/siunitx/siunitx-table.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/siunitx/siunitx-table.dtx	2022-01-26 21:06:26 UTC (rev 61745)
+++ trunk/Master/texmf-dist/source/latex/siunitx/siunitx-table.dtx	2022-01-26 21:06:44 UTC (rev 61746)
@@ -1,6 +1,6 @@
 % \iffalse meta-comment
 %
-% File: siunitx-table.dtx Copyright (C) 2016-2019,2021 Joseph Wright
+% File: siunitx-table.dtx Copyright (C) 2016-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
@@ -1217,7 +1217,7 @@
     \hbox_set:Nn \l_@@_decimal_box
       {
         \siunitx_print_number:x
-          { \@@_print_marker_aux:w #4 }
+          { \@@_print_marker_aux:w #4 \q_stop }
       }
     \@@_center_marker:
     \use:c { @@_align_ \l_@@_align_text_tl :n }
@@ -1229,11 +1229,12 @@
       }
   }
 \cs_new:Npn \@@_print_marker_aux:w
-  #1 \q_nil #2 \q_nil #3 \q_nil #4 \q_nil #5 \q_nil #6 \q_nil #7 \q_nil
+  #1 \q_nil #2 \q_nil #3 \q_nil #4 \q_nil #5
+     \q_nil #6 \q_nil #7 \q_nil #8 \q_stop
   {
-    \exp_not:n {#1#2#3#4#5}
-    \tl_if_blank:nT {#1#2#3#4#5} { { } }
-    \exp_not:n {#6#7}
+    \exp_not:n {#1#2#3#4#5#6}
+    \tl_if_blank:nT {#1#2#3#4#5#6} { { } }
+    \exp_not:n {#7#8}
   }
 %    \end{macrocode}
 %   For positioning based on a format, we have to work part-by-part as there

Modified: trunk/Master/texmf-dist/source/latex/siunitx/siunitx-unit.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/siunitx/siunitx-unit.dtx	2022-01-26 21:06:26 UTC (rev 61745)
+++ trunk/Master/texmf-dist/source/latex/siunitx/siunitx-unit.dtx	2022-01-26 21:06:44 UTC (rev 61746)
@@ -1,6 +1,6 @@
 % \iffalse meta-comment
 %
-% File: siunitx-unit.dtx Copyright (C) 2014-2021 Joseph Wright
+% File: siunitx-unit.dtx Copyright (C) 2014-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

Modified: trunk/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/siunitx/siunitx.dtx	2022-01-26 21:06:26 UTC (rev 61745)
+++ trunk/Master/texmf-dist/source/latex/siunitx/siunitx.dtx	2022-01-26 21:06:44 UTC (rev 61746)
@@ -121,7 +121,7 @@
 %
 % Identify the package and give the over all version information.
 %    \begin{macrocode}
-\ProvidesExplPackage {siunitx} {2022-01-20} {3.0.43}
+\ProvidesExplPackage {siunitx} {2022-01-26} {3.0.44}
   {A comprehensive (SI) units package}
 %    \end{macrocode}
 %

Modified: trunk/Master/texmf-dist/source/latex/siunitx/siunitx.tex
===================================================================
--- trunk/Master/texmf-dist/source/latex/siunitx/siunitx.tex	2022-01-26 21:06:26 UTC (rev 61745)
+++ trunk/Master/texmf-dist/source/latex/siunitx/siunitx.tex	2022-01-26 21:06:44 UTC (rev 61746)
@@ -1,6 +1,6 @@
 \iffalse meta-comment
 
-File: siunitx.tex Copyright (C) 2014-2021 Joseph Wright
+File: siunitx.tex Copyright (C) 2014-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
@@ -3111,6 +3111,23 @@
 simply forcing \cs{mathnormal} will suffice, but this is less reliable with
 non-Latin characters.
 
+\subsection{Including a literal hyphen inside \cs{text}%
+  \label{sec:hint:hyphen-minus}}
+
+In most cases, a "-" character inside \cs{text} will represent a minus. The
+package will therefore replace it with \cs{textminus}. However, this may be
+problematic if you want a hyphen, or if you are using "-" in a piece of \TeX{}
+syntax. You can prevent this by using a second set of braces
+\begin{LaTeXdemo}[code only]
+  \DeclareSIUnit\electronvolt{\text{{e\kern -0.1em V}}}
+\end{LaTeXdemo}
+or by defining a protected command that will yield a hyphen on typesetting
+\begin{LaTeXdemo}[code only]
+  \usepackage{etoolbox}
+  \newrobustcmd*\hyphenminus{-}
+  \DeclareSIUnit\electronvolt{\text{e\kern \hyphenminus0.1em V}}
+\end{LaTeXdemo}
+
 \subsection{Expanding content in tables%
   \label{sec:hint:expanding}}
 
@@ -3870,7 +3887,7 @@
 versions of packages can be important to solving the issue).
 
 Feedback can be sent in a range of ways. The development code and issue tracker
-are hosted on \href{https://github.com/josephwright/siunitx/}{GitHub}. Issues
+are hosted on GitHub: \url{https://github.com/josephwright/siunitx/}. Issues
 opened there are visible to other users and makes sure that they cannot be
 forgotten.
 

Modified: trunk/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/siunitx/siunitx.sty	2022-01-26 21:06:26 UTC (rev 61745)
+++ trunk/Master/texmf-dist/tex/latex/siunitx/siunitx.sty	2022-01-26 21:06:44 UTC (rev 61746)
@@ -42,7 +42,7 @@
       }%
     \endinput
   }%
-\ProvidesExplPackage {siunitx} {2022-01-20} {3.0.43}
+\ProvidesExplPackage {siunitx} {2022-01-26} {3.0.44}
   {A comprehensive (SI) units package}
 \msg_new:nnnn { siunitx } { incompatible-package }
   { Package~'#1'~incompatible. }
@@ -4725,7 +4725,7 @@
     \hbox_set:Nn \l__siunitx_table_decimal_box
       {
         \siunitx_print_number:x
-          { \__siunitx_table_print_marker_aux:w #4 }
+          { \__siunitx_table_print_marker_aux:w #4 \q_stop }
       }
     \__siunitx_table_center_marker:
     \use:c { __siunitx_table_align_ \l__siunitx_table_align_text_tl :n }
@@ -4737,11 +4737,12 @@
       }
   }
 \cs_new:Npn \__siunitx_table_print_marker_aux:w
-  #1 \q_nil #2 \q_nil #3 \q_nil #4 \q_nil #5 \q_nil #6 \q_nil #7 \q_nil
+  #1 \q_nil #2 \q_nil #3 \q_nil #4 \q_nil #5
+     \q_nil #6 \q_nil #7 \q_nil #8 \q_stop
   {
-    \exp_not:n {#1#2#3#4#5}
-    \tl_if_blank:nT {#1#2#3#4#5} { { } }
-    \exp_not:n {#6#7}
+    \exp_not:n {#1#2#3#4#5#6}
+    \tl_if_blank:nT {#1#2#3#4#5#6} { { } }
+    \exp_not:n {#7#8}
   }
 \cs_new_protected:Npn \__siunitx_table_print_format:nnn #1#2#3
   {



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