[tex-live] Getting TeX Live installed in /usr/local to see an .sty installed in /usr/share

Lars Madsen daleif at math.au.dk
Fri Jan 16 14:57:15 CET 2015

Here is what I do for our NFS shared installation
(I like to *not* have our in house stuff in texmf-local)

in /path/texlive/

I have


and in 2014/texmf.cnf

I have

% define IMF tree
% adding IMF tree

So you could just define your version of TEXMFIMF to be a specific (full) path to the root of there sage installed stuff.

(Here $SELFAUTOPARENT is /path/texlive/2014)

/Lars Madsen
Institut for Matematik / Department of Mathematics
Aarhus Universitet / Aarhus University
Mere info: http://au.dk/daleif@imf / More information: http://au.dk/en/daleif@imf

From: tex-live [tex-live-bounces at tug.org] on behalf of Дарио Ѓорѓевски [gjorgjevski.dario at yandex.com]
Sent: 16 January 2015 13:11
To: tex-live at tug.org
Subject: [tex-live] Getting TeX Live installed in /usr/local to see an .sty installed in /usr/share

I installed TeX Live using the network install in /usr/local (as it is by default).

The value of TEXMFHOME is ~/texmf and of TEXMFLOCAL is /usr/local/texlive/texmf-local. However, my Linux distribution's package manager installed sagetex.sty in /usr/share/texmf and its documentation in /usr/share/doc. What is the best way to get TeX Live to see those two, without copying anything over? I read that modifying TEXMFLOCAL to include multiple trees is not encouraged (and even if it included /usr/share/texmf, texdoc still wouldn't find the documentation in /usr/share/doc). So, is there any alternative?


More information about the tex-live mailing list