blob: 2077fd693f1bdf2a8b7996467ba57a8504778d4c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
README
---------
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.
d) Adressing a token which is not available gives an error, so make sure to request
only those tokens which are actually available.
If you find this package useful, please give me feedback: <http://www.uweziegenhagen.de>
Uwe Ziegenhagen, 2008-04-14
|