[tex-live] pdflatex help

Manukyan, Gegham (3350-Affiliate) gmanukya at jpl.nasa.gov
Tue Oct 26 03:46:04 CEST 2010


Hi,

we have the following issue with pdflatex (pdfetex).

We have the standard rpm package of tetex-3.0-33.8.el5_5.5 installed on our Red Hat EL5_64 systems. Here are the details:

(exporting $TTG  variable)

bash$ export TTG=/home/user

(then we run)

bash$ pdflatex file.tex

(here is what we get)

... some output

pdftex: define anchor at line 34: Doc-Start

! LaTeX Error: File `$TTG/doc/io.tex' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: tex)

The file /home/user/doc/io.tex does exist.

In the file.tex we have a section which is calling the io.tex file. Here it is:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% LATEX CODE

\begin{document}

% Note: pdflatex expands environment variables automatically, but doxygen does
% not.
\input{$TTG/doc/io.tex}


\end{document}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

In other words pdfetex does not interpret $TTG env. variable which was exported previously.

Do you know what can we do in this case other than hard coding the absolute path of the io.tex file in the file.tex ?


We have some Red Hat WS4_64 systems which have tetex-2.0.2-22.0.1.EL4.16 rpm package installed. The same problem does not happen on those systems. Pdflatex interprets the $TTG variable and the file runs through giving the output.

Thank You!

Jerry Manukyan




More information about the tex-live mailing list