Hi there, I am struggling with my LaTeX/noweb setup. I installed both texlive and noweb as guix packages. Compiled .tex files from noweave use the noweb.sty style file for creation of DVI/PDF documents. The file noweb.sty is located at ll ~/.guix-profile/share/texmf/tex/latex/ total 52 -r--r--r-- 2 root root 40462 1. Jan 1970 noweb.sty -r--r--r-- 2 root root 8579 1. Jan 1970 nwmac.tex But if I run `xelatex mydoc.tex`, it complains about the missing .sty file. Running texhash is not possible (sudo does not help): texhash ~/.guix-profile/share/texmf/tex/latex/ mktexlsr: /home/michel/.guix-profile/share/texmf/tex/latex/: directory not writable. Skipping... mktexlsr: Done. How can I add other directories for style files and especially activate the "standard" path above? Any suggestions are welcome, many thanks in advance! —Martin
Hi Martin,
> But if I run `xelatex mydoc.tex`, it complains about the missing .sty
file.
Try the TEXINPUTS environment variable. It is useful for specifying
extra paths.
The compilation command is:
$ TEXINPUTS=~/.guix-profile/share/texmf//: xelatex mydoc.tex
I use this method for documents that require asymptote.sty, since
asymptote is also a separate package.
Best regards,
Paul.
Hi Paul, thank you, using TEXINPUTS solved it for me! −Martin