From 7ee96447e722ea395c966552247faee63fa71276 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 27 Sep 2014 22:34:58 +0000 Subject: siunitx (27sep14) git-svn-id: svn://tug.org/texlive/trunk@35273 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/latex/siunitx/siunitx.dtx | 25 ++++++++++++---------- 1 file changed, 14 insertions(+), 11 deletions(-) (limited to 'Master/texmf-dist/source/latex/siunitx') diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx index a42a9983fa5..346035b7884 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx +++ b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx @@ -615,6 +615,8 @@ This work consists of the file siunitx.dtx % bookmarks when \pkg{babel} is loaded with the \opt{french} option} % \changes{v2.6a}{2014/09/15}{Better glyph selection when \pkg{fontspec} % is detected} +% \changes{v2.6b}{2014/09/27}{Extend range of font shapes which can be +% detected} % %\begin{abstract} % Physical quantities have both numbers and units, and each physical @@ -5141,7 +5143,7 @@ This work consists of the file siunitx.dtx % % The usual preliminaries. % \begin{macrocode} -\ProvidesExplPackage {siunitx} {2014/09/15} {2.6a} +\ProvidesExplPackage {siunitx} {2014/09/27} {2.6b} {A comprehensive (SI) units package} % \end{macrocode} % @@ -6033,12 +6035,13 @@ This work consists of the file siunitx.dtx %\begin{macro}{\@@_detect_font_shape:} % The shape test uses \cs{f@shape} as a handy indicator. % \begin{macrocode} -\cs_new_protected:Npn \@@_detect_font_shape: { - \str_if_eq:VnT \f@shape { it } - { \cs_set:Npn \@@_font_shape: { \itshape } } - \str_if_eq:VnT \f@shape { sl } - { \cs_set:Npn \@@_font_shape: { \slshape } } -} +\cs_new_protected:Npn \@@_detect_font_shape: + { + \cs_if_exist:cT { \f@shape shape } + { + \cs_set:Npx \@@_font_shape: { \exp_not:c { \f@shape shape } } + } + } % \end{macrocode} %\end{macro} % @@ -6825,7 +6828,7 @@ This work consists of the file siunitx.dtx input-digits = 0123456789, input-exponent-markers = dDeE, input-open-uncertainty = (, % ) - input-protect-tokens = \approx\dots\ge\geq\gg\le\leg\ll\mp\pi\pm\sim, + input-protect-tokens = \approx\dots\ge\geq\gg\le\leq\ll\mp\pi\pm\sim, input-signs = +-\mp\pm, input-symbols = \dots\pi, input-uncertainty-signs = \pm, @@ -16635,7 +16638,7 @@ This work consists of the file siunitx.dtx % \end{macrocode} % % \begin{macrocode} -\ProvidesExplFile {siunitx-version-1.cfg} {2014/09/15} {2.6a} +\ProvidesExplFile {siunitx-version-1.cfg} {2014/09/27} {2.6b} {siunitx: Version 1 settings} % \end{macrocode} % @@ -17577,7 +17580,7 @@ This work consists of the file siunitx.dtx % \end{macrocode} % % \begin{macrocode} -\ProvidesExplFile {siunitx-abbreviations.cfg} {2014/09/15} {2.6a} +\ProvidesExplFile {siunitx-abbreviations.cfg} {2014/09/27} {2.6b} {siunitx: Abbreviated units} % \end{macrocode} % @@ -17759,7 +17762,7 @@ This work consists of the file siunitx.dtx % \end{macrocode} % % \begin{macrocode} -\ProvidesExplFile {siunitx-binary.cfg} {2014/09/15} {2.6a} +\ProvidesExplFile {siunitx-binary.cfg} {2014/09/27} {2.6b} {siunitx: Binary units} % \end{macrocode} % -- cgit v1.2.3