From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/48030 Path: news.gmane.org!not-for-mail From: Xan Newsgroups: gmane.comp.tex.context Subject: Re: boldstyle for numbers in defineenumeration Date: Thu, 05 Mar 2009 19:39:33 +0100 Message-ID: <49B01C65.9030909@telefonica.net> References: <49AEE060.9060406@telefonica.net> <49AFE9EF.6070503@telefonica.net> 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: ger.gmane.org 1236278502 4411 80.91.229.12 (5 Mar 2009 18:41:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Mar 2009 18:41:42 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Mar 05 19:42:58 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1LfIWW-0004N9-Fo for gctc-ntg-context-518@m.gmane.org; Thu, 05 Mar 2009 19:42:24 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 558911FC2F; Thu, 5 Mar 2009 19:41:00 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 00513-04-28; Thu, 5 Mar 2009 19:40:07 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 13CE41FB64; Thu, 5 Mar 2009 19:40:07 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 93FD11FA41 for ; Thu, 5 Mar 2009 19:40:05 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 02680-01-6 for ; Thu, 5 Mar 2009 19:39:35 +0100 (CET) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by ronja.ntg.nl (Postfix) with ESMTP id 4D7D81FB8F for ; Thu, 5 Mar 2009 19:39:35 +0100 (CET) Original-Received: from ctsmtpout3.frontal.correo (outmailhost.telefonica.net [213.4.149.242]) by filter4-ams.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n25IdYHY005019 for ; Thu, 5 Mar 2009 19:39:34 +0100 Original-Received: from [172.26.0.5] (79.153.61.84) by ctsmtpout3.frontal.correo (7.2.056.6) (authenticated as dxpublica) id 49B01AA6000007B2 for ntg-context@ntg.nl; Thu, 5 Mar 2009 19:39:33 +0100 User-Agent: Thunderbird 2.0.0.19 (X11/20090105) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.4.149.242; country=ES; region=29; city=Madrid; latitude=40.4000; longitude=-3.6833; http://maps.google.com/maps?q=40.4000,-3.6833&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 189310339 - daf0ff48e1d7 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:48030 Archived-At: En/na Aditya Mahajan ha escrit: > On Thu, 5 Mar 2009, Xan wrote: > >> En/na Xan ha escrit: >>> Hi, >>> >>> Is it possible to put "numerstyle=boldstyle" in this enumeration?: >>> \defineenumeration >>> [exercici] >>> [text={\startcolor[middlecyan]Exercici\stopcolor},headstyle=bold,between=\blank,titledistance=0em,textdistance=1em, >>> stopper={.\space},location=serried,titleleft=(,titleright=),width=fit,headstyle=\ss] >>> >>> For the other hand, is it possible to make it's a framed? >>> >>> Thanks a lot, >>> Xan. >>> >> Aditya, >> >> numberstyle=bold >> >> does not work for me. > > Sorry. I should have checked. Enumerations do not have a numberstyle > key. It should. > > You can abuse the left and right keys to get a bold number, eg. > > \defineenumeration > [exercici] > [textcolor=middlecyan, text=Exercici, > headstyle=sans, > left={\bgroup\bf},right={\egroup}] > > > > Hans, do you plan to rework on core-des anytime soon? It could > definitely use some cleanup. > > Aditya > ___________________________________________________________________________________ > > 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 : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ > Thanks. The textcolor does not work. I have to put in in text field. The example that works is: \defineenumeration [exercici] [text={\startcolor[middlecyan]Exercici\stopcolor},headstyle=bold,between=\blank,titledistance=0em,textdistance=1em, stopper={.\space},location=serried,left={\bgroup\bf},right={\egroup},width=fit,headstyle=\ss] Xan. ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________