summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2008-05-14 13:44:43 +0000
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2008-05-14 13:44:43 +0000
commit1126b0b2fc4f6c72769f048ebe0f42dde3fcb38d (patch)
tree5c06f5a41812cb4f78c562732e123960e753bae2
parent08f3b2dad37e6f0acf8b8090c3e2207acb0b940f (diff)
varsfromjobname v0.4 (2008/05/12)
git-svn-id: svn://tug.org/texlive/trunk@8135 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/varsfromjobname/README14
-rw-r--r--Master/texmf-dist/doc/latex/varsfromjobname/varsfromjobname.pdfbin29271 -> 33585 bytes
-rw-r--r--Master/texmf-dist/doc/latex/varsfromjobname/varsfromjobname.tex3
-rw-r--r--Master/texmf-dist/tex/latex/varsfromjobname/varsfromjobname.sty21
-rwxr-xr-xMaster/tlpkg/bin/ctan2tds1
5 files changed, 25 insertions, 14 deletions
diff --git a/Master/texmf-dist/doc/latex/varsfromjobname/README b/Master/texmf-dist/doc/latex/varsfromjobname/README
index 2077fd693f1..f496249dc01 100644
--- a/Master/texmf-dist/doc/latex/varsfromjobname/README
+++ b/Master/texmf-dist/doc/latex/varsfromjobname/README
@@ -1,10 +1,12 @@
README
---------
-varsfromjobname.sty extracts variables from the name of the LaTeX file.
+varsfromjobname.sty is based on code by supplied by Friedrich Vosberg and Markus Kohm, help from Rolf Niepraschk, Sven Naumann, Ulrich Schwarz
+and Andreas Mathias was greatly appreciated. The package extracts variables from the name of the LaTeX file.
-If the name of the file consists of tokens separated by hyphen, the
-package offers the following commands:
+If the name of the file consists of tokens separated by hyphen, the package offers the following commands:
+
+\getfromjobname{<param>} with <param> in the range of 1 to 9, which calls one of the following commands then, also available:
\getonefromjobname
\gettwofromjobname
@@ -26,8 +28,8 @@ b) Load the package by putting \usepackage{varsfromjobname} in the preamble of
c) Use the commands given above to address the specific parts of the filename.
d) Adressing a token which is not available gives an error, so make sure to request
- only those tokens which are actually available.
+ only those tokens that are actually available.
-If you find this package useful, please give me feedback: <http://www.uweziegenhagen.de>
+If you find this package useful, feel free to give me feedback: <http://www.uweziegenhagen.de>
-Uwe Ziegenhagen, 2008-04-14 \ No newline at end of file
+Uwe Ziegenhagen, 2008-05-12 \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/varsfromjobname/varsfromjobname.pdf b/Master/texmf-dist/doc/latex/varsfromjobname/varsfromjobname.pdf
index 3c6e4297795..3c61a551ec8 100644
--- a/Master/texmf-dist/doc/latex/varsfromjobname/varsfromjobname.pdf
+++ b/Master/texmf-dist/doc/latex/varsfromjobname/varsfromjobname.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/varsfromjobname/varsfromjobname.tex b/Master/texmf-dist/doc/latex/varsfromjobname/varsfromjobname.tex
index e6031ad7ee5..0d21439e048 100644
--- a/Master/texmf-dist/doc/latex/varsfromjobname/varsfromjobname.tex
+++ b/Master/texmf-dist/doc/latex/varsfromjobname/varsfromjobname.tex
@@ -4,7 +4,7 @@
\usepackage{varsfromjobname}
-\date{April 14th 2008}
+\date{May 12th 2008}
\author{Uwe Ziegenhagen}
\title{Jobdate Description}
@@ -18,6 +18,7 @@
\noindent and offers the following commands:
\begin{itemize}
+ \item \verb|\|getfromjobname\{\textit{param}\}, with \textit{param} in the range of 1 to 9 (highlevel interface to the following commands)
\item \verb|\|getonefromjobname
\item \verb|\|gettwofromjobname
\item \verb|\|getthreefromjobname
diff --git a/Master/texmf-dist/tex/latex/varsfromjobname/varsfromjobname.sty b/Master/texmf-dist/tex/latex/varsfromjobname/varsfromjobname.sty
index a6694674b0a..c2e731f5151 100644
--- a/Master/texmf-dist/tex/latex/varsfromjobname/varsfromjobname.sty
+++ b/Master/texmf-dist/tex/latex/varsfromjobname/varsfromjobname.sty
@@ -1,12 +1,9 @@
-%% LaTeX2e file `varsfromjobname.sty'
-%% generated by the `filecontents' environment
-%% from source `one-two-three-four-five-six-seven' on 2008/04/10.
-%%
%begin of varsfromjobname.sty
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{varsfromjobname}[2008/04/14 v. 0.3 extracts tokens from jobname (UZ)]
+\ProvidesPackage{varsfromjobname}[2008/05/12 v. 0.4 extracts tokens from jobname (UZ)]
+\RequirePackage{ifthen}
-%Author: Uwe Ziegenhagen
+% Author: Uwe Ziegenhagen
% based on code supplied by Friedrich Vosberg and Markus Kohm
% help by Rolf Niepraschk and Sven Naumann, Ulrich Schwarz
% and Andreas Mathias was greatly appreciated
@@ -99,5 +96,17 @@
#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}{}
+}
+
\makeatother
% end of jobdate.sty
diff --git a/Master/tlpkg/bin/ctan2tds b/Master/tlpkg/bin/ctan2tds
index 4c667b3dab5..30521bab42b 100755
--- a/Master/tlpkg/bin/ctan2tds
+++ b/Master/tlpkg/bin/ctan2tds
@@ -585,7 +585,6 @@ $standarddest = "texmf-dist";
'thumbpdf', 'generic',
'trajan', 'fonts',
'variations', 'generic',
- 'varsfromjobname', "die 'skipping, erroneous tds.zip (forwarded 2008/05/13)'",
'velthuis', 'fonts',
'wasy2', 'fonts',
'xltxtra', 'xelatex',