From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/65810 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Latest beta, simpleslides, and font loading Date: Thu, 3 Feb 2011 08:49:52 +0100 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1296719420 12466 80.91.229.12 (3 Feb 2011 07:50:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 3 Feb 2011 07:50:20 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Feb 03 08:50:16 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 1PktxH-0002Um-Tr for gctc-ntg-context-518@m.gmane.org; Thu, 03 Feb 2011 08:50:15 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EAE19CAAA6; Thu, 3 Feb 2011 08:50:14 +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 ZaWOW6++-Sfj; Thu, 3 Feb 2011 08:50:12 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 42EB7CAAAB; Thu, 3 Feb 2011 08:50:12 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0AFB2CAAAB for ; Thu, 3 Feb 2011 08:50:10 +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 fWKQcscn04eO for ; Thu, 3 Feb 2011 08:49:58 +0100 (CET) Original-Received: from filter5-ams.mf.surf.net (filter5-ams.mf.surf.net [192.87.102.73]) by balder.ntg.nl (Postfix) with ESMTP id DC9FECAAA6 for ; Thu, 3 Feb 2011 08:49:58 +0100 (CET) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter5-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p137nvaD030452 for ; Thu, 3 Feb 2011 08:49:58 +0100 Original-Received: by fxm12 with SMTP id 12so958293fxm.14 for ; Wed, 02 Feb 2011 23:49:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to :x-mailer; bh=wKt8NEOmXBiv/LV/82QcCnys1TQWATTCio/4LEng4iM=; b=XpD2WQb3DeBpXK0geDFxdD/Pp/LybLg+KYVapA+U+4bShIPskfMIq0aTb1pGEkY13y l2049MOHlPCvCtBGBKtA+ZQgOa/GinkcY89IMeoPC6p0uaKu/psASnQ4oUWl4+FqZsXM rUH7O4rvOYYYrKg6Qa0ovV23wob+Bi3aEdNNo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=oaPq2Qij+RRr4Vg3H8iML8YIKLf0xDUzF7FayFs11uJonCTo/g1Ue0qDqs5ioPh0vX G1rcASubf3iKIFK5IixdoXRenyyGJ+k9Vm4yngvV0TszOWcKRbJsb/W6f+TV4sHAU+H0 8EClx5N4EuaAZoALNWKwbuZB1D+Y28lVn7puM= Original-Received: by 10.223.114.209 with SMTP id f17mr9619522faq.136.1296719396778; Wed, 02 Feb 2011 23:49:56 -0800 (PST) Original-Received: from [192.168.2.23] (p5B294A58.dip.t-dialin.net [91.41.74.88]) by mx.google.com with ESMTPS id 5sm135720fak.47.2011.02.02.23.49.54 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 02 Feb 2011 23:49:55 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.1082) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0BE3jNVNB - 226a65b1523e - 20110203 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.73 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:65810 Archived-At: Am 03.02.2011 um 08:16 schrieb Aditya Mahajan: > In the latest beta if I use the simplefonts module, the font database is regenerated at each run! For example, this file > > For example with this file: > > \usemodule [simplefonts][size=10pt] > \setmainfont[Cambria] > \setmathfont[Cambria] > > \starttext > \input knuth > \stoptext > > the font database is regenerated at each run. If I replace the simplefonts setup with > > \setupbodyfont[cambria,10pt] > > the database is not regenerated. Any idea what is going wrong? Here is a minimal example: \starttext \doiffontpresentelse{cambria}{yes}{no} \doiffontpresentelse{unknown}{yes}{no} \stoptext Simplefonts tries a lot of name combinations (e.g. cambriaregular) with the \doiffontpresentelse command to look if a font exists to find all styles (regular, italic etc.) and now when when a entry in the database with this name does not exist (second test above for 'unknown') context regenerates the database. > (In my actual document, I am using system fonts, I would like to use simpleslides module rather than write my own typescript). Is this a option for you: \definetypeface[mainface][rm][specserif][DejaVu Serif][default] \definetypeface[mainface][ss][specsans] [DejaVu Sans] [default] \setupbodyfont[mainface] Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________