summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-11-29 21:43:15 +0000
committerKarl Berry <karl@freefriends.org>2020-11-29 21:43:15 +0000
commit7ba43cd7687f0c63850391b88945e432d8958a84 (patch)
tree1ecab589a0e96d1702115d8b4c5b8272a5909a7a /Master/texmf-dist/tex
parent374930a15c704ed02fc00a4bc439c2af3dce9af8 (diff)
datax (29nov20)
git-svn-id: svn://tug.org/texlive/trunk@57033 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/datax/datax.sty36
1 files changed, 15 insertions, 21 deletions
diff --git a/Master/texmf-dist/tex/latex/datax/datax.sty b/Master/texmf-dist/tex/latex/datax/datax.sty
index 187b70f3269..6c0054e96c8 100644
--- a/Master/texmf-dist/tex/latex/datax/datax.sty
+++ b/Master/texmf-dist/tex/latex/datax/datax.sty
@@ -21,37 +21,31 @@
%%
\NeedsTeXFormat{LaTeX2e}[2020/02/02]
\ProvidesPackage{datax}
- [2020/11/17 v1.1 data import into LaTeX]
+ [2020/11/29 v1.1.1 data import into LaTeX]
\RequirePackage{pgfkeys}
\RequirePackage{pgfopts}
-\pgfkeys{ %
-/packageoptions/dataxfile/.initial=data.tex, %
-}
+
+\pgfkeys{ /packageoptions/dataxfile/.initial=data.tex, }
\ProcessPgfPackageOptions{/packageoptions}
-\pgfkeys{ %
-/datax/.is family, datax, %
-.unknown/.code={ %
-\pgfkeyssetvalue{ %
-\pgfkeyscurrentpath/\pgfkeyscurrentname %
-}{ %
-#1 %
-} %
-}, %
+\pgfkeys{ /datax/.is family, datax, %
+ .unknown/.code={ \pgfkeyssetvalue{ %
+ \pgfkeyscurrentpath/\pgfkeyscurrentname %
+ }{ #1 } },
}
\def\dataxfile{./\pgfkeysvalueof{/packageoptions/dataxfile}}
\InputIfFileExists{%
-\dataxfile
-}{}{
-\PackageWarning{datax}{Cannot read file `\dataxfile'}
+ \dataxfile
+ }{}{
+ \PackageWarning{datax}{Cannot read file `\dataxfile'}
}
\newcommand{\datax}[1]{
-\pgfkeysifdefined{/datax/#1}{ %
-\pgfkeysvalueof{/datax/#1} %
-}{ %
-\PackageWarning{datax}{Data value `#1' undefined}\textbf{??} %
-} %
+ \pgfkeysifdefined{/datax/#1}{ %
+ \pgfkeysvalueof{/datax/#1} %
+ }{ %
+ \PackageWarning{datax}{Data value `#1' undefined}\textbf{??} %
+ } %
}
\endinput
%%