CTAN has a new package: varsfromjobname
Date: April 15, 2008 8:53:27 AM CEST
The package below has been installed on tug.ctan.org and should soon be
at your favorite mirror.
Thanks again,
Jim Hefferon
Saint Michael's College
..........................................................................
The following information was provided by our fellow contributor:
Name of contribution: varsfromjobname
Author's name: Uwe Ziegenhagen
Location on CTAN: /macros/latex/contrib/varsfromjobname
Summary description: extracts tokens from jobname
License type: lppl
Announcement text:
varsfromjobname.sty 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: \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.
This package is located at http://tug.ctan.org/tex-archive/macros/latex/contrib/varsfromjobname . More information is at http://tug.ctan.org/pkg/varsfromjobname (if the package is new it may take a day for that information to appear). We are supported by the TeX Users Group http://www.tug.org . Please join a users group; see http://www.tug.org/usergroups.html .
varsfromjobname.sty 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: \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.
This package is located at http://tug.ctan.org/tex-archive/macros/latex/contrib/varsfromjobname . More information is at http://tug.ctan.org/pkg/varsfromjobname (if the package is new it may take a day for that information to appear). We are supported by the TeX Users Group http://www.tug.org . Please join a users group; see http://www.tug.org/usergroups.html .
varsfromjobname – Extract variables from the name of the LaTeX file
The package allows the user to extract information from the job name, provided that the name has been structured appropriately: the package expects the file name to consist of a set of words separated by hyphens.
Package | varsfromjobname |
Version | 1.0 |
Maintainer | Uwe Ziegenhagen |