From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Vong Subject: Re: Missing native-search-path for texlive Date: Mon, 30 Nov 2015 21:30:32 +0800 Message-ID: References: <878u5fab63.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]:55635) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3OXK-0002gZ-Nu for guix-devel@gnu.org; Mon, 30 Nov 2015 08:30:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a3OXJ-00027K-Kd for guix-devel@gnu.org; Mon, 30 Nov 2015 08:30:34 -0500 In-Reply-To: <878u5fab63.fsf@gnu.org> 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: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Cc: guix-devel@gnu.org On 30/11/2015, Ludovic Court=C3=A8s wrote: > Alex Vong skribis: > >> Yesterday, I try to use compile some document with context, so I >> install texlive in guix. However, when I run "context --version", I >> get the following error: >> >> mtxrun | unknown script 'context.lua' or 'mtx-context.lua' >> >> After doing some searching, I find out that the following works: >> >> $ TEXMF=3D`guix build texlive-texmf` context --version >> >> What should I add to native-search-path to set the TEXMF variable to >> the output path? > > It =E2=80=98TEXMF=E2=80=99 really a search path, or is it rather a variab= le that should > point to a single directory? > I think it is a search path since both `TEXMF=3D/gnu/store/gb4y83bvcpkvdmz0dvi9rp507kbdbr5x-texlive-texmf-2015 context --version` and `TEXMF=3D/gnu/store/gb4y83bvcpkvdmz0dvi9rp507kbdbr5x-texlive-texmf-2015/sha= re context --version` works. But otherwise, I don't know how environment variables in texlive works. I see there are other environmental variables as well. For instance, TEXINPUTS, TEXMFLOCAL and TEXMFHOME. But only TEXMF and TEXMFHOME works. > If the issue is limited to the =E2=80=98context=E2=80=99 program, then we= may be better > off wrapping =E2=80=98context=E2=80=99 such that =E2=80=98TEXMF=E2=80=99 = is always set appropriately. > > Thoughts? Andreas? > > Ludo=E2=80=99. >