[OS X TeX] bibtex <filename>.rsp
Peter Dyballa
Peter_Dyballa at Web.DE
Sat Mar 25 07:57:11 EST 2006
Am 24.03.2006 um 21:22 schrieb Rechtsanwalt Friedrich Vosberg:
> \typein[\modus]{Which Version (0, 1, 2 or 3 only)?}
> \ifcase\modus\or
There seem to be two options. The first one works in a shell
environment by re-directing stdin, and gladly TeX reads from stdin in
the above example:
tex [some options, arguments, etc] <<koniec
0
koniec
(Here it's actually a 'here document' that contains the number, but
of course you could provide files 0, 1, 2, 3 with exactly the
contents the name promises, then it would be 'tex [some options,
arguments, etc] < «the path to/»0.')
The second option is to define \modus on the command line like:
<some tex> '\def\modus{0}\input' $1
Then, of course, you'd need to remove the \typein line and, since TeX
is a bit inflexible, you, too, need to pass the file's name via the
\input mechanism as shown. Actually I am a bit unsure whether this
line works ... it's according some examples given in this list or the
way TeX4ht works.
--
Mit friedvollen Grüßen
Pete
Üblicherweise begehen Menschen beim Entwerfen vollkommen
narrensicherer Dinge gerne den Fehler, das Genie des Volltrottels zu
unterschätzen.
------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
More information about the MacOSX-TeX
mailing list