On Sat, Jun 4, 2016 at 8:16 PM, Andreas Enge <andr...@enge.fr> wrote: > Hi Fede, > > On Sat, Jun 04, 2016 at 06:45:46PM +0200, Federico Beffa wrote: >> I've found a couple of problems with our TeXLive package: >> * the directory dedicated to local packages is configured to: >> /gnu/texmf-local >> The standard location is $prefix/texmf-local >> You can check it with, e.g., 'kpsewhich --show-path=.sty'. > > as I understand it, this directory is simply not used in our installation. > (So the variable is wrong, but it does not matter.) It is supposed to be > used by system administrators installing packages for all users. In our case, > I do not quite see which directory we would like to use for that; if Guix > is installed on another LFS distribution, we could use /usr/local/texmf or > something similar. It cannot be $prefix/whatever, as the store is immutable. > > Right now, individual users should install tex things into > $HOME/.texlive2015. For instance, > $HOME/.texlive2015/texmf-var/tex/latex/beamerouterthemexyz.sty.
Say package A provides $prefix/texmf-local/tex/generic/my-A.tex and package B $prefix/texmf-local/tex/generic/my-B.tex. When they are installed in a profile they get collected into $guix-profile/texmf-local/tex/generic/. Local files could then be searched in $guix-profile/texmf-local. Regards, Fede