usetex=True and savefig(eps-file)

Matthias Michler <MatthiasMichler@...361...> writes:

./root/article.cls.tex: Permission denied
./root/article.cls: Permission denied
./lost+found/article.cls.tex: Permission denied
./lost+found/article.cls: Permission denied
./root/article.cls.tex: Permission denied
./root/article.cls: Permission denied
./lost+found/article.cls.tex: Permission denied
./lost+found/article.cls: Permission denied

That looks like a TeX configuration problem. I'm guessing that when TeX
encounters \documentclass{article}, it asks the path-searching library
for "article.cls", and for some reason /root and /lost+found are
included in the path. You don't have permission as normal user to access
these directories, so the library causes error messages to be printed.
The path probably also includes the correct directories, so the search
eventually succeeds, but then article.cls wants to input size10.clo,
causing a new round of errors:

./root/size10.clo.tex: Permission denied
./root/size10.clo: Permission denied

(etc)

Have you set any TeX-related environment variables or edited any
configuration files? What does "kpsepath tex" print?

···

--
Jouni K. Seppänen
http://www.iki.fi/jks

Hi Jouni,

Thanks for your explaination.

Matthias Michler <MatthiasMichler@...361...> writes:
> ./root/article.cls.tex: Permission denied
> ./root/article.cls: Permission denied
> ./lost+found/article.cls.tex: Permission denied
> ./lost+found/article.cls: Permission denied
> ./root/article.cls.tex: Permission denied
> ./root/article.cls: Permission denied
> ./lost+found/article.cls.tex: Permission denied
> ./lost+found/article.cls: Permission denied

That looks like a TeX configuration problem. I'm guessing that when TeX
encounters \documentclass{article}, it asks the path-searching library
for "article.cls", and for some reason /root and /lost+found are
included in the path. You don't have permission as normal user to access
these directories, so the library causes error messages to be printed.
The path probably also includes the correct directories, so the search
eventually succeeds, but then article.cls wants to input size10.clo,

causing a new round of errors:
> ./root/size10.clo.tex: Permission denied
> ./root/size10.clo: Permission denied

(etc)

Do you know why is happens only for ps/eps-files?

Have you set any TeX-related environment variables or edited any
configuration files? What does "kpsepath tex" print?

in my .zshrc I set
TEXINPUTS=~/Texte/Styles//:.//:
export TEXINPUTS

and "$ kpsepath tex" yields
/home/michler/Texte/Styles//:.//:.:/home/michler/.texmf-config/tex/kpsewhich//:/home/michler/.texmf-var/tex/kpsewhich//:/home/michler/texmf/tex/kpsewhich//:/etc/texmf/tex/kpsewhich//:!!/var/lib/texmf/tex/kpsewhich//:!!/usr/local/share/texmf/tex/kpsewhich//:!!/usr/share/texmf/tex/kpsewhich//:!!/usr/share/texmf-texlive/tex/kpsewhich//:/home/michler/.texmf-config/tex/generic//:/home/michler/.texmf-var/tex/generic//:/home/michler/texmf/tex/generic//:/etc/texmf/tex/generic//:!!/var/lib/texmf/tex/generic//:!!/usr/local/share/texmf/tex/generic//:!!/usr/share/texmf/tex/generic//:!!/usr/share/texmf-texlive/tex/generic//:/home/michler/.texmf-config/tex///:/home/michler/.texmf-var/tex///:/home/michler/texmf/tex///:/etc/texmf/tex///:!!/var/lib/texmf/tex///:!!/usr/local/share/texmf/tex///:!!/usr/share/texmf/tex///:!!/usr/share/texmf-texlive/tex///

Furthermore I did (as root):
$ cd /root $ cd /lost+found/ and $ cd /tmp/
and
$ ls **/*tex **/*.cls
but always got
ls: cannot access **/*tex: No such file or directory
ls: cannot access **/*.cls: No such file or directory
... That means there are no tex or cls-files.

Do you have any idea what's wrong?

Kind regards,
Matthias

···

On Wednesday 02 December 2009 17:20:37 Jouni K. Seppänen wrote: