From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85250 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: simplefonts: defining a fallback for a non-main font Date: Thu, 14 Nov 2013 23:06:06 +0100 Message-ID: <413E6E87-C275-445F-B594-F693C050BCEB@gmail.com> References: <5285462E.5020907@sil.org> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\)) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1384466776 7336 80.91.229.3 (14 Nov 2013 22:06:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Nov 2013 22:06:16 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Nov 14 23:06:23 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 1Vh53N-0004SB-BN for gctc-ntg-context-518@m.gmane.org; Thu, 14 Nov 2013 23:06:21 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7D4AA1023C; Thu, 14 Nov 2013 23:06:20 +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 lX0der74qiGh; Thu, 14 Nov 2013 23:06:18 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id B10C210201; Thu, 14 Nov 2013 23:06:18 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DC73110201 for ; Thu, 14 Nov 2013 23:06:16 +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 1hCf4GuIJFGl for ; Thu, 14 Nov 2013 23:06:15 +0100 (CET) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id D3379101FE for ; Thu, 14 Nov 2013 23:06:15 +0100 (CET) Original-Received: from mail-bk0-x229.google.com (mail-bk0-x229.google.com [IPv6:2a00:1450:4008:c01::229]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id rAEM68TV008509 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Thu, 14 Nov 2013 23:06:09 +0100 Original-Received: by mail-bk0-f41.google.com with SMTP id v15so1370995bkz.28 for ; Thu, 14 Nov 2013 14:06:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=E7hHmeEFm7BaSbOSQrP3LEBKEX6mgiZijp4JMmkk1qQ=; b=0Hhkz/qOTXj4iy1lkG9mH35RVJHnFWR6mJkulOgu5hLDgcXy4r/Ad55jMdZPG8ymRK 6xLz/14lSALA9AMeRE8KHZs6faibiPh73scNb7qlyR5NkLwvUAyjEvUeA5DRZyiDs+tD F147Dz5y1dKGcTrytBdz/BEHzMOOJxbM5JueAnvEgcxMFKpOEwTM5jE6pz1M6nw0w1BB rZPsVLPi1QwxPFD1R+KvvBSJ4GZmAlofdwYIXk6gjICDtS/sclLCtmJhsDvRWUPdZDl7 dlMGMv4P0NJs1eBgLDkZI2vAvWBU/kvBM4F0dvHwRSe0iZAaHNRDTUlex8gXUI4P1Y63 24og== X-Received: by 10.204.101.9 with SMTP id a9mr843587bko.106.1384466768476; Thu, 14 Nov 2013 14:06:08 -0800 (PST) Original-Received: from keima.localdomain (x2f23066.dyn.telefonica.de. [2.242.48.102]) by mx.google.com with ESMTPSA id b6sm5007410bko.16.2013.11.14.14.06.07 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 14 Nov 2013 14:06:08 -0800 (PST) In-Reply-To: <5285462E.5020907@sil.org> X-Mailer: Apple Mail (2.1822) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4008:c01::229; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06KNy68bB - 613610e6ae96 - 20131114 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) 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:85250 Archived-At: Am 14.11.2013 um 22:52 schrieb Lars Huttar : > Hi again, > > I'm using simplefonts (TeX Live 2013 version) and I have a main font: > > \setmainfont[Gentium Book Basic] > > and I can set a fallback for it, > > \setmainfontfallback[Gentium Plus][range={ipaextensions}, force=yes, > rscale=auto] > > and that works. > > > But then I have another font for the title: > \definesimplefont[titleface][Gentium Basic][size=40pt] > > > How do I set a fallback for it? > > After looking at the source code for simplefonts, I tried: > > % undefined cs: \definesimplefontfallback[titleface][Gentium > Plus][range={ipaextensions}, force=yes, rscale=auto] > > % undefined cs: \fontfallback[titleface][Gentium > Plus][range={ipaextensions}, force=yes, rscale=auto] > > % undefined cs: \definefallbackfont[titleface][Gentium > Plus][range={ipaextensions}, force=yes, rscale=auto] > > > But they all gave "undefined control sequence" errors. > > > I can work around the problem by setting the main font before the title, > using the main font for the title, and then changing the main font after > the title is done. But that seems kludgy. There is no support for this with the old version of the module. 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 ___________________________________________________________________________________