From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Texlive Date: Wed, 25 Mar 2015 22:17:42 +0100 Message-ID: <87bnjgg4jt.fsf@gnu.org> References: <87a8zc51hv.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54551) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YasgR-0000Ma-Q7 for guix-devel@gnu.org; Wed, 25 Mar 2015 17:17:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YasgO-0003Dh-KG for guix-devel@gnu.org; Wed, 25 Mar 2015 17:17:51 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38727) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YasgO-0003Dd-Ga for guix-devel@gnu.org; Wed, 25 Mar 2015 17:17:48 -0400 In-Reply-To: (Federico Beffa's message of "Mon, 23 Mar 2015 12:06:26 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Federico Beffa Cc: Guix-devel Federico Beffa skribis: > As one example, setting > export TEXINPUTS=3D~/.guix-profile/share/texmf: > > all the files in the personal profile would be found (on top of the > ones in the central installation configuration files). You can even > specify if you want to make use of files databases (ls-R), or not (and > that for each directory tree individually). See, e.g., > > http://tug.org/texlive/doc/texlive-en/texlive-en.html#x1-540007 OK, interesting. > Making the various TeX tools find components (classes, fonts, ...) in > "extra" store locations may be tricky, but making it find them once > installed in a user profile should be easy. > > Maybe finding files in "extra" store directories could be achieved by > making use of variables expansion, something like > "!!/gnu/store//share/texmf" (note the double slash and exclamation > marks), in the central configuration file. (See above document.) > > I think that working out the proper way to install it on Guix may be > tricky, but, given the flexibility, a good hierarchical solution > should be possible. IMO the ideal would have to have it split into a bunch of packages or package outputs, like =E2=80=9Ccore=E2=80=9D, =E2=80=9Cdoc=E2=80=9D, =E2=80= =9Cextra.=E2=80=9D Ideally, users could choose to install 1, 2, or 3 of these and things would just work. I=E2=80=99m not really knowledgeable but that seemed extremely difficult to achieve (Andreas might want to share his sufferings ;-)). Part of the reason is that there=E2=80=99s no simple search path mechanism, and instead something sophisticated that includes texmf.cnf and a couple of libraries and commands to deal with search paths. The latter prevents the addition of a =E2=80=9Cdoc=E2=80=9D output, for ins= tance, because the =E2=80=98texdoc=E2=80=99 command (in =E2=80=9Cout=E2=80=9D) nee= ds to refer to the =E2=80=9Cdoc=E2=80=9D output, and vice versa (there cannot be circular references among outputs of a derivation.) Anyway, I think everyone would love a better solution, so if you have ideas, do not hesitate. :-) Thanks, Ludo=E2=80=99.