From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85202 Path: news.gmane.org!not-for-mail From: Lars Huttar Newsgroups: gmane.comp.tex.context Subject: Re: how to include sans, bold and size in \setuptab[headstyle=???] Date: Mon, 11 Nov 2013 16:45:49 -0500 Message-ID: <5281500D.6070000@sil.org> References: <52810D35.4000003@sil.org> <52811398.7040506@gmail.com> 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 1384206360 10109 80.91.229.3 (11 Nov 2013 21:46:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Nov 2013 21:46:00 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 11 22:46:05 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 1VfzJ5-00075t-U9 for gctc-ntg-context-518@m.gmane.org; Mon, 11 Nov 2013 22:46:04 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D257610224; Mon, 11 Nov 2013 22:46:02 +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 R13MsM97yqyo; Mon, 11 Nov 2013 22:46:00 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 7652D10211; Mon, 11 Nov 2013 22:46:00 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6E1A410211 for ; Mon, 11 Nov 2013 22:45:58 +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 o8GlgUqmAufX for ; Mon, 11 Nov 2013 22:45:55 +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 1B1F81020B for ; Mon, 11 Nov 2013 22:45:55 +0100 (CET) Original-Received: from mail-gg0-f181.google.com (mail-gg0-f181.google.com [209.85.161.181]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id rABLjpPl009399 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Mon, 11 Nov 2013 22:45:53 +0100 Original-Received: by mail-gg0-f181.google.com with SMTP id h1so73141gga.12 for ; Mon, 11 Nov 2013 13:45:50 -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:references:in-reply-to:content-type :content-transfer-encoding; bh=k0Vr7KN8UZhL/mHNMk39HCZPxOzecoh8RIC9Gri2Zk0=; b=d/aXX3Zj62GAQdXbfjvnxrNV3mVDzKv6y9AjhrLteAwkMZcyduFOF3YBUFsfW36oVx 1at08XkKudofkmIzKSRirAY9z2nh04gzDNJ8iACY57bjvJ15vUYoxd//5akZUMXfdqLv GiPHlxA2PfeZopMNt56+w+/vkwHJobyqiD/lT2hnIAl/e/vONz7mdfcetfK3EJlpF5B6 kJlDVg2gYGuw3Kd0qwr6xD2ZnHMjaQwSvP9MEyKbCUyY1h7SVEaCOfXCAMWw2MtrV729 krFi1McbpGb2flDmjb9RUThYCFNcV5XWvtdHrD14Na/1moG+Q7xedrcjoHPgplwHiCaB L1qg== X-Gm-Message-State: ALoCoQmhE78XNteXmq4eARoFFijjKRlXlPMSHqXuB59bWIpidfc7v7yTnYi2nzBSksWCrvnNBYua X-Received: by 10.236.158.226 with SMTP id q62mr13056137yhk.2.1384206350723; Mon, 11 Nov 2013 13:45:50 -0800 (PST) Original-Received: from [172.22.10.212] ([162.40.29.3]) by mx.google.com with ESMTPSA id m68sm42300501yhj.22.2013.11.11.13.45.49 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 11 Nov 2013 13:45:50 -0800 (PST) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 In-Reply-To: <52811398.7040506@gmail.com> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.181; 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: 0TKMlJQgP - 36e8bdbc6e8d - 20131111 (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:85202 Archived-At: On 11/11/2013 12:27 PM, Wolfgang Schuster wrote: >> Lars Huttar >> 11. November 2013 18:00 >> I finally tried >> >> \setuptab[headstyle={\ssbf \switchtobodyfont[18pt]}] >> >> and that works! But it seems clunky: it looks like it requires two font >> switches, which I'm told makes things slower. >> >> And I can't help wondering if I'm missing some simpler way. >> Is there a more efficient or elegant way to do this? >> > \definefont[BigBoldSans][SansBold at 18pt] > > \setuptab[headstyle=BigBoldSans] OK, but in order to use this systematically, I would have to have a \definefont for every potential combination of font style (serif/sans), alternative (bold/italic/etc.), and size that will get used in the document. In a large, complex book, that extra layer of indirection seems unattractive. But maybe there's no better way to do it. 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 ___________________________________________________________________________________