summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/siunitx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-08-02 23:14:01 +0000
committerKarl Berry <karl@freefriends.org>2008-08-02 23:14:01 +0000
commit4663f9ddbd82f5705ca76b395ef64e97eed16b14 (patch)
treebee0855f6d44a4f7f0e9c9543ae06c07b3405aef /Master/texmf-dist/tex/latex/siunitx
parent0e6b09416ade3c53b6f6d8d772b4bd180f6cf5b0 (diff)
siunitx 1.0h (2aug08)
git-svn-id: svn://tug.org/texlive/trunk@10019 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/siunitx')
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/siunitx.sty36
1 files changed, 11 insertions, 25 deletions
diff --git a/Master/texmf-dist/tex/latex/siunitx/siunitx.sty b/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
index 32ed37f6ef9..1f78de19621 100644
--- a/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
+++ b/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
@@ -14,11 +14,11 @@
%% ----------------------------------------------------------------
%%
\NeedsTeXFormat{LaTeX2e}
-\newcommand*{\si@svn@ver}{v1.0g}
+\newcommand*{\si@svn@ver}{v1.0h}
\def\si@svn@id$#1: #2.#3 #4 #5-#6-#7 #8 #9${%
\newcommand*{\si@svn@version}{%
#5/#6/#7\space\si@svn@ver\space}}
-\si@svn@id $Id: siunitx.dtx 113 2008-07-19 05:41:59Z joseph $
+\si@svn@id $Id: siunitx.dtx 118 2008-08-02 06:10:09Z joseph $
\ProvidesPackage{siunitx}
[\si@svn@version A comprehensive (SI) units package]
\begingroup
@@ -599,14 +599,6 @@
{The argument `#1' contains no valid entry for
a mantissa\MessageBreak It should be of the
form `m.n', where m and n are integers}%
- \else
- \si@log@warn{Argument of tabformat contains\MessageBreak
- no decimal part}%
- \fi
- \else
- \ifnum\si@tab@mantprecnt=\z@\relax
- \si@log@warn{Argument of tabformat contains\MessageBreak
- no integer part}%
\fi
\fi
\ifsi@tab@fixed\else
@@ -3398,24 +3390,18 @@
\si@fileprefix#1.\si@extension}
{The configuration file requested could not be
found}}}}
-\newif\ifsi@outerinput\si@outerinputtrue
+\newcommand{\si@inputifexists}[3]{%
+ \IfFileExists{#1}%
+ {#2\@addtofilelist{#1}\@@input \@filef@und}
+ {#3}%
+ \makeatother
+ \normalsize}
\let\si@InputIfFileExists\InputIfFileExists
\AtBeginDocument{
\renewcommand*{\si@InputIfFileExists}{%
- \ifsi@outerinput
- \expandafter\si@outerinput
- \else
- \expandafter\InputIfFileExists
- \fi}}
-\newcommand*{\si@outerinput}[3]{%
- \makeatletter
- \nullfont
- \si@outerinputfalse
- \IfFileExists{#1}%
- {#2\@addtofilelist{#1}\@@input \@filef@und\normalsize}
- {#3}%
- \normalsize
- \makeatother}
+ \makeatletter
+ \nullfont
+ \si@inputifexists}}
\newcommand*{\requiresiconfigs}[1]{%
\@for\si@tempb:=#1\do{\si@loadfile{\si@tempb}}}
\newcommand*{\si@loademfile}[1]{%