From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85010 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: MacOsX Mavericks and Luatex Date: Thu, 24 Oct 2013 18:33:28 -0400 (EDT) Message-ID: References: <52692BE9.7080804@wxs.nl> <52699B6C.6090401@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-699661963-1382654010=:27245" X-Trace: ger.gmane.org 1382654021 31770 80.91.229.3 (24 Oct 2013 22:33:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Oct 2013 22:33:41 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Oct 25 00:33:44 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 1VZTTL-0001nQ-6K for gctc-ntg-context-518@m.gmane.org; Fri, 25 Oct 2013 00:33:43 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4FAAE1024B; Fri, 25 Oct 2013 00:33:42 +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 45i5mq6TGKrR; Fri, 25 Oct 2013 00:33:38 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id C1F7E101EC; Fri, 25 Oct 2013 00:33:38 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 323CA101EC for ; Fri, 25 Oct 2013 00:33:37 +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 dOsJOFU9-H1U for ; Fri, 25 Oct 2013 00:33:34 +0200 (CEST) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id 10ADB101E9 for ; Fri, 25 Oct 2013 00:33:34 +0200 (CEST) Original-Received: from hellskitchen.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.82]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r9OMXVSF006266 for ; Fri, 25 Oct 2013 00:33:32 +0200 Original-Received: FROM Decentralized.ECE.McGill.CA (Decentralized.ECE.McGill.CA [132.206.69.142]) By hellskitchen.mr.itd.umich.edu ID 5269A03A.52ED.2229 ; Authuser adityam; 24 Oct 2013 18:33:30 EDT In-Reply-To: <52699B6C.6090401@wxs.nl> User-Agent: Alpine 2.02 (LNX 1266 2009-07-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.211.14.82; 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: 0NKFaxvrc - edf1c9010137 - 20131025 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 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:85010 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-699661963-1382654010=:27245 Content-Type: TEXT/PLAIN; charset=windows-1252; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Fri, 25 Oct 2013, Hans Hagen wrote: > On 10/25/2013 7:01 AM, Schmitz Thomas A. wrote: >>=20 >> On 24 Oct 2013, at 16:44, Aditya Mahajan wrote: >>=20 >>> You need to set it to a dummy directory! See:=20 >>> http://tex.stackexchange.com/a/136073/323 >>=20 >> No, even that doesn=92t help: >>=20 >> echo $OSFONTDIR >> /tmp/dummy >>=20 >> and then on a first run (after regnerating the format with this variable= =20 >> set), I get lines such as >>=20 >> fonts > names > 'OSFONTDIR' specifies path=20 >> '/Users/tas/Library/Fonts' >> fonts > names > 'OSFONTDIR' specifies path '/Library/Fonts' >> fonts > names > 'OSFONTDIR' specifies path=20 >> '/System/Library/Fonts' >> fonts > names > globbing path '/System/Library/Fonts/**.OTF' >> fonts > names > 68 system files identified, 2 skipped, 2=20 >> duplicates, 66 hash entries added, runtime 43.223 seconds >>=20 >> So something appears to be overriding the variable that I set. But what?= =20 >> And why? And how do I stop it? >>=20 >> On 24 Oct 2013, at 23:40, Hans Hagen wrote: >>=20 >>> I don't understand the speed issue. We're talking about relatively few= =20 >>> fonts only and context will not scan them unless there is a change. Aft= er=20 >>> a remake a rescan takes < 9 sec on my laptop and < 6 sec once the=20 >>> directories have been cached (windows 8 / 64 bit / i7 / ssd). >>>=20 >>> Only an initial full scan takes a while (deleted cache), but that's mos= tly=20 >>> because I have a pretty large font collection in my texmf-fonts tree. >>=20 >> You=92re right of course that it=92s only the initial run when a new fon= t cache=20 >> has to be built, but the time I get on os x is much longer than what you= =20 >> report: >>=20 >> with rescanning of system fonts: >> system | total runtime: 114.131 (yes, that=92s almost 2 minutes= !) >>=20 >> And I don=92t want to twiddle my thumbs for two minutes, and don=92t wan= t to=20 >> use those =93system fonts=94 (or if I want to use them, I will copy them= to my=20 >> texmf directories)! > > hm, i wonder why that takes so long as i get: > > tex tree: > > 561 tree files identified, 5 skipped, 5 duplicates, 556 hash entries= =20 > added, runtime 14.282 seconds > 426 tree files identified, 7 skipped, 5 duplicates, 419 hash entries= =20 > added, runtime 12.297 seconds > 8 tree files identified, 0 skipped, 0 duplicates, 8 hash entries= =20 > added, runtime 0.188 seconds > 0 tree files identified, 0 skipped, 0 duplicates, 0 hash entries= =20 > added, runtime 0.156 seconds > 677 tree files identified, 1 skipped, 1 duplicates, 676 hash entries= =20 > added, runtime 0.672 seconds > > system: > > 2 system files identified, 0 skipped, 0 duplicates, 2 hash entries= =20 > added, runtime 0.047 seconds > 437 system files identified, 57 skipped, 57 duplicates, 380 hash entries= =20 > added, runtime 20.001 seconds > 20 system files identified, 1 skipped, 1 duplicates, 19 hash entries= =20 > added, runtime 0.063 seconds > 0 system files identified, 0 skipped, 0 duplicates, 0 hash entries= =20 > added, runtime 0.031 seconds > 0 system files identified, 0 skipped, 0 duplicates, 0 hash entries= =20 > added, runtime 0.047 seconds That is similar to what I get (regular hard drive, no SSD) mtxrun --script fonts --reload --force | grep time fonts | names | 757 tree files identified, 245 skipped, 244=20 duplicates, 512 hash entries added, runtime 7.720 seconds fonts | names | 224 tree files identified, 60 skipped, 48=20 duplicates, 164 hash entries added, runtime 3.052 seconds fonts | names | 2 tree files identified, 1 skipped, 1=20 duplicates, 1 hash entries added, runtime 0.404 seconds fonts | names | 0 tree files identified, 0 skipped, 0=20 duplicates, 0 hash entries added, runtime 0.406 seconds fonts | names | 1503 tree files identified, 210 skipped, 113=20 duplicates, 1293 hash entries added, runtime 1.034 seconds fonts | names | 50 system files identified, 14 skipped, 14=20 duplicates, 36 hash entries added, runtime 4.429 seconds fonts | names | 126 system files identified, 21 skipped, 21=20 duplicates, 105 hash entries added, runtime 0.548 seconds fonts | names | 0 system files identified, 0 skipped, 0=20 duplicates, 0 hash entries added, runtime 0.005 seconds fonts | names | 0 system files identified, 0 skipped, 0=20 duplicates, 0 hash entries added, runtime 0.005 seconds fonts | names | 35 system files identified, 0 skipped, 0=20 duplicates, 35 hash entries added, runtime 0.007 seconds fonts | names | total scan time 39.783 seconds Aditya --8323328-699661963-1382654010=:27245 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-699661963-1382654010=:27245--