texlive[47731] Master/texmf-dist: siunitx (16may18)

commits+karl at tug.org commits+karl at tug.org
Wed May 16 22:50:03 CEST 2018


Revision: 47731
          http://tug.org/svn/texlive?view=revision&revision=47731
Author:   karl
Date:     2018-05-16 22:50:03 +0200 (Wed, 16 May 2018)
Log Message:
-----------
siunitx (16may18)

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

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/siunitx/siunitx-code.pdf

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

Index: trunk/Master/texmf-dist/doc/latex/siunitx/siunitx-code.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/siunitx/siunitx-code.pdf	2018-05-16 20:48:22 UTC (rev 47730)
+++ trunk/Master/texmf-dist/doc/latex/siunitx/siunitx-code.pdf	2018-05-16 20:50:03 UTC (rev 47731)

Property changes on: trunk/Master/texmf-dist/doc/latex/siunitx/siunitx-code.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
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	2018-05-16 20:48:22 UTC (rev 47730)
+++ trunk/Master/texmf-dist/source/latex/siunitx/siunitx.dtx	2018-05-16 20:50:03 UTC (rev 47731)
@@ -674,6 +674,7 @@
 % \changes{v2.7n}{2018/04/27}{Fix issue with symbolic input
 %   and digit grouping}
 % \changes{v2.7q}{2018/05/11}{Patch \pkg{cellspace} only if required}
+% \changes{v2.7r}{2018/05/16}{Fix issue in tabulars when REV\TeX{} is in use}
 %
 %\begin{abstract}
 % Physical quantities have both numbers and units, and each physical
@@ -5227,7 +5228,7 @@
 %
 % The usual preliminaries.
 %    \begin{macrocode}
-\ProvidesExplPackage {siunitx} {2018-05-11} {2.7q}
+\ProvidesExplPackage {siunitx} {2018-05-16} {2.7r}
   {A comprehensive (SI) units package}
 %    \end{macrocode}
 %
@@ -13533,6 +13534,7 @@
 %\end{macro}
 %
 %\begin{macro}{\@@_table_collect_begin:Nn}
+%\begin{macro}{\@@_table_collect_begin:Nw}
 %\begin{macro}{\@@_table_collect_begin_s:}
 %\begin{macro}{\@@_table_collect_begin_S:}
 % The collector starts by setting up local options, then clears and
@@ -13540,12 +13542,19 @@
 % \texttt{S} column happens here as this ensures that it is not inside
 % a box, which will give the wrong result for \opt{detect-mode}. The
 % |\use_i:nn| removes the |\ignorespaces| from the cell preamble.
+% In the basic \LaTeXe{} template there is only an |\ignorespaces|
+% before the content, but to deal with any other material we use
+% a delimited approach. It's important to grab everything up to the
+% end of the template-before-|#| to allow the Appendix~D trick to work
+% inside the |peek| code.
 %    \begin{macrocode}
 \cs_new_protected:Npn \@@_table_collect_begin:Nn #1#2
   {
     \keys_set:nn { siunitx } {#2}
-    \use_i:nn { \use:c { @@_table_collect_begin_ #1 : } }
+    \@@_table_collect_begin:Nw #1
   }
+\cs_new_protected:Npn \@@_table_collect_begin:Nw #1#2 \ignorespaces
+  { \use:c { @@_table_collect_begin_ #1 : } #2 }
 \cs_new_protected:Npn \@@_table_collect_begin_s: {
   \cs_set_eq:NN \@@_table_collect_token:N
     \@@_table_collect_token_s:N
@@ -13567,6 +13576,7 @@
 %\end{macro}
 %\end{macro}
 %\end{macro}
+%\end{macro}
 %
 %\begin{macro}{\@@_table_collect_braced:n}
 % The collection of braced items depends on the column type. So we
@@ -15173,7 +15183,7 @@
 % \pkg{dcolumn} can be applied, which requires the decimal marker to
 % be made active in math mode.
 %
-% \begin{macro}{\@@_table_print_S_direct:N}
+% \begin{macro}{\@@_table_print_S_direct:}
 % \begin{macro}{\@@_table_print_S_direct_text:n}
 %   Test to see if the very first item
 %   in the cell is a |{|. If it is, then we use the same approach as for

Modified: trunk/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/siunitx/siunitx.sty	2018-05-16 20:48:22 UTC (rev 47730)
+++ trunk/Master/texmf-dist/tex/latex/siunitx/siunitx.sty	2018-05-16 20:50:03 UTC (rev 47731)
@@ -15,7 +15,7 @@
 %% 
 \RequirePackage{expl3}[2015/09/11]
 \RequirePackage{xparse}
-\ProvidesExplPackage {siunitx} {2018-05-11} {2.7q}
+\ProvidesExplPackage {siunitx} {2018-05-16} {2.7r}
   {A comprehensive (SI) units package}
 \@ifpackagelater { expl3 } { 2015/11/15 }
   { }
@@ -5619,8 +5619,10 @@
 \cs_new_protected:Npn \__siunitx_table_collect_begin:Nn #1#2
   {
     \keys_set:nn { siunitx } {#2}
-    \use_i:nn { \use:c { __siunitx_table_collect_begin_ #1 : } }
+    \__siunitx_table_collect_begin:Nw #1
   }
+\cs_new_protected:Npn \__siunitx_table_collect_begin:Nw #1#2 \ignorespaces
+  { \use:c { __siunitx_table_collect_begin_ #1 : } #2 }
 \cs_new_protected:Npn \__siunitx_table_collect_begin_s: {
   \cs_set_eq:NN \__siunitx_table_collect_token:N
     \__siunitx_table_collect_token_s:N



More information about the tex-live-commits mailing list