summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-04-17 00:12:41 +0000
committerKarl Berry <karl@freefriends.org>2009-04-17 00:12:41 +0000
commit676776fb68c6e4ff40051a8c4e8ac6272f2e3c66 (patch)
tree229645f76b71b0370c9aec33878bf91dedff6110 /Master/texmf-dist/source/latex
parent4050d85ba1394b75a677598fc1072a789001ceef (diff)
siunitx update (16apr09)
git-svn-id: svn://tug.org/texlive/trunk@12739 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex')
-rw-r--r--Master/texmf-dist/source/latex/siunitx/siunitx.dtx70
1 files changed, 40 insertions, 30 deletions
diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
index f14145e925b..addfcdc206d 100644
--- a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
+++ b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
@@ -3041,6 +3041,13 @@ dcolumn, rccol and numprint packages.
% \makeatother
%\end{LaTeXexample}
% after |\begin{document}|.
+%
+%\subsection{Numbers with no mantissa in \texttt{S} columns}
+% The \texttt{S} column is design for handling numbers which will
+% contain a decimal symbol. The current code deals unreliably with
+% numbers which consist only of an exponent part. This is on the
+% list for version 2 of \pkg{siunitx}: the current code makes this issue
+% difficult to fix without major changes.
%
%\iffalse
%<*bug>
@@ -3451,7 +3458,7 @@ author.
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{siunitx}
- [2009/04/01 v1.2i A comprehensive (SI) units package]
+ [2009/04/16 v1.2j A comprehensive (SI) units package]
% \end{macrocode}
% The package requires \eTeX, so the usual test is made.
% \begin{macrocode}
@@ -6333,7 +6340,7 @@ author.
% Processing now divides, as when used with the |S| column some extra
% steps are needed. Inside a table, the macro \cs{si@tab@out} holds
% the part of the mantissa before the decimal sign. The post-decimal
-% part then ends up in \cs{i@num@out}. On the other hand, under
+% part then ends up in \cs{si@num@out}. On the other hand, under
% normal circumstances the entire mantissa should be copied to
% \cs{si@num@out}.
% \begin{macrocode}
@@ -10952,7 +10959,7 @@ author.
% powers.
% \begin{macrocode}
\ProvidesFile{si-prefix.cfg}
- [2009/04/01 v1.2i siunitx: SI Multiple prefixes]
+ [2009/04/16 v1.2j siunitx: SI Multiple prefixes]
\newprefix{\yocto}{-24}{y}
\newprefix{\zepto}{-21}{z}
\newprefix{\atto}{-18}{a}
@@ -11056,7 +11063,7 @@ author.
% is an awkward one, but here the UK standard is used.
% \begin{macrocode}
\ProvidesFile{si-named.cfg}
- [2009/04/01 v1.2i siunitx: SI Named units]
+ [2009/04/16 v1.2j siunitx: SI Named units]
\newunit{\becquerel}{Bq}
\newunit{\coulomb}{C}
\newunit{\farad}{F}
@@ -11152,7 +11159,7 @@ author.
% This requires \file{si-prefix.cfg} and \file{si-named.cfg}.
% \begin{macrocode}
\ProvidesFile{si-prefixed.cfg}
- [2009/04/01 v1.2i siunitx: SI Prefixed units]
+ [2009/04/16 v1.2j siunitx: SI Prefixed units]
\requiresiconfigs{prefix,named,accepted,physical}
% \end{macrocode}
%\begin{macro}{\picometre}
@@ -11450,7 +11457,7 @@ author.
% block for the appropriate option. First currents.
% \begin{macrocode}
\ProvidesFile{si-abbr.cfg}
- [2009/04/01 v1.2i siunitx: Abbreviated units]
+ [2009/04/16 v1.2j siunitx: Abbreviated units]
\requiresiconfigs{prefix,named,accepted,physical}
\newunit{\pA}{\pico\ampere}
\newunit{\nA}{\nano\ampere}
@@ -11673,7 +11680,7 @@ author.
% These are defined here, although some are in very general use.
% \begin{macrocode}
\ProvidesFile{si-addn.cfg}
- [2009/04/01 v1.2i siunitx: SI Additional units]
+ [2009/04/16 v1.2j siunitx: SI Additional units]
\newunit{\angstrom}{\si@sym@ringA}
\newunit{\are}{a}
\newunit{\hectare}{\hecto\are}
@@ -11722,7 +11729,7 @@ author.
%\begin{macro}{\bel}
% \begin{macrocode}
\ProvidesFile{si-accepted.cfg}
- [2009/04/01 v1.2i siunitx: SI Accepted units]
+ [2009/04/16 v1.2j siunitx: SI Accepted units]
\newunit{\minute}{min}
\newunit{\hour}{h}
\newunit{\Day}{d}
@@ -11780,7 +11787,7 @@ author.
% for a negative kern does make things a bit complicated.
% \begin{macrocode}
\ProvidesFile{si-physical.cfg}
- [2009/04/01 v1.2i siunitx: SI Physically-measured units]
+ [2009/04/16 v1.2j siunitx: SI Physically-measured units]
\newcommand*{\si@eVspacea}{\text{\kern-\si@eVcorra}}%
\newcommand*{\si@eVspaceb}{\text{\kern-\si@eVcorrb}}%
\newunit{\electronvolt}{e\protect\si@eVspacea V\protect%
@@ -11816,7 +11823,7 @@ author.
% own definitions.
% \begin{macrocode}
\ProvidesFile{si-synchem.cfg}
- [2009/04/01 v1.2i siunitx: Units for synthetic chemists]
+ [2009/04/16 v1.2j siunitx: Units for synthetic chemists]
\requiresiconfigs{prefix}
\newunit{\mmHg}{mmHg}
\newunit{\molar}{\mole\per\cubic\deci\metre}
@@ -11837,7 +11844,7 @@ author.
% Some units inspired by \pkg{hepunits}.
% \begin{macrocode}
\ProvidesFile{si-hep.cfg}
- [2009/04/01 v1.2i siunitx: Units for high-energy physics]
+ [2009/04/16 v1.2j siunitx: Units for high-energy physics]
\requiresiconfigs{prefix,named}
% \end{macrocode}
%\begin{macro}{\micron}
@@ -11919,7 +11926,7 @@ author.
% For astronomy, the \cs{parsec} unit is needed.
% \begin{macrocode}
\ProvidesFile{si-astro.cfg}
- [2009/04/01 v1.2i siunitx: Units for astronomy]
+ [2009/04/16 v1.2j siunitx: Units for astronomy]
\newunit{\parsec}{pc}
\newunit{\lightyear}{ly}
% \end{macrocode}
@@ -11934,7 +11941,7 @@ author.
% The unit \cs{gon} is useful here.
% \begin{macrocode}
\ProvidesFile{si-geophys.cfg}
- [2009/04/01 v1.2i siunitx: Units for astronomy]
+ [2009/04/16 v1.2j siunitx: Units for astronomy]
\newunit{\gon}{gon}
% \end{macrocode}
%\end{macro}
@@ -11949,7 +11956,7 @@ author.
% For astronomy, the \cs{parsec} unit is needed.
% \begin{macrocode}
\ProvidesFile{si-chemeng.cfg}
- [2009/04/01 v1.2i siunitx: Units for chemical engineering]
+ [2009/04/16 v1.2j siunitx: Units for chemical engineering]
\newunit{\gmol}{g\text{-}mol}
\newunit{\kgmol}{kg\text{-}mol}
\newunit{\lbmol}{lb\text{-}mol}
@@ -11974,7 +11981,7 @@ author.
% \SIunits. First, the binary prefixes.
% \begin{macrocode}
\ProvidesFile{si-binary.cfg}
- [2009/04/01 v1.2i siunitx: Binary units]
+ [2009/04/16 v1.2j siunitx: Binary units]
\newprefix[binary]{\kibi}{10}{Ki}
\newprefix[binary]{\mebi}{20}{Mi}
\newprefix[binary]{\gibi}{30}{Gi}
@@ -12017,14 +12024,15 @@ author.
% default values.\footnote{The package author is in the UK.}
% \begin{macrocode}
\ProvidesFile{si-UK.cfg}
- [2009/04/01 v1.2i siunitx: UK locale]
+ [2009/04/16 v1.2j siunitx: UK locale]
\sisetup{
unitsep=thin,
expproduct=times,
valuesep=thin,
decimalsymbol=fullstop,
digitsep=thin,
- sepfour=false}
+ sepfour=false,
+ tophrase=to}
% \end{macrocode}
%\iffalse
%</UK>
@@ -12034,14 +12042,15 @@ author.
% The same as for the UK.
% \begin{macrocode}
\ProvidesFile{si-USA.cfg}
- [2009/04/01 v1.2i siunitx: USA locale]
+ [2009/04/16 v1.2j siunitx: USA locale]
\sisetup{
unitsep=thin,
expproduct=times,
valuesep=thin,
decimalsymbol=fullstop,
digitsep=thin,
- sepfour=false}
+ sepfour=false,
+ tophrase=to}
% \end{macrocode}
%\iffalse
%</USA>
@@ -12051,7 +12060,7 @@ author.
% Germany, hopefully.
% \begin{macrocode}
\ProvidesFile{si-DE.cfg}
- [2009/04/01 v1.2i siunitx: Germany locale]
+ [2009/04/16 v1.2j siunitx: Germany locale]
\sisetup{
unitsep=cdot,
valuesep=thin,
@@ -12059,7 +12068,7 @@ author.
expproduct=cdot,
digitsep=thin,
sepfour=false,
- tophrase={~bis~}}
+ tophrase=bis}
% \end{macrocode}
%\iffalse
%</DE>
@@ -12069,14 +12078,15 @@ author.
% Design decisions taken from the same section of \SIstyle.
% \begin{macrocode}
\ProvidesFile{si-ZA.cfg}
- [2009/04/01 v1.2i siunitx: South Africa locale]
+ [2009/04/16 v1.2j siunitx: South Africa locale]
\sisetup{
unitsep=cdot,
valuesep=thin,
expproduct=times,
decimalsymbol=comma,
digitsep=thin,
- sepfour=false}
+ sepfour=false,
+ tophrase=to}
% \end{macrocode}
%\iffalse
%</ZA>
@@ -12101,7 +12111,7 @@ author.
% \units for conflicting options, so users probably expect none.
% \begin{macrocode}
\ProvidesFile{si-units.cfg}
- [2009/04/01 v1.2i siunitx: Emulation of units]
+ [2009/04/16 v1.2j siunitx: Emulation of units]
\si@emulating{units}{1998/08/04 v0.9b}
\si@ifloaded{SIunits}
{\si@emclash{units}{SIunits}\endinput}{}
@@ -12171,7 +12181,7 @@ author.
% clash.
% \begin{macrocode}
\ProvidesFile{si-unitsdef.cfg}
- [2009/04/01 v1.2i siunitx:
+ [2009/04/16 v1.2j siunitx:
Emulation of unitsdef]
\si@emulating{unitsdef}{2005/01/04 v0.2}
\si@ifloaded{SIunits}
@@ -12620,7 +12630,7 @@ author.
% the macros in \SIstyle as given in the manual for that package.
% \begin{macrocode}
\ProvidesFile{si-sistyle.cfg}
- [2009/04/01 v1.2i siunitx: Emulation of
+ [2009/04/16 v1.2j siunitx: Emulation of
SIstyle]
\si@emulating{sistyle}{2006/12/20 v2.3}
\sisetup{%
@@ -12804,7 +12814,7 @@ author.
% \SIunits emulation starts in much the same way.
% \begin{macrocode}
\ProvidesFile{si-SIunits.cfg}
- [2009/04/01 v1.2i siunitx: Emulation of
+ [2009/04/16 v1.2j siunitx: Emulation of
SIunits]
\si@emulating{SIunits}{2007/12/02 v1.36}
\sisetup{
@@ -13367,7 +13377,7 @@ author.
% which are not really to be encouraged.
% \begin{macrocode}
\ProvidesFile{si-hepunits.cfg}
- [2009/04/01 v1.2i siunitx: Emulation of
+ [2009/04/16 v1.2j siunitx: Emulation of
hepunits]
\si@emulating{hepunits}{2007/09/27}
\requiresiconfigs{SIunits,accepted,prefix,hep}
@@ -13522,7 +13532,7 @@ author.
% a little emulation and a few macros needed.
% \begin{macrocode}
\ProvidesFile{si-fancynum.cfg}
- [2009/04/01 v1.2i siunitx: Emulation of
+ [2009/04/16 v1.2j siunitx: Emulation of
fancynum]
\si@emulating{fancynum}{2000/08/08 0.92}
\sisetup{decimalsymbol=cdot,digitsep=comma}
@@ -13584,7 +13594,7 @@ author.
% test is needed.
% \begin{macrocode}
\ProvidesFile{si-fancyunits.cfg}
- [2009/04/01 v1.2i siunitx: Emulation of
+ [2009/04/16 v1.2j siunitx: Emulation of
fancyunits]
\si@emulating{fancyunits}{2007/02/01 v1.0.1}
\si@ifloaded{SIunits}