From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85129 Path: news.gmane.org!not-for-mail From: Lars Huttar Newsgroups: gmane.comp.tex.context Subject: setting size for mainfont or sansfont in stable simplefonts Date: Wed, 06 Nov 2013 17:27:36 -0500 Message-ID: <527AC258.9030802@sil.org> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1383776864 10873 80.91.229.3 (6 Nov 2013 22:27:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 Nov 2013 22:27:44 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Nov 06 23:27:50 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 1VeBZl-0004Zb-D8 for gctc-ntg-context-518@m.gmane.org; Wed, 06 Nov 2013 23:27:49 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6015F101EB; Wed, 6 Nov 2013 23:27:48 +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 PU0qEta-GsCz; Wed, 6 Nov 2013 23:27:45 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 716A7101F7; Wed, 6 Nov 2013 23:27:45 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7C44B101F7 for ; Wed, 6 Nov 2013 23:27:43 +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 bBFuFDKBTMIC for ; Wed, 6 Nov 2013 23:27:41 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 3009C101EB for ; Wed, 6 Nov 2013 23:27:41 +0100 (CET) Original-Received: from mail-qe0-f48.google.com (mail-qe0-f48.google.com [209.85.128.48]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id rA6MRcVc031396 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Wed, 6 Nov 2013 23:27:39 +0100 Original-Received: by mail-qe0-f48.google.com with SMTP id d4so178360qej.21 for ; Wed, 06 Nov 2013 14:27:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=aLAAy9DrRJirTOXSHq+F8jF6pv5o8v6A9rIM7eRZeXw=; b=DCPKwDUXPYN4zMrBzBDTKloyqxy+zOuKxncdp+lpU0Nju6Xyj2Ny/Vq6t9NcMhk4Uf AZU2BAjaEVil5OP5lVl2US5NZAjXiSpcWqUSivkEUXv+IYyydqaGmrDVG+PDP9cNyLsl uXLe1n5h+6NMsHdb372Vp7zmkAN6XjXIv4wd964S0wDU5ascOsFJDhvMxOQZRP+MOgiP P5zRLzVvpon4B7W5LLwgaU1qk7JU6L7b5j/K8D3mM8JAvczjyDwLzf54wgSe4Vbl7zWO x5qVBeZKuHdoI9SBcEfi+Npu//x8a/M/7XxJjNcILzhrRYu9miBE89OhiZMCMLOZUfAC YSIg== X-Gm-Message-State: ALoCoQlqE/BCKjGP4F85Qi7kPKrM3JXFISF4SuU9qCuu73aZy8SWq79lGcdxZ3nGbgc786X+xtuG X-Received: by 10.229.79.137 with SMTP id p9mr7956449qck.12.1383776858030; Wed, 06 Nov 2013 14:27:38 -0800 (PST) Original-Received: from [172.22.10.212] ([162.40.29.3]) by mx.google.com with ESMTPSA id jw9sm981113qeb.2.2013.11.06.14.27.37 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 06 Nov 2013 14:27:37 -0800 (PST) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.128.48; 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: 0TKKmrDQQ - 37b7567f8ef1 - 20131106 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:85129 Archived-At: Hello, I'm using the simplefonts module from TeX Live 2013. (I can't use the new simplefonts for this production project, due to stability requirements.) I have the following, which works well for the most part: \setupbodyfontenvironment[default][em=italic] \usemodule[simplefonts][size=9.2pt] \setmainfont[Gentium Book Basic] \setsansfont[Tex Gyre Heros] \starttext Serif typeface: regular, {\em italic}, {\bf bold} and {\bf\em bold italic} styles. \ss Sans--serif typeface: regular, {\em italic}, {\bf bold} and {\bf\em bold italic} styles. \stoptext Because the Tex Gyre Heros font is larger than Gentium Book Basic at a given point size, when I compile this document, there is a size mismatch between the serif and the sans typefaces. So I looked for a way to give the sans font a smaller default size. I couldn't find an example of such at http://wiki.contextgarden.net/simplefonts. I tried this: \setsansfont[Tex Gyre Heros][size=8pt] but it didn't seem to have any effect. Is there a way to do what I'm trying to do? I could use \switchtobodyfont[8pt] every time I go to sans, but I don't think that's the intention of simplefonts. Thanks, Lars ___________________________________________________________________________________ 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 ___________________________________________________________________________________