diff options
author | Karl Berry <karl@freefriends.org> | 2009-01-14 00:13:34 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-01-14 00:13:34 +0000 |
commit | 8d86fd37cd58466c1da9f724f579b64db18b2158 (patch) | |
tree | 3284475cf1aa269c4734f7b632a64797bc5ce1d9 /Master/texmf-dist/tex/latex/varsfromjobname | |
parent | 52737b779c48a986c8fc6192c87705ddff351aac (diff) |
varsfromjobname 0.4 (12jan09)
git-svn-id: svn://tug.org/texlive/trunk@11858 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/varsfromjobname')
-rw-r--r-- | Master/texmf-dist/tex/latex/varsfromjobname/varsfromjobname.sty | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/latex/varsfromjobname/varsfromjobname.sty b/Master/texmf-dist/tex/latex/varsfromjobname/varsfromjobname.sty index c2e731f5151..bb65d9ef998 100644 --- a/Master/texmf-dist/tex/latex/varsfromjobname/varsfromjobname.sty +++ b/Master/texmf-dist/tex/latex/varsfromjobname/varsfromjobname.sty @@ -1,6 +1,6 @@ %begin of varsfromjobname.sty \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{varsfromjobname}[2008/05/12 v. 0.4 extracts tokens from jobname (UZ)] +\ProvidesPackage{varsfromjobname}[2009/01/11 v. 0.5 extracts tokens from jobname (UZ)] \RequirePackage{ifthen} % Author: Uwe Ziegenhagen @@ -96,16 +96,16 @@ #9% } -\newcommand{\getfromjobname}[1]{ -\ifthenelse{\equal{#1}{1}}{\getonefromjobname}{} -\ifthenelse{\equal{#1}{2}}{\gettwofromjobname}{} -\ifthenelse{\equal{#1}{3}}{\getthreefromjobname}{} -\ifthenelse{\equal{#1}{4}}{\getfourfromjobname}{} -\ifthenelse{\equal{#1}{5}}{\getfivefromjobname}{} -\ifthenelse{\equal{#1}{6}}{\getsixfromjobname}{} -\ifthenelse{\equal{#1}{7}}{\getsevenfromjobname}{} -\ifthenelse{\equal{#1}{8}}{\geteightfromjobname}{} -\ifthenelse{\equal{#1}{9}}{\getninefromjobname}{} +\newcommand{\getfromjobname}[1]{% +\ifthenelse{\equal{#1}{1}}{\getonefromjobname}{}% +\ifthenelse{\equal{#1}{2}}{\gettwofromjobname}{}% +\ifthenelse{\equal{#1}{3}}{\getthreefromjobname}{}% +\ifthenelse{\equal{#1}{4}}{\getfourfromjobname}{}% +\ifthenelse{\equal{#1}{5}}{\getfivefromjobname}{}% +\ifthenelse{\equal{#1}{6}}{\getsixfromjobname}{}% +\ifthenelse{\equal{#1}{7}}{\getsevenfromjobname}{}% +\ifthenelse{\equal{#1}{8}}{\geteightfromjobname}{}% +\ifthenelse{\equal{#1}{9}}{\getninefromjobname}{}% } \makeatother |