* noweb/LaTeX integration - .sty files not found
@ 2021-01-07 14:53 Martin Michel
0 siblings, 0 replies; 3+ messages in thread
From: Martin Michel @ 2021-01-07 14:53 UTC (permalink / raw)
To: help-guix
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: noweb/LaTeX integration - .sty files not found
@ 2021-01-11 15:40 Paul Garlick
2021-01-13 19:42 ` Martin Michel
0 siblings, 1 reply; 3+ messages in thread
From: Paul Garlick @ 2021-01-11 15:40 UTC (permalink / raw)
To: martin, help-guix
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: noweb/LaTeX integration - .sty files not found
2021-01-11 15:40 Paul Garlick
@ 2021-01-13 19:42 ` Martin Michel
0 siblings, 0 replies; 3+ messages in thread
From: Martin Michel @ 2021-01-13 19:42 UTC (permalink / raw)
To: Paul Garlick; +Cc: help-guix
Hi Paul,
thank you, using TEXINPUTS solved it for me!
−Martin
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-01-13 19:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-07 14:53 noweb/LaTeX integration - .sty files not found Martin Michel
-- strict thread matches above, loose matches on Subject: below --
2021-01-11 15:40 Paul Garlick
2021-01-13 19:42 ` Martin Michel
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.