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 | |
parent | 52737b779c48a986c8fc6192c87705ddff351aac (diff) |
varsfromjobname 0.4 (12jan09)
git-svn-id: svn://tug.org/texlive/trunk@11858 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/latex/varsfromjobname/README | 75 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/varsfromjobname/varsfromjobname.pdf | bin | 33585 -> 36992 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/varsfromjobname/varsfromjobname.tex | 5 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/varsfromjobname/varsfromjobname.sty | 22 | ||||
-rwxr-xr-x | Master/tlpkg/bin/tlpkg-ctan-check | 2 |
5 files changed, 55 insertions, 49 deletions
diff --git a/Master/texmf-dist/doc/latex/varsfromjobname/README b/Master/texmf-dist/doc/latex/varsfromjobname/README index f496249dc01..5352e8a6622 100644 --- a/Master/texmf-dist/doc/latex/varsfromjobname/README +++ b/Master/texmf-dist/doc/latex/varsfromjobname/README @@ -1,35 +1,40 @@ -README ---------- - -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: - -\getfromjobname{<param>} with <param> in the range of 1 to 9, which calls one of the following commands then, also available: - -\getonefromjobname -\gettwofromjobname -\getthreefromjobname -\getfourfromjobname -\getfivefromjobname -\getsixfromjobname -\getsevenfromjobname -\geteightfromjobname -\getninefromjobname - -Usage: - -a) Save your LaTeX-file under a name such as 2008-04-14-ziegenhagen.tex - -b) Load the package by putting \usepackage{varsfromjobname} in the preamble of - your document - -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 that are actually available. - -If you find this package useful, feel free to give me feedback: <http://www.uweziegenhagen.de> - -Uwe Ziegenhagen, 2008-05-12
\ No newline at end of file +README
+---------
+
+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:
+
+\getfromjobname{<param>} with <param> in the range of 1 to 9, which calls one of the following commands then, also available:
+
+\getonefromjobname
+\gettwofromjobname
+\getthreefromjobname
+\getfourfromjobname
+\getfivefromjobname
+\getsixfromjobname
+\getsevenfromjobname
+\geteightfromjobname
+\getninefromjobname
+
+Usage:
+
+a) Save your LaTeX-file under a name such as 2008-04-14-ziegenhagen.tex
+
+b) Load the package by putting \usepackage{varsfromjobname} in the preamble of
+ your document
+
+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 that are actually available.
+
+If you find this package useful, feel free to give me feedback: <http://www.uweziegenhagen.de>
+
+Version History:
+
+v0.5: Fixed a bug by inserting % at the right place. Thanks, Rolf.
+
+
+Uwe Ziegenhagen, 2009-01-11
\ 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 Binary files differindex 3c61a551ec8..ade1eee0bda 100644 --- a/Master/texmf-dist/doc/latex/varsfromjobname/varsfromjobname.pdf +++ b/Master/texmf-dist/doc/latex/varsfromjobname/varsfromjobname.pdf diff --git a/Master/texmf-dist/doc/latex/varsfromjobname/varsfromjobname.tex b/Master/texmf-dist/doc/latex/varsfromjobname/varsfromjobname.tex index 0d21439e048..f3a4028b63c 100644 --- a/Master/texmf-dist/doc/latex/varsfromjobname/varsfromjobname.tex +++ b/Master/texmf-dist/doc/latex/varsfromjobname/varsfromjobname.tex @@ -4,9 +4,9 @@ \usepackage{varsfromjobname} -\date{May 12th 2008} +\date{January 11th 2009} \author{Uwe Ziegenhagen} -\title{Jobdate Description} +\title{\texttt{varsfromjobname} Description} \begin{document} \maketitle @@ -30,4 +30,5 @@ \item \verb|\|getninefromjobname \end{itemize} + \end{document} 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 diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check index 44dad6c0094..ff6665e72f3 100755 --- a/Master/tlpkg/bin/tlpkg-ctan-check +++ b/Master/tlpkg/bin/tlpkg-ctan-check @@ -93,7 +93,7 @@ my @WorkingTLP = qw( extpfeil extract extsizes faktor fancybox fancyhdr fancynum fancyref fancytooltips fancyvrb FAQ-en fbs featpost - feyn feynmf fge filecontents fink fixme + feyn feynmf fge filecontents fink fixme fixpdfmag flagderiv flippdf float floatrow flowfram fltpoint fmtcount fn2end fnbreak fncychap foekfont fontch fontinst fontspec fonttable fontwrap |