From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/41231 Path: news.gmane.org!not-for-mail From: Jin-Hwan Cho Newsgroups: gmane.comp.tex.context Subject: Re: Struggling with luatools and MacTeX Date: Wed, 28 May 2008 06:37:47 +0900 Message-ID: References: <821D2E8E-8D03-48C8-AC16-39CBB847DC20@ktug.or.kr> <483A7BC7.40601@wxs.nl> <483BC49B.4040800@elvenkind.com> <2C396993-EDE9-4B29-8271-1BF99036E1FC@ktug.or.kr> <483BD930.1000809@wxs.nl> <29D50E92-8806-47A9-9156-957737254CA7@ktug.or.kr> <483C197D.4000002@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v919.2) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1211924379 18274 80.91.229.12 (27 May 2008 21:39:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 May 2008 21:39:39 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue May 27 23:40:09 2008 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 1K16to-0003SD-T1 for gctc-ntg-context-518@m.gmane.org; Tue, 27 May 2008 23:40:04 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 32FD61FC27; Tue, 27 May 2008 23:39:17 +0200 (CEST) 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 31145-03-5; Tue, 27 May 2008 23:38:31 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2F6071FC0D; Tue, 27 May 2008 23:38:31 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 87DE31FC0D for ; Tue, 27 May 2008 23:38:29 +0200 (CEST) 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 32027-02-3 for ; Tue, 27 May 2008 23:37:52 +0200 (CEST) Original-Received: from math.suwon.ac.kr (unknown [210.123.54.38]) by ronja.ntg.nl (Postfix) with ESMTP id 608CC1FADB for ; Tue, 27 May 2008 23:37:51 +0200 (CEST) Original-Received: from [10.0.1.3] (unknown [121.161.146.33]) by math.suwon.ac.kr (Postfix) with ESMTP id E14242200CC for ; Wed, 28 May 2008 06:37:25 +0900 (KST) In-Reply-To: <483C197D.4000002@wxs.nl> X-Mailer: Apple Mail (2.919.2) 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:41231 Archived-At: On May 27, 2008, at 11:23 PM, Hans Hagen wrote: > Jin-Hwan Cho wrote: >> On May 27, 2008, at 6:49 PM, Hans Hagen wrote: >> >>> Jin-Hwan Cho wrote: >>>> On May 27, 2008, at 5:21 PM, Taco Hoekwater wrote: >>>> >>>>> Jin-Hwan Cho wrote: >>>>>> Still luatools cmr10.tfm does not work. But luatools cmr10.tfm* >>>>>> works. >>>>>> Is it intended? >>>>> luatools cmr10.tfm works for me (linux). It could be a Mac thing >>>>> (\r vs \n) but I have no idea how to test that. >>>> I checked the function input.aux.find_file() in luatools.lua. >>>> >>>> In the 4309th line (for _, path in pairs(pathlist) do) the variable >>>> "path" was >>>> >>>> !!/usr/local/texlive/2007/texmf-dist >>>> >>>> when "path" indicates the texmf tree having cmr10.tfm. >>>> >>>> Here, it did not end with "//" so that the variable recurse became >>>> "false". >>>> After I changed the value of "recurse" explicitly to "true", I >>>> could >>>> get the >>>> right result. >>>> >>>> Do you know exact reason? >>> // indicates that the tree should be searched recursively >> >> In my case, the variable "path" shows the name of the directories >> written in $TEXMF of texmf.cnf. Of course, every path does not end >> with "//". But everyone thinks that file must be searched recursively >> for these directories. >> >> In my opinion, the following line is non-sense. >> >> if path:find("//$") then recurse = true else recurse = false end > > well, the !! as well as // are kind of standard web2c / tds / whatever Finally I found what caused the problem just for me. My "texmf.cnf" had the following line: TEXMFHOME=$HOME/share/texmf-hyperref;$HOME/share/texmf-context After replacing the character ";" to "," I had no problem. Thanks again, ChoF. ___________________________________________________________________________________ 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 ___________________________________________________________________________________