From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/65168 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: ConTeXt does not execute MetaPost (in debian experimental) Date: Mon, 10 Jan 2011 19:00:02 -0500 (EST) Message-ID: References: <4D2B227D.8020203@elvenkind.com> <4D2B3149.50902@elvenkind.com> <4D2B4B34.4040306@nibua-r.org> <4D2B51A2.7090600@nibua-r.org> <4D2B5453.8010700@nibua-r.org> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-1873905737-1294704005=:2812" X-Trace: dough.gmane.org 1294704042 5273 80.91.229.12 (11 Jan 2011 00:00:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 11 Jan 2011 00:00:42 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jan 11 01:00:38 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PcRf6-0002tL-Ez for gctc-ntg-context-518@m.gmane.org; Tue, 11 Jan 2011 01:00:32 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DBB93CAAFB; Tue, 11 Jan 2011 01:00:31 +0100 (CET) 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 n2EfinMo4Qqm; Tue, 11 Jan 2011 01:00:29 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EF990CAAF1; Tue, 11 Jan 2011 01:00:28 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0C30ECAAF1 for ; Tue, 11 Jan 2011 01:00:28 +0100 (CET) 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 sI-c2O7QMnlY for ; Tue, 11 Jan 2011 01:00:15 +0100 (CET) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 63120CAAE9 for ; Tue, 11 Jan 2011 01:00:15 +0100 (CET) Original-Received: from hackers.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.81]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p0B007t5006142 for ; Tue, 11 Jan 2011 01:00:08 +0100 Original-Received: FROM adi-netbook (bas3-montreal02-1096683238.dsl.bell.ca [65.94.14.230]) By hackers.mr.itd.umich.edu ID 4D2B9D85.40FF5.20360 ; Authuser adityam; 10 Jan 2011 19:00:05 EST In-Reply-To: User-Agent: Alpine 2.01 (LNX 1266 2009-07-14) X-Bayes-Prob: 0.5 (Score 0, tokens from: ) X-CanIt-Geo: ip=141.211.14.81; country=US; region=MI; city=Ann Arbor; postalcode=48109; latitude=42.2923; longitude=-83.7145; metrocode=505; areacode=734; http://maps.google.com/maps?q=42.2923,-83.7145&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0cDS00712 - 2d7ca92f425f - 20110111 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:65168 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323328-1873905737-1294704005=:2812 Content-Type: TEXT/PLAIN; charset=utf-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Mon, 10 Jan 2011, Hilmar Preu=C3=9Fe wrote: > Renaud AUBIN nibua-r.org> writes: > > Hi all, > >> I assume from minimals install script that you need to generate the >> format with mtxrun --generate --tree=3D"xxx" --some --options but failed >> at this point=E2=80=A6 >> Maybe Mojca or Arthur (as authors of bin/mtx-update.lua) could complete? >> >> Anyway, the post-install script packaged with that .deb doesn't seem to >> do the job for you=E2=80=A6 >> > Ineed, we don't do this. What it the purpose of this command and how to c= all it? Earlier, there were some troubles with ConTeXt MkIV working in a=20 multi-user setup (I don't know whether that is still the case or not).=20 Therefore, the user has to run mtxrun --generate. This step cannot be done= =20 at the post-install stage; it has to be done manually by the user. So,=20 the best solution is to display a message to tell the user to run this=20 command manually (I do something similar for the context-minimals package= =20 for archlinux that I maintain). > When running w/ option --generate I get: > > hille@sid:~ $ mtxrun --generate > > MTXrun | resolvers: variable 'SELFAUTOLOC' set to '/usr/bin' > MTXrun | resolvers: variable 'SELFAUTODIR' set to '/usr' > MTXrun | resolvers: variable 'SELFAUTOPARENT' set to '.' > MTXrun | resolvers: variable 'TEXMFCNF' set to '' This step is wrong (because the binary is in /usr/bin). Compare this with= =20 what one gets in texlive: 'TEXMFCNF' set to=20 '{$SELFAUTODIR,$SELFAUTOPARENT}{{,/share,}/texmf{-local,.local}/web2c}' Because of the wrong setting of TEXMFCNF mtxrun does not read texmfcnf.lua= =20 file, and the rest of the command fails. You can try TEXMFCNF=3D/usr/share/texmf/web2c mtxrun --generate and that should generate the database correctly. I don't know what TEXMFCNF is being set incorrectly. Aditya --8323328-1873905737-1294704005=:2812 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --8323328-1873905737-1294704005=:2812--