unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* 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, 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

* 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

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
2021-01-11 15:40 Paul Garlick
2021-01-13 19:42 ` Martin Michel

unofficial mirror of help-guix@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-user/0 guix-user/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-user guix-user/ https://yhetil.org/guix-user \
		help-guix@gnu.org
	public-inbox-index guix-user

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.user
	nntp://news.gmane.io/gmane.comp.gnu.guix.user


AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git