From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/58623 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Switch for sans slanted Date: Sun, 09 May 2010 19:53:17 +0200 Message-ID: <4BE6F68D.4000003@wxs.nl> References: <20100509192312.62d2d7c5@vorbis> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1273427664 31843 80.91.229.12 (9 May 2010 17:54:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 9 May 2010 17:54:24 +0000 (UTC) Cc: Marco To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun May 09 19:54:15 2010 connect(): No such file or directory Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OBAhd-0003B5-ME for gctc-ntg-context-518@m.gmane.org; Sun, 09 May 2010 19:54:09 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 06129C9CB6; Sun, 9 May 2010 19:54:09 +0200 (CEST) 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 oR3vHTDtn6Vt; Sun, 9 May 2010 19:54:05 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8FF7CC9B8C; Sun, 9 May 2010 19:54:05 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E3232C9B8C for ; Sun, 9 May 2010 19:54:03 +0200 (CEST) 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 R-agpB2HITaJ for ; Sun, 9 May 2010 19:54:01 +0200 (CEST) Original-Received: from smtp.ziggozakelijk.nl (sc-162.r-213-125-29.schoolconnect.nu [213.125.29.162]) by balder.ntg.nl (Postfix) with ESMTP id 7A130C9B87 for ; Sun, 9 May 2010 19:54:01 +0200 (CEST) X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.100; Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by controller-9 (SurgeMail 4.3e) with ESMTP id 501-1713362 for multiple; Sun, 09 May 2010 19:53:14 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 In-Reply-To: <20100509192312.62d2d7c5@vorbis> X-Authenticated-User: hagen@controller-9 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:58623 Archived-At: On 9-5-2010 7:23, Marco wrote: > Hi, > > I've a question concerning switching fonts in setups. How to get a sans > slanted style? Have a look at the following table. > > Command Style Comment > \ss sans OK > \bf bold OK > \ssbf sansbold OK > \sl slanted OK > \sssl sansslanted \sssl OK, sansslanted doesn't work > > I've made a minimal example to demonstrate how I use the commands. > > \starttext > {\setuphead [section] [textstyle=sans] % OK > \section {sans}\input knuth\relax} > > {\setuphead [section] [textstyle=bold] % OK > \section {bold}\input knuth\relax} > > {\setuphead [section] [textstyle=sansbold] % OK > \section {sansbold}\input knuth\relax} > > {\setuphead [section] [textstyle=slanted] % OK > \section {slanted}\input knuth\relax} > > {\setuphead [section] [textstyle=sansslanted] % doesn't work > \section {sansslanted}\input knuth\relax} > > {\setuphead [section] [textstyle=\sssl] % OK > \section {Command: sssl}\input knuth\relax} > \stoptext > > Is there a different command to achieve sansslanted? sansbold works, and > bold is an alternative as slanted is, so intuitively I would expect > sansslanted also to work. \definealternativestyle [sansslanted] [\ss\bf] [] ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________