[texhax] Help with pdflatex

Reinhard Kotucha reinhard.kotucha at web.de
Sat Oct 30 01:58:58 CEST 2010

On 29 October 2010 Martin Schröder wrote:

 > 2010/10/27 Manukyan, Gegham (3350-Affiliate) <gmanukya at jpl.nasa.gov>:
 > > % Note: pdflatex expands environment variables automatically, but
 > > % doxygen does
 > O'rly? Which pdflatex is that, please?

It's not pdftex which expands env vars.  Works with Knuth's TeX too.

$ echo hello > ~/foo.tex

$ tex '\input $HOME/foo.tex \bye'
This is TeX, Version 3.1415926 (TeX Live 2010)
(/home/reinhard/foo.tex) [1]
Output written on foo.dvi (1 page, 212 bytes).
Transcript written on foo.log.

I suppose that kpathsea expands env vars.  Please note that I even
didn't have to change \catcode`\$ .


Reinhard Kotucha			              Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover	                      mailto:reinhard.kotucha at web.de
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.

More information about the texhax mailing list