diff options
author | Karl Berry <karl@freefriends.org> | 2015-10-08 20:40:55 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-10-08 20:40:55 +0000 |
commit | 46161b428da1154ea784a48b9db0e5fb962a235c (patch) | |
tree | fbe8cefafe3eae08dc5f5d90e39388e829e86a54 /Master/texmf-dist/tex/latex/dynamicnumber | |
parent | 2e95fbc2467541c9c44c6d25c9d3b5fe4d0f5538 (diff) |
dynamicnumber (8oct15)
git-svn-id: svn://tug.org/texlive/trunk@38590 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/dynamicnumber')
-rw-r--r-- | Master/texmf-dist/tex/latex/dynamicnumber/dynamicnumber.sty | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/dynamicnumber/dynamicnumber.sty b/Master/texmf-dist/tex/latex/dynamicnumber/dynamicnumber.sty index aa774d939fc..dd16e05ea37 100644 --- a/Master/texmf-dist/tex/latex/dynamicnumber/dynamicnumber.sty +++ b/Master/texmf-dist/tex/latex/dynamicnumber/dynamicnumber.sty @@ -18,10 +18,11 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{dynamicnumber} - [2015/10/04 v0.1 Dynamic Number package] + [2015/10/04 v0.1.1 Dynamic Number package] %% \DescribeMacro{\dncurrent} \RequirePackage{pgfkeys} \RequirePackage{xparse} +\newread\dninstream \ExplSyntaxOn \DeclareExpandableDocumentCommand{\@IfNoValueOrEmptyTF}{mmm} { @@ -49,13 +50,12 @@ } \DeclareDocumentCommand{\dnload}{m}{% \IfFileExists{#1.dnlist}{% - \newread\ccinstream - \immediate\openin\ccinstream=#1.dnlist - \@whilesw\unless\ifeof\ccinstream\fi{% - \immediate\read\ccinstream to \@auxcommand + \immediate\openin\dninstream=#1.dnlist + \@whilesw\unless\ifeof\dninstream\fi{% + \immediate\read\dninstream to \@auxcommand \@auxcommand }% - \immediate\closein\ccinstream% + \immediate\closein\dninstream% \dnsetcurrent{#1}% }{}% } |