CTAN has a new package: varsfromjobname

CTAN Announcements ctan-ann at dante.de
Tue Apr 15 14:53:27 CEST 2008


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 .



More information about the Ctan-ann mailing list