From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/18808 Path: news.gmane.org!not-for-mail From: "Adam Lindsay" Newsgroups: gmane.comp.tex.context Subject: Re: fundamental problem with headings Date: Thu, 10 Mar 2005 23:17:59 +0000 Message-ID: <20050310231759.32346@mail.comp.lancs.ac.uk> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1110497155 20331 80.91.229.2 (10 Mar 2005 23:25:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 10 Mar 2005 23:25:55 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Mar 11 00:25:54 2005 Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1D9WuY-0006F2-0z for gctc-ntg-context-518@m.gmane.org; Fri, 11 Mar 2005 00:17:46 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9F90B12801; Fri, 11 Mar 2005 00:18:13 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 09030-03; Fri, 11 Mar 2005 00:18:11 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 48246127B5; Fri, 11 Mar 2005 00:18:10 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 74D2C127B5 for ; Fri, 11 Mar 2005 00:18:08 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08775-10 for ; Fri, 11 Mar 2005 00:18:06 +0100 (CET) Original-Received: from mail.comp.lancs.ac.uk (mail.comp.lancs.ac.uk [148.88.3.45]) by ronja.ntg.nl (Postfix) with ESMTP id 000A91279B for ; Fri, 11 Mar 2005 00:18:05 +0100 (CET) Original-Received: from [192.168.31.119] (localhost [127.0.0.1]) by mail.comp.lancs.ac.uk (8.12.10/8.12.10) with ESMTP id j2ANI0AX023557 for ; Thu, 10 Mar 2005 23:18:02 GMT Original-To: "mailing list for ConTeXt users" In-Reply-To: X-Mailer: CTM PowerMail version 5.1 build 4340 English X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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 X-Virus-Scanned: by amavisd-new at ntg.nl X-MailScanner-From: ntg-context-bounces@ntg.nl X-MailScanner-To: gctc-ntg-context-518@m.gmane.org Xref: news.gmane.org gmane.comp.tex.context:18808 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:18808 Steffen Wolfrum said this at Thu, 10 Mar 2005 23:11:41 +0100: >But if the heading should be set in general in a bold face what do I >use instead of \rm so that italic parts of he heading will be typeset >in bold-italic (and \sc parts to bold-smallcaps)? >I guess something (next to serif, sans, mono, ...) like serifbold >(\brm?) should be defined in my typescript? I'm a bit confused why you're not using \em in this situation, as it adapts to both bold and roman contexts. If you dislike that it defaults to slanted, then there's: \setupbodyfontenvironment[default][em=italic] {\bf Hello \em World} Hello \em World But if you want to follow the path of defining your own, adaptive switches, then you could look at these goodies already defined in font-ini: %D \macros %D {emphbf,emphit,emphsl,emphtf} %D %D The next emphasis alternatives are for \THANH. They adapt %D their style as good as possible. \def\emphbf{\groupedcommand{\bf\def\emphit{\bi}\def\emphsl{\bs}}{}} \def\emphit{\groupedcommand{\it\def\emphbf{\bi}\def\emphsl{\sl}}{}} \def\emphsl{\groupedcommand{\sl\def\emphbf{\bs}\def\emphit{\it}}{}} \def\emphtf{\groupedcommand{\tf\def\e mphbf{\bf}\def\emphit{\it}\def\emphsl{\sl}} {}} -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. atl@comp.lancs.ac.uk Lancaster University, InfoLab21 +44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-