diff options
author | Karl Berry <karl@freefriends.org> | 2014-09-27 22:34:58 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-09-27 22:34:58 +0000 |
commit | 7ee96447e722ea395c966552247faee63fa71276 (patch) | |
tree | 2564611b076fcd8f096d11816450aafbf13e7648 /Master/texmf-dist/source | |
parent | 38d864133ced256355012fc8762963833b82d432 (diff) |
siunitx (27sep14)
git-svn-id: svn://tug.org/texlive/trunk@35273 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r-- | Master/texmf-dist/source/latex/siunitx/siunitx.dtx | 25 |
1 files changed, 14 insertions, 11 deletions
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} % |