From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/48042 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: boldstyle for numbers in defineenumeration Date: Fri, 06 Mar 2009 09:01:49 +0100 Message-ID: <49B0D86D.5060504@wxs.nl> References: <49AEE060.9060406@telefonica.net> <49AFE9EF.6070503@telefonica.net> <49B01C65.9030909@telefonica.net> <01109E7D-A3C7-4BDA-98EA-56A735492443@gmail.com> <6D5EB0BD-B1CC-4185-8134-3FDF3A9C2D5C@gmail.com> 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 1236326759 3432 80.91.229.12 (6 Mar 2009 08:05:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Mar 2009 08:05:59 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Mar 06 09:07:15 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 1LfV5I-00072J-VI for gctc-ntg-context-518@m.gmane.org; Fri, 06 Mar 2009 09:07:09 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 124CE1FA4C; Fri, 6 Mar 2009 09:05:38 +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 30497-02-4; Fri, 6 Mar 2009 09:05:00 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BBB0B1FB38; Fri, 6 Mar 2009 09:04:04 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2933B1FB38 for ; Fri, 6 Mar 2009 09:02:33 +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 30497-02-2 for ; Fri, 6 Mar 2009 09:02:00 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by ronja.ntg.nl (Postfix) with ESMTP id 30F1D1FADB for ; Fri, 6 Mar 2009 09:01:52 +0100 (CET) Original-Received: from mail.pragma-ade.net (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by filter2-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n2681oMa007449 for ; Fri, 6 Mar 2009 09:01:51 +0100 Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by controller-1 (SurgeMail 3.9e) with ESMTP id 16742-1840426 for ; Fri, 06 Mar 2009 09:01:50 +0100 User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) In-Reply-To: X-Originating-IP: 10.100.1.100 X-Authenticated-User: hagen@controller-1 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=83.247.100.17; country=NL; region=16; city=Dronten; latitude=52.5333; longitude=5.7167; http://maps.google.com/maps?q=52.5333,5.7167&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 189463742 - 104060bbc131 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:48042 Archived-At: Aditya Mahajan wrote: > On Thu, 5 Mar 2009, Wolfgang Schuster wrote: > >> >> Am 05.03.2009 um 20:19 schrieb Aditya Mahajan: >> >>> On Thu, 5 Mar 2009, Wolfgang Schuster wrote: >>> >>>> >>>> Am 05.03.2009 um 19:48 schrieb Aditya Mahajan: >>>> >>>>>> The textcolor does not work. I have to put in in text field. >>>>>> The example that works is: >>>>> Hans: does it make sense to add text(style|color|command) and >>>>> number(style|color|command) keys to enumerations? I could patch >>>>> core-des.tex with these keys. >>>> >>>> Hi Aditya, if you do this, can you also integrate the headalign key >>>> which is mentioned in core-des? >>> >>> What should headalign do? >> >> >> It should control the alignment of the headtext. >> >> \setuplayout >> [backspace=5cm, >> leftmargin=4cm, >> width=12cm] >> >> \definedescription >> [description] >> [location=margin, >> width=\leftmarginwidth] >> >> \showframe >> >> \starttext >> >> \description{text} bla bla bla >> >> \description{longer text} bla bla bla >> >> %\setupdescriptions[description][headalign=flushright] >> \setupdescriptions[description][text=\hfill] >> >> \description{text} bla bla bla >> >> \description{longer text} bla bla bla >> >> \stoptext > > Thanks. I first guess was > > \defineframed > [framehead] > [location=low,width=\leftmarginwidth,align=flushright,frame=off] > > \setupdescriptions[description][text=,location=command,headcommand=\framehead] > > > but this does not work. You can also use, but it will be nice to have a > headalign key. > > \setupdescriptions[description][command=\framehead] > > \description{text} bla bla bla > > \description{longer text} bla bla bla > > My only trouble with core-des is that it is ugly. It is an old module, > and lot of features have been added in an ad-hoc manner with time. I > hope that at some stage it will be rewritten in the new strc-* style. sure, it's already different in strc but such 'upgrades' are rather gradual since we want to keep compatibilitiy ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________