Menu
CTAN
Comprehensive TeX Archive Network
Home Upload Browse

Direc­tory tex-archive/macros/latex/contrib/varsfromjobname

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

Files

Name Size Date Notes
README 1309 2009-01-11 08:20:58
varsfromjobname.pdf 36992 2009-01-11 08:21:42
varsfromjobname.sty 2852 2009-01-11 08:14:12
varsfromjobname.tex 1181 2009-10-14 10:34:26

Down­load the con­tents of this pack­age in one zip archive (34.1k).

vars­fromjob­name – Ex­tract vari­ables from the name of the LaTeX file

The pack­age al­lows the user to ex­tract in­for­ma­tion from the job name, pro­vided that the name has been struc­tured ap­pro­pri­ately: the pack­age ex­pects the file name to con­sist of a set of words sep­a­rated by hy­phens.

Doc­u­men­ta­tion
Ver­sion0.5
Li­censeThe LaTeX Project Public Li­cense
Main­tainerUwe Ziegen­hagen
pkg.tds-ar­chovevarsfromjobname.tds.zip
Con­tained inTeXlive as vars­fromjob­name
MikTeX as vars­fromjob­name
Topics sup­port for keep­ing track of doc­u­ment de­vel­op­ment
Guest Book Sitemap Contact 2014-04-24 04:15 CEST