[texhax] Help with pdflatex

Lars Madsen daleif at imf.au.dk
Thu Oct 28 15:45:07 CEST 2010


On 2010-10-27 22:35, Manukyan, Gegham (3350-Affiliate) wrote:
> 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

you will have to add the package to the search path (global or locally)

/daleif


More information about the texhax mailing list