From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85852 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Mixing math and text font Date: Thu, 9 Jan 2014 20:41:15 +0100 Message-ID: <3D8BAFF0-5C1A-434C-91A0-D90A99B019BE@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1389296487 16515 80.91.229.3 (9 Jan 2014 19:41:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Jan 2014 19:41:27 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jan 09 20:41:35 2014 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 1W1LTz-0004Ps-3d for gctc-ntg-context-518@m.gmane.org; Thu, 09 Jan 2014 20:41:35 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4F260101E9; Thu, 9 Jan 2014 20:41:34 +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 c13AiwwZhJ3P; Thu, 9 Jan 2014 20:41:32 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 23C30101E2; Thu, 9 Jan 2014 20:41:32 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A2A22101E2 for ; Thu, 9 Jan 2014 20:41:30 +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 ghTv7yePjiBL for ; Thu, 9 Jan 2014 20:41:18 +0100 (CET) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 2CD64101DE for ; Thu, 9 Jan 2014 20:41:18 +0100 (CET) Original-Received: from mail-bk0-x232.google.com (mail-bk0-x232.google.com [IPv6:2a00:1450:4008:c01::232]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s09JfHic017340 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Thu, 9 Jan 2014 20:41:17 +0100 Original-Received: by mail-bk0-f50.google.com with SMTP id e11so1280309bkh.37 for ; Thu, 09 Jan 2014 11:41:16 -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=lvgaGhY1a6DhkEzdAzB3YHMMA6RE75edoF5FgBcogf0=; b=wLrc/M5o6yHJ2+7ruO53ti2U2Vj4q5C5pRqx22HpV0+OdwOqpf1thPd6Cizdw9zfIr DLEKer/lvQ5G9NS4t+PIWJInzYjMDXBTDAbUnAxK0QF1zExH1xbxZaOumR3cGP4bm0fs r/l76zy/q3HhDPU0ZFzK10/hCDc/OiGcEZdRDM0xgNXKanTcLH9BvmFuz54Sa+aNQeTj xhr4c0EAqLhzhCDc6bLg7p/Rg9ElFjwqIgjsBa2/9pdNtWN0gFACeG333iK/o7P+A01p 236bc1iYN5Qk3k3IfVbYKG4gLNqr5Z2dcwPVWqloRjCkon0tMlkLDxfrRZLCXlurElGo caDA== X-Received: by 10.205.106.202 with SMTP id dv10mr1536447bkc.109.1389296476797; Thu, 09 Jan 2014 11:41:16 -0800 (PST) Original-Received: from keima.localdomain (x2f24cd5.dyn.telefonica.de. [2.242.76.213]) by mx.google.com with ESMTPSA id s9sm5373506bkg.15.2014.01.09.11.41.15 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 09 Jan 2014 11:41:16 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.1827) X-Bayes-Prob: 0.0025 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4008:c01::232; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0VLbTFhC5 - e5677f2098d7 - 20140109 (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:85852 Archived-At: Am 09.01.2014 um 12:01 schrieb Joshua Kr=E4mer : > Thanks for your hard work! I have a few additional questions regarding = > the new system and font fallbacks. > = > = > (1) How can I replace the hyphen automatically inserted at linebreaks? = > If I use the following, only manually inserted hyphens are replaced: > = > \definefallbackfamily[mainface][serif][TeX Gyre Termes][range=3D{0x0002d}] Dunno, can you make this a separate question? > (2) What effect does force=3Dyes have? It doesn't seem to make a = > difference for me. When you set =93force=3Dyes=94 (default value) context uses the fallback fo= nt even when the character exists the main font. > (3) I have a typeface that uses unusual style names: "roman1", "roman2", = > "italic1", "italic2"; 1 is regular, 2 is bold weight. The following = > works: > = > \definefontfamily[xxxface][serif][xxx][regularfont=3Dxxxroman1, = > italicfont=3Dxxxitalic1, boldfont=3Dxxxroman2] > \setupbodyfont[xxxface] > \starttext > abc {\it abc} {\bf abc} > \stoptext > = > This works for roman1 only: > = > \definefontfamily[xxxface][serif][xxx][regularfont=3Dspec:roman1, = > italicfont=3Dspec:italic1, boldfont=3Dspec:roman2] > = > Even this works for roman1 only: > = > \definefontfamily[xxxface][serif][xxx][regularfont=3Dspec:roman1, = > italicfont=3Dxxxitalic1, boldfont=3Dxxxroman2] The name of the font files has nothing to do with way how \definefontfamily collects the individual files for each style, to do this it uses internal n= ames and values from the font. In a case where \definefontfamily can=92t find all styles you can select th= em with the name of the files: \definefontfamily[][