From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85285 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Support for Bold Small Caps font alternative Date: Sun, 17 Nov 2013 12:16:35 +0100 Message-ID: References: <528894b2.866f0e0a.230f.fffff2c8SMTPIN_ADDED_BROKEN@mx.google.com> 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 1384686995 30783 80.91.229.3 (17 Nov 2013 11:16:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 17 Nov 2013 11:16:35 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Nov 17 12:16:41 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 1Vi0LJ-0006Tc-Mv for gctc-ntg-context-518@m.gmane.org; Sun, 17 Nov 2013 12:16:41 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0C8D0101F3; Sun, 17 Nov 2013 12:16:41 +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 wEF+fskTAln4; Sun, 17 Nov 2013 12:16:39 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 9C364101E9; Sun, 17 Nov 2013 12:16:39 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 79F16101E9 for ; Sun, 17 Nov 2013 12:16:38 +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 QXSWuAReXGSc for ; Sun, 17 Nov 2013 12:16:37 +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 B4DC5101E8 for ; Sun, 17 Nov 2013 12:16:37 +0100 (CET) Original-Received: from mail-bk0-x22e.google.com (mail-bk0-x22e.google.com [IPv6:2a00:1450:4008:c01::22e]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id rAHBGaII029614 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Sun, 17 Nov 2013 12:16:37 +0100 Original-Received: by mail-bk0-f46.google.com with SMTP id u15so952176bkz.33 for ; Sun, 17 Nov 2013 03:16:36 -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=Opv6n2JwCsBhqu/HE6umqC5zABOfm8StbG6Gw1QVB8U=; b=v1eciacON8ZMjZJ7PrSx6ke18RBtcjn0U713RT6Y40q3p2a4mTZFgOCNMS8xV4I/Px AqZByf7X8AE92gpqVGrgAyy61eiNAllpYbDIImkHYclUrcY8LB+dCGi+K9SO6yHK8D0M znBSzm7RVz94APYNe0Q+UEgcEPF99MQqr6CD9vxDc8YGGhe1tHLkyPBTY1NOi8bcVXSG E0/Y9WAUjoJ0FDGQpH8fRSln9Jzu1apoW09rac47JzqkkvRc5kLsUtF8B+PiRv3pb85t adiximgLDZRhKWKMXHLV6zXBow+va35fn6B2e4IrFzbJaXgMS0zf8dc5WGjKutvqpZvb HraA== X-Received: by 10.205.78.5 with SMTP id zk5mr8333500bkb.25.1384686996616; Sun, 17 Nov 2013 03:16:36 -0800 (PST) Original-Received: from keima.localdomain (x2f23af5.dyn.telefonica.de. [2.242.58.245]) by mx.google.com with ESMTPSA id on10sm12951482bkb.13.2013.11.17.03.16.34 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 17 Nov 2013 03:16:35 -0800 (PST) In-Reply-To: <528894b2.866f0e0a.230f.fffff2c8SMTPIN_ADDED_BROKEN@mx.google.com> X-Mailer: Apple Mail (2.1822) X-Bayes-Prob: 0.9943 (Score 4.7, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4008:c01::22e; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0TKOzgAAJ - 17f2428f0083 - 20131117 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:85285 Archived-At: Am 17.11.2013 um 11:04 schrieb honyk : > Dear All, > > in my document I combine both regular and bold small caps. As there is no > predefined alternative for bold small caps variant, moreover, combining bold > style and small caps has no effect, I've had to override an unused one: > > \definefontsynonym[SerifCaps][file:pala.ttf][features=small-caps] > \definefontsynonym[SerifBoldSlanted][file:palab.ttf][features=small-caps] % > bold caps > > Now I can switch styles using \sc and \bs. > > It would be nice to have a dedicated alternative for this. Or am I missing > something? When you use a opentype font you can enable the small caps feature with the \feature command, there is no need for an additional font synonym. \setupbodyfont[pagella] \starttext Text {\feature[+][f:smallcaps]Text} {\bf Text {\feature[+][f:smallcaps]Text}} Text \smallcaps{Text} \bold{Text \smallcaps{Text}} \stoptext 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 ___________________________________________________________________________________