Ralf Angeli wrote:
* Shanks N. (2006-09-27) writes:

I recently installed cygwinized tetex 3.x series on my LAPTOP. I have not made any changes to the texmf.cnf. When I install packages in /usr/local/share/texmf/latex/, run texhash and then try to use it in auctex, it does NOT look in the local texmf tree.

Does it work if you run latex from the shell?

ummm...no.  So I checked the following.

$ pdflatex.exe sas-coding-std.tex
...
! LaTeX Error: File `cooltooltips.sty' not found.

$ kpsewhich  --expand-braces \$TEXINPUTS
.:!!/home/702287/.texmf/config/tex/kpsewhich//:!!/home/702287/.texmf/var/tex/kpsewhich//:/home/702287/texmf/tex/kpsewhich//:!!/usr/local/share/texmf/tex/kpsewhich//:!!/var/lib/texmf/tex/kpsewhich//:!!/usr/share/texmf/tex/kpsewhich//:!!/home/702287/.texmf/config/tex/generic//:!!/home/702287/.texmf/var/tex/generic//:/home/702287/texmf/tex/generic//:!!/usr/local/share/texmf/tex/generic//:!!/var/lib/texmf/tex/generic//:!!/usr/share/texmf/tex/generic//:!!/home/702287/.texmf/config/tex///:!!/home/702287/.texmf/var/tex///:/home/702287/texmf/tex///:!!/usr/local/share/texmf/tex///:!!/var/lib/texmf/tex///:!!/usr/share/texmf/tex///

$ export TEXINPUTS=.:/usr/local/share/texmf//:${TEXINPUTS}

$ echo $TEXINPUTS
.:/usr/local/share/texmf//:

$ pdflatex.exe sas-coding-std.tex
cooltooltips.sty    2006/03/07 v1.0 Cool PDF tooltips
...
Output written on sas-coding-std.pdf (2 pages, 43427 bytes).
Transcript written on sas-coding-std.log.

$ kpsewhich  --expand-braces \$TEXMF
!!/home/702287/.texmf/config:!!/home/702287/.texmf/var:/home/702287/texmf:!!/usr/local/share/texmf:!!/var/lib/texmf:!!/usr/share/texmf

$ kpsewhich  --expand-braces \$TEXMFLOCAL
/usr/local/share/texmf

So it seems to work by setting the TEXINPUTS. Where in the texmf.cnf & what do I have to change to make the local tree transparently available? If it makes any difference, I don't have a .bashrc or ,bash_profile

$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Program
Files/ATI Technologies/ATI.ACE/:/usr/bin


I also upgraded to 11.83 and found that also didn't make a difference.

regards,
Shanks



_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex

Reply via email to