From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/83618 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Path problems w/ MkIV on Arch Linux Date: Thu, 01 Aug 2013 11:40:42 +0200 Message-ID: <51FA2D1A.3000908@wxs.nl> References: <51F9827D.30501@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1375350067 9632 80.91.229.3 (1 Aug 2013 09:41:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 1 Aug 2013 09:41:07 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Aug 01 11:41:10 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V4pNa-0008Os-5p for gctc-ntg-context-518@m.gmane.org; Thu, 01 Aug 2013 11:41:06 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0B7A3101F1; Thu, 1 Aug 2013 11:40:34 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id V-8pxRWcrdvV; Thu, 1 Aug 2013 11:40:32 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 49BD9101E8; Thu, 1 Aug 2013 11:40:32 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 86436101E8 for ; Thu, 1 Aug 2013 11:40:30 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id tEDxxjMj+fVD for ; Thu, 1 Aug 2013 11:40:20 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 23333101E4 for ; Thu, 1 Aug 2013 11:40:20 +0200 (CEST) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r719eo1q032076 for ; Thu, 1 Aug 2013 11:40:50 +0200 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.0.4.10; Original-Received: from [10.0.4.10] (unverified [10.0.4.10]) by pragma-net.nl (SurgeMail 6.3c2) with ESMTP id 13906-1713362 for ; Thu, 01 Aug 2013 11:40:50 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 In-Reply-To: X-Authenticated-User: hagen@controller-9 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.125.29.162; country=NL; region=15; city=Zwolle; latitude=52.5058; longitude=6.0858; http://maps.google.com/maps?q=52.5058,6.0858&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06K7lEOcE - 9759c58bce6f - 20130801 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:83618 Archived-At: On 8/1/2013 5:59 AM, Matt Gushee wrote: > Thanks, Hans ... > > On Wed, Jul 31, 2013 at 3:32 PM, Hans Hagen wrote: >> On 7/31/2013 10:51 PM, Matt Gushee wrote: > >>> code, so unless there are serious bugs, I want to use the version >>> included with TexLive. At any rate, that's what I currently have and >>> am trying to use. But I am running into issues with files not being >>> found, e.g.: >> >> as a start you could try the distribution from the garden; at least it's a >> good way to figure out if there is something fishy with your system > > Okay, I've installed that, and it works fine ... though I had a small > glitch along the way that gives me an idea about what the problem may > be with the TeXLive version. More about that below. > >> in the reported 'tree' files in the cache you can check if files like >> context.mkiv are present > > They weren't. > >> mtxrun --variables >> mtxrun --expansions > > Actually, I had already tried that, but I didn't fully understand the > output. Here's an example: > > resolvers | lists | LUAINPUTS > resolvers | lists | env: unset > resolvers | lists | var: .;$TEXINPUTS;$TEXMF/scripts/context/lua// > resolvers | lists | exp: > ..;.;{home:texmf,!!selfautoparent:texmf-project,!!selfautoparent:texmf-fonts,!!/usr{/local}/share/texmf,!!selfautoparent:texmf-context,!!selfautoparent:texmf-linux,!!selfautoparent:texmf-dist,!!selfautoparent:texmf-dist}/tex/{context,plain/base,generic}//;{home:texmf,!!selfautoparent:texmf-project,!!selfautoparent:texmf-fonts,!!/usr{/local}/share/texmf,!!selfautoparent:texmf-context,!!selfautoparent:texmf-linux,!!selfautoparent:texmf-dist,!!selfautoparent:texmf-dist}/scripts/context/lua// > resolvers | lists | res: > ..;.;{/home/matt/texmf,!!./texmf-project,!!./texmf-fonts,!!/usr{/local}/share/texmf,!!./texmf-context,!!./texmf-linux,!!./texmf-dist,!!./texmf-dist}/tex/{context,plain/base,generic}//;{/home/matt/texmf,!!./texmf-project,!!./texmf-fonts,!!/usr{/local}/share/texmf,!!./texmf-context,!!./texmf-linux,!!./texmf-dist,!!./texmf-dist}/scripts/context/lua/ > > Are the 'selfautoparent' references supposed to be resolved to > specific paths? If so, it certainly appears something was wrong here. indeed. these prefixes make trees and setups relocatable >> so no file database is present or the database has not all files > > It was the latter, I suspect due to incorrect path settings in the config file. > >> does arch-linux use stock texlive or do they adapt it > > There are a few, seemingly minor tweaks. There are three patches, all > for luatex: > > poppler-0.20.patch > fix-fontforge-encoding.patch > luatex-r4449-radical-rule-thickness.patch > > However, these all seem to deal with small graphics/fonts issues and > have no apparent relationship to finding files. There is also a > customized texmf.cnf, but NOT a customized texmfcnf.lua. I think > that's significant. ok, so maybe there's a difference there > I said above that I ran into a minor problem when I installed the > Contextgarden package. What happened was that I saw two ../bin > directories: /opt/context/bin and /opt/context/tex/texmf-linux/bin . > At first I thought /opt/context/bin was meant to be used, so I added > both directories to my PATH [/opt/context/bin was first]. But that > produced errors. Then I removed /opt/context/bin from PATH, and > everything was fine. So I think I see what's going on: since many of > the path settings in texmfcnf.lua use 'selfauto*' variables, and > correct resolution of those depends on where the executables are > located. So I suspect that the default config file that comes with > ConTeXt in TeXLive assumes that the executables are ... I'm not sure > where, but somewhere other than /usr/bin . I could probably fix that, > but it would take me a while to figure out the correct values. the opt/context/bin path is used by the first-setup script (that also does updates) so it should not be in the PATH variable > Anyway, at this point I'm seriously thinking about just forgetting > TeXLive and using the standalone ConTeXt package. I doubt I'll be > using any other TeX packages in the near future, and I'd rather spend > time creating documents than tinkering with config files. Is there > anything in TeXLive that's particularly useful with ConTeXt, that is > not included in the ConTeXt package? the garden distribution is the most complete (although tex live has complete snapshots and can be updated too) ... the advantage of the garden distribution is that you also get the most relevant fonts installed if you only use mkiv (luatex) then you can do an initial install with --engine=luatex and you get less files (it must be done when installing so that updating also uses this minimal setting; pdftex has many -small- font files and xetex big binaries) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________