[pdftex] pdftex cant find article.cls
Heiko Oberdiek
heiko.oberdiek at googlemail.com
Mon Mar 14 15:27:03 CET 2011
On Sat, Mar 12, 2011 at 10:20:35PM -0500, sahil seth wrote:
> I am able to use texshop and create pdf files out of tex/latex code. But if I use the same file on the terminal it says:
> machine-1:~ sahilseth$ pdflatex ./paper1.tex
^^^^^^^^^^^^
> This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010)
> restricted \write18 enabled.
> entering extended mode
> ! I can't find file `./paper1.tex'.
^^^^^^^^^^^^
Your main TeX file "./paper1.tex" is not found.
Probably your texshop uses a different directory than
the user's home directory for the TeX files.
Try to find "paper1.tex", e.g.:
$ find ~ -name paper1.tex
Switch to the directory that contains "paper1.tex" and try again:
<found directory>$ pdflatex paper1.tex
Yours sincerely
Heiko Oberdiek
--
More information about the pdftex
mailing list