[OS X TeX] Problems with TEXINPUTS

Philippe Lamarre Philippe.Lamarre at insa-lyon.fr
Wed Feb 29 16:09:25 EST 2012


Hi!

I still have problems, but from my first message (se bellow), I made 
some small progress. My problems are clearly due to TEXINPUTS settings:

  * Displaying $TEXINPUTS at the begining of my .profile it contains a
    stupid value (see previous message bellow).
  * /etc/profile and /etc/bashrc are doing nothing with TEXINPUTS.
  * Just to test, I put in .profile:
    export
    TEXINPUTS="./:/usr/local/texlive/2011/texmf-config/tex//:/usr/local/texlive/2011/texmf-var/tex//:/usr/local/texlive/2011/texmf/tex//:/usr/local/texlive/2011/../texmf-local/tex//:/usr/local/texlive/2011/texmf-dist/tex//:/usr/local/texlive/2011/texmf-config/tex/generic//:/usr/local/texlive/2011/texmf-var/tex/generic//:/usr/local/texlive/2011/texmf/tex/generic//:/usr/local/texlive/2011/../texmf-local/tex/generic//:/usr/local/texlive/2011/texmf-dist/tex/generic//"
  * which after sourcing gives
      kpsewhich -show-path=tex
    ./:/usr/local/texlive/2011/texmf-config/tex//:/usr/local/texlive/2011/texmf-var/tex//:/usr/local/texlive/2011/texmf/tex//:/usr/local/texlive/2011/../texmf-local/tex//:/usr/local/texlive/2011/texmf-dist/tex//:/usr/local/texlive/2011/texmf-config/tex/generic//:/usr/local/texlive/2011/texmf-var/tex/generic//:/usr/local/texlive/2011/texmf/tex/generic//:/usr/local/texlive/2011/../texmf-local/tex/generic//:/usr/local/texlive/2011/texmf-dist/tex/generic//
  * With this patch, latex works in commande line. Great!
  * but, TexShop and LaTeXiT are still out of order.
    I guess they don't consider TEXINPUT and get their environnement
    variables elswere

Does anyone knows where TEXINPUTS can be set if not in /etc/bashrc, 
/etc/profile, ~/.profile ?
How to fix this configuration problem ?

Thanks in advance

Philippe


Le 29/02/12 14:47, Philippe Lamarre a écrit :
> Hi!
>
> I'm experimenting some difficulties... some trouble... and, for sure, 
> I need help...
>
> Problem description : latex as pdflatex does not find anything
>
>     lamarre$ latex test.tex
>     This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011)
>      restricted \write18 enabled.
>     entering extended mode
>     ! I can't find file `test.tex'.
>     <*> test.tex
>
>     (Press Enter to retry, or Control-D to exit)
>     Please type another input file name:
>
>
>     lamarre$ which latex
>     /usr/texbin/latex
>
>
> I think this may be due to TEXINPUTS setup problem. Indeed, I was 
> using some extra definition...
>
> content of variables :
>
>     lamarre$ kpsewhich -show-path=tex
>     /Users/lamarre/Documents/LYON/enseignement/FORMES//
>     /Users/lamarre/Documents/LYON/enseignement/FORMES//
>     .//:/Users/lamarre/Documents/LYON/enseignement/FORMES//
>
>     lamarre$ echo $TEXINPUTS
>     /Users/lamarre/Documents/LYON/enseignement/FORMES//
>     /Users/lamarre/Documents/LYON/enseignement/FORMES//
>     .//:/Users/lamarre/Documents/LYON/enseignement/FORMES//
>
> This path is part of my stuff, but I really don't know where it comes 
> from.
>
> What did I tried to get out of the problem ? Many things... let us 
> foccus on the last desperate ones
>
>   * removing all the TEXINPUTS definitions from my .profile
>   * uninstalling all distributions (port, texlive, 2008 texlive 2011)
>   * reboot the computer... just in case...
>   * install again MacTeX-2011
>   * install also FixMacTeX2011
>   * reboot the computer... just in case...
>
> No effect at all !
> Of course, I tried to modify myself the content of TEXINPUTS, but as 
> far as I don't know what it should contain...
>
> I would greatly appreciate any idea
>
> Thanks in advance
>
> Philippe
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://email.esm.psu.edu/pipermail/macosx-tex/attachments/20120229/d678a515/attachment.html>


More information about the MacOSX-TeX mailing list