summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/datatool/datatool-base.sty
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2012-10-08 09:18:20 +0000
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2012-10-08 09:18:20 +0000
commit8e498d680934e32b062c538a8359521fa428b6a4 (patch)
tree68d1e81fbdea28acfb62a58d78eca2417fc195bc /Master/texmf-dist/tex/latex/datatool/datatool-base.sty
parent3f3d6cf80f3b3bc90544f0c51f4d4aa8bfb410ad (diff)
datatool update
git-svn-id: svn://tug.org/texlive/trunk@27917 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/datatool/datatool-base.sty')
-rw-r--r--Master/texmf-dist/tex/latex/datatool/datatool-base.sty10
1 files changed, 6 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/datatool/datatool-base.sty b/Master/texmf-dist/tex/latex/datatool/datatool-base.sty
index 005b6acd55a..097ed15e5f1 100644
--- a/Master/texmf-dist/tex/latex/datatool/datatool-base.sty
+++ b/Master/texmf-dist/tex/latex/datatool/datatool-base.sty
@@ -39,7 +39,7 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{datatool-base}[2012/09/25 v2.11 (NLCT)]
+\ProvidesPackage{datatool-base}[2012/10/06 v2.12 (NLCT)]
\RequirePackage{etoolbox}
\RequirePackage{amsmath}
\RequirePackage{xkeyval}
@@ -254,12 +254,14 @@
\noexpand\def\noexpand\@dtl@getintfrac##1#1##2\noexpand\relax{%
\noexpand\@dtl@get@intpart{##1}%
\noexpand\def\noexpand\@dtl@fracpart{##2}%
- \noexpand\ifx\noexpand\@empty\noexpand\@dtl@fracpart
+ \noexpand\ifdefempty{\noexpand\@dtl@fracpart}
+ {%
\noexpand\def\noexpand\@dtl@fracpart{0}%
- \noexpand\else
+ }%
+ {%
\noexpand\@dtl@getfracpart##2\noexpand\relax
\noexpand\@dtl@choptrailingzeroes{\noexpand\@dtl@fracpart}%
- \noexpand\fi
+ }%
}%
\noexpand\def\noexpand\@dtl@getfracpart##1#1\noexpand\relax{%
\noexpand\def\noexpand\@dtl@fracpart{##1}%