From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/69862 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: itemize textstyle Date: Thu, 7 Jul 2011 19:23:09 +0200 Message-ID: References: <001601cc3cb1$32766680$97633380$@gmx.de> <272A94B7-0208-442A-9CAF-EF42A27613BE@googlemail.com> <001c01cc3cc6$658c33a0$30a49ae0$@gmx.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1310059415 15153 80.91.229.12 (7 Jul 2011 17:23:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 7 Jul 2011 17:23:35 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 07 19:23:31 2011 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 1QesIU-0006VE-T4 for gctc-ntg-context-518@m.gmane.org; Thu, 07 Jul 2011 19:23:31 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A16E6CADEE; Thu, 7 Jul 2011 19:23:29 +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 UAXkWngCypms; Thu, 7 Jul 2011 19:23:27 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F29B2CADF4; Thu, 7 Jul 2011 19:23:26 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 63525CADEE for ; Thu, 7 Jul 2011 19:23:25 +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 KYlKOCgmDz6E for ; Thu, 7 Jul 2011 19:23:14 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 7F149CADE7 for ; Thu, 7 Jul 2011 19:23:14 +0200 (CEST) Original-Received: from mail-fx0-f42.google.com (mail-fx0-f42.google.com [209.85.161.42]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p67HND7S021697 for ; Thu, 7 Jul 2011 19:23:14 +0200 Original-Received: by fxe23 with SMTP id 23so1287193fxe.15 for ; Thu, 07 Jul 2011 10:23:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=5mtnXpjelP1oZaa4vuaRgBD2Uu7ofRX5s3gaDfnLHZI=; b=pOBHnnzzOAAKNLHFmrlUCxM4FVZcj1U5Hd1aRTAjd8LBtBL97khhUzWXVVUPuHfkl3 uHPmvDVSsSv5YzIm+oMiuHpI6waDRP52c/QNP97jlRern8dchlTD8CtxPWr6AMrmXVXT qMwDndqQNuzdi6EIP1snKAbJgXjLzp2UAeOvQ= Original-Received: by 10.223.26.70 with SMTP id d6mr1538627fac.78.1310059393261; Thu, 07 Jul 2011 10:23:13 -0700 (PDT) Original-Received: from [192.168.2.31] (p5B0EE627.dip.t-dialin.net [91.14.230.39]) by mx.google.com with ESMTPS id l26sm6825380fah.14.2011.07.07.10.23.11 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 07 Jul 2011 10:23:12 -0700 (PDT) In-Reply-To: <001c01cc3cc6$658c33a0$30a49ae0$@gmx.de> X-Mailer: Apple Mail (2.1084) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.42; 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: 05F55ndyE - ea09f6b8d16a - 20110707 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.216 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:69862 Archived-At: Am 07.07.2011 um 18:53 schrieb Christian: >> \setupitemize[1][style=3D\bf\setff{smallcaps}] >> \setupitemize[3][style=3D\it] >> \setupitemize[4][style=3D\tfx,color=3Ddarkgray] > = > I already tried the "sytle" parameter (option?). But it has no effect :( > Does it work for you? Wrong key, style is for the symbol/number of the item. A real setup key for the content isn=92t available and the best i can do (without extra markup around each entry) is the following. \definefontfeature[smcp][smcp=3Dyes] \setupitemize[1][command=3D\bf\addff{smcp}] \setupitemize[2][command=3D\tf\subfs{smcp}] \setupitemize[3][command=3D\it] \setupitemize[4][command=3D\tf\darkgray,color=3Dblack] \setupbodyfont[palatino] \starttext \startitemize \item One \startitemize \item Two \startitemize \item Three \startitemize \item Four \stopitemize \stopitemize \stopitemize \stopitemize \stoptext With some extra markup a better result is possible: \definefontfeature[smcp][smcp=3Dyes] \definestartstop[itemzero] [before=3D\startitem,after=3D\stopitem= ,] \definestartstop[itemone] [itemzero][style=3D\bf\addff{smcp}] \definestartstop[itemtwo] [itemzero][style=3D\tf] \definestartstop[itemthree][itemzero][style=3D\it] \definestartstop[itemfour] [itemzero][style=3D\tfx,color=3Ddarkgray] \setupbodyfont[palatino] \starttext \startitemize \startitemone One \stopitemone \startitemize \startitemtwo Two \stopitemtwo \startitemize \startitemthree Three \stopitemthree \startitemize \startitemfour Four \stopitemfour \stopitemize \stopitemize \stopitemize \stopitemize \stoptext What you can also do is to ask Hans for style and color keys to change the layout of the itemize content (would then only be available when you use \startitem ... \stopitem). 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 ___________________________________________________________________________= ________