texlive[53890] Master/texmf-dist: siunitx (23feb20)

commits+karl at tug.org commits+karl at tug.org
Mon Feb 24 15:30:19 CET 2020


Revision: 53890
          http://tug.org/svn/texlive?view=revision&revision=53890
Author:   karl
Date:     2020-02-24 15:30:18 +0100 (Mon, 24 Feb 2020)
Log Message:
-----------
siunitx (23feb20)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf
    trunk/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
    trunk/Master/texmf-dist/tex/latex/siunitx/siunitx.sty

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

Modified: trunk/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/siunitx/siunitx.dtx	2020-02-24 14:30:04 UTC (rev 53889)
+++ trunk/Master/texmf-dist/source/latex/siunitx/siunitx.dtx	2020-02-24 14:30:18 UTC (rev 53890)
@@ -697,6 +697,8 @@
 %    the kernel)}
 % \changes{v2.8}{2020/02/20}{Allow \cs{ohm} to appear correctly in PDF
 %    bookmarks}
+% \changes{v2.8a}{2020/02/23}{Correct appearance of ohm when
+%    \pkg{unicode-math} is loaded}
 %
 %\begin{abstract}
 % Physical quantities have both numbers and units, and each physical
@@ -5221,7 +5223,7 @@
 %
 % The usual preliminaries.
 %    \begin{macrocode}
-\ProvidesExplPackage {siunitx} {2020/02/20} {2.8}
+\ProvidesExplPackage {siunitx} {2020/02/23} {2.8a}
   {A comprehensive (SI) units package}
 %    \end{macrocode}
 %
@@ -15373,6 +15375,14 @@
               { \AA }
               { \capitalring { A } }
           }
+        \@ifpackageloaded { unicode-math }
+          {
+            \exp_args:NNnx
+              \@@_option_unchanged:Nnn \l_@@_ohm_math_tl
+              { \text { \ensuremath { \Omega } } }
+              {  \char_generate:nn { "03A9 } { 12 } }
+          }
+          { }
         \@ifpackageloaded { upgreek }
           {
             \@@_option_unchanged:Nnn \l_@@_ohm_math_tl
@@ -15379,7 +15389,7 @@
               { \text { \ensuremath { \Omega } } }
               { \text { \ensuremath { \Upomega } } }
           }
-          { }
+        { }
       }
   }
 %    \end{macrocode}

Modified: trunk/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/siunitx/siunitx.sty	2020-02-24 14:30:04 UTC (rev 53889)
+++ trunk/Master/texmf-dist/tex/latex/siunitx/siunitx.sty	2020-02-24 14:30:18 UTC (rev 53890)
@@ -15,7 +15,7 @@
 %% 
 \RequirePackage{expl3}[2020/01/12]
 \RequirePackage{xparse}
-\ProvidesExplPackage {siunitx} {2020/02/20} {2.8}
+\ProvidesExplPackage {siunitx} {2020/02/23} {2.8a}
   {A comprehensive (SI) units package}
 \@ifpackagelater { expl3 } { 2020/01/12 }
   { }
@@ -6869,6 +6869,14 @@
               { \AA }
               { \capitalring { A } }
           }
+        \@ifpackageloaded { unicode-math }
+          {
+            \exp_args:NNnx
+              \__siunitx_option_unchanged:Nnn \l__siunitx_ohm_math_tl
+              { \text { \ensuremath { \Omega } } }
+              {  \char_generate:nn { "03A9 } { 12 } }
+          }
+          { }
         \@ifpackageloaded { upgreek }
           {
             \__siunitx_option_unchanged:Nnn \l__siunitx_ohm_math_tl
@@ -6875,7 +6883,7 @@
               { \text { \ensuremath { \Omega } } }
               { \text { \ensuremath { \Upomega } } }
           }
-          { }
+        { }
       }
   }
 \keys_define:nn { siunitx } {



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