From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/38066 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: MkIV on Ubuntu Date: Mon, 17 Dec 2007 13:31:54 -0500 (EST) Message-ID: References: <4760EE33.8040805@wxs.nl> <47623B92.1080904@wxs.nl> <47663662.9090806@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1197916550 491 80.91.229.12 (17 Dec 2007 18:35:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Dec 2007 18:35:50 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Dec 17 19:36:02 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1J4Ko5-0001UY-6r for gctc-ntg-context-518@m.gmane.org; Mon, 17 Dec 2007 19:35:13 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6E5311FBC5; Mon, 17 Dec 2007 19:34:05 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 13515-04-4; Mon, 17 Dec 2007 19:33:53 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 82BDA1FBC1; Mon, 17 Dec 2007 19:33:51 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 21A941FBE8 for ; Mon, 17 Dec 2007 19:33:11 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 12557-03-5 for ; Mon, 17 Dec 2007 19:32:15 +0100 (CET) Original-Received: from hellskitchen.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.82]) by ronja.ntg.nl (Postfix) with ESMTP id 42D4C1FBEB for ; Mon, 17 Dec 2007 19:31:58 +0100 (CET) Original-Received: FROM adi-laptop.local (c-68-40-40-75.hsd1.mi.comcast.net [68.40.40.75]) BY hellskitchen.mr.itd.umich.edu ID 4766C09A.E182E.20029 ; 17 Dec 2007 13:31:54 -0500 X-X-Sender: adityam@adi-laptop In-Reply-To: X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:38066 Archived-At: On Mon, 17 Dec 2007, Aditya Mahajan wrote: Things in windows and linux are different! > Why did luatools decide not to scan my user texmf trees? luatools only scans trees with a ls-R database. For some reason mktexlsr only generates ls-R in /usr/local/share/texmf and /var/lib/texmf/ I was running mktexlsr without root permissions (thinking that ls-R will be only regenerated in TEXMFHOME. I was wrong). > Since the new > files are located at /home/adityam/texmf and this tree is not scanned, > format generation does not work. I changed {texilve,tetex} to just texlive in texmf.cnf, but even now the format generating is not ok. Now I get, LuaTools | creating initialization file cont-en LuaTools | using library path : /usr/share/texmf/tex/context/base LuaTools | using lua libraries: l-string.lua l-lpeg.lua l-table.lua l-boolean.lua l-number.lua l-unicode.lua l-md5.lua l-os.lua l-io.lua l-file.lua l-dir.lua l-utils.lua l-tex.lua luat-lib.lua luat-inp.lua luat-tmp.lua luat-zip.lua luat-tex.lua LuaTools | using compiled initialization file cont-en.luc LuaTools | using lua initialization file cont-en.luc LuaTools | running command: luatex --ini --lua="cont-en.luc" "/usr/share/texmf/tex/context/base/cont-en.tex" \\dump This is LuaTeX, Version snapshot-0.20.2-2007121718 (Web2C 7.5.6) (INITEX) (/usr/share/texmf/tex/context/base/cont-en.tex (/home/adityam/texmf/tex/context/base/context.tex (/home/adityam/texmf/tex/context/base/syst-pln.tex) (/home/adityam/texmf/tex/context/base/syst-prm.tex) (/home/adityam/texmf/tex/context/base/luat-env.tex ! LuaTeX error [string "luas[0]"]:1: attempt to index global 'input' (a nil val ue). ...mf.instance,"luat-env.lua","tex")) } \startruntimeluacode ...everyloadluacode #1}\fi #1 This is not surprising since it is using /usr/share/texmf/tex/context/base/cont-en.tex and not /home/adityam/texmf/tex/context/base/cont-en.tex luatools cont-en.tex gives /usr/share/texmf/tex/context/base/cont-en.tex so something went wrong with luatools --generate. Since kpsewhich cont-en.tex gives the correct file while luatools cont-en.tex gives the incorrect file, is this a bug with the inbuild search engine in luatools, or is there something wrong in my configuration? Aditya ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________