From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/75895 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: [***SPAM***] Trying to get two styles simultaneiously Date: Sun, 29 Apr 2012 09:58:41 +0200 Message-ID: References: <20120427232504.3892@binki> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1335686330 24198 80.91.229.3 (29 Apr 2012 07:58:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 29 Apr 2012 07:58:50 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Apr 29 09:58:49 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SOP1t-0001yk-14 for gctc-ntg-context-518@m.gmane.org; Sun, 29 Apr 2012 09:58:49 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DA653101EB; Sun, 29 Apr 2012 09:58:47 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id L3Wqtg-fdCXS; Sun, 29 Apr 2012 09:58:46 +0200 (CEST) Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 64BC4101E8; Sun, 29 Apr 2012 09:58:46 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EFBE4101E8 for ; Sun, 29 Apr 2012 09:58:45 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id bdzu42SHpaT4 for ; Sun, 29 Apr 2012 09:58:45 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 4C4A9101E6 for ; Sun, 29 Apr 2012 09:58:45 +0200 (CEST) Original-Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com [209.85.212.179]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q3T7wi04005120 for ; Sun, 29 Apr 2012 09:58:44 +0200 Original-Received: by wibhn6 with SMTP id hn6so1547515wib.2 for ; Sun, 29 Apr 2012 00:58:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=Xc0w8bQY0wnRTvh1wGs82JUlJvzo0993nBJSMd39ilA=; b=TId0fAtyM+1BKnYHun8HGoM/nKpTq9gp79ogCtvL7SzBdfQ8PWLLo82Vfrt+pZzgUe XuxBsXhd3eTO2C1zjKEVZsp36oXmmT3DkSePdMo+CyySmdml+mCfOFSJP6I87U7huVc7 U26EKAkyuvInfD6B+Chs30KktNJDNnJdoDT/nbK9A/KrVgqfnslfwZukruZYjBC+Wj71 QxVg064zZC4u2KHTjs9thTY48VFA5nEQ4PmMzUXb24JeVQ2BWjiWs1XhBrUof4ovJYtu QFYZT4OvMG4BNa+3VkXmi216XOm/Z6W+3+bHB1lKvVgfYM0XJwxRybmY1Psj0xQxu332 AfGg== Original-Received: by 10.180.102.101 with SMTP id fn5mr19820720wib.6.1335686324016; Sun, 29 Apr 2012 00:58:44 -0700 (PDT) Original-Received: from [192.168.2.36] (p57AFCBF3.dip.t-dialin.net. [87.175.203.243]) by mx.google.com with ESMTPS id b3sm18746064wib.4.2012.04.29.00.58.42 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 29 Apr 2012 00:58:43 -0700 (PDT) In-Reply-To: <20120427232504.3892@binki> X-Mailer: Apple Mail (2.1257) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.212.179; 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: 0QH3HWI3B - 90e386507130 - 20120429 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:75895 Archived-At: Am 27.04.2012 um 15:25 schrieb hwitloc@gmail.com: > = > = > I have been wrestling with this for hours and I'm sure there's a real eas= y fix. Just that it's eluding me. > = > How can I use \definedescription to set a combination style? > = > e.g. = > Below I can get a capitalized description header: > = > \definedescription[rsection][location=3Dleft,width=3Dbroad,headstyle=3Dca= p] > = > but, I also want it to be bold. That is a bold+cap at the same time. > = > I tried \bf\cap as a headcommand but it didn't seem to work, as was just= ignored. When you use Latin Modern you can never achieve what you want because the f= ont doesn=92t have a bold caps font but when you use another font like TeX = Gyre Pagella it=92s possible but you need a different approach because smal= lcaps are a font feature which have to enabled. \definefontfeature[smcp][smcp=3Dyes] \definedescription [description] [width=3Dbroad, headstyle=3D{\bf\addff{smcp}}] \setupbodyfont[pagella] \starttext \input ward \startdescription{Ward} \input ward \stopdescription \stoptext Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________