TEXINPUTS.latex ... TEXINPUTS.xelatex ... PDFVIEWER.texdoc For the record, the environment variables are named with an underscore, not a period. TEXINPUTS_latex, etc. karl