From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/8672 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: XML attributes Date: Fri, 12 Jul 2002 18:31:02 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20020712182730.037a2400@remote-1> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035399061 29558 80.91.224.250 (23 Oct 2002 18:51:01 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:51:01 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Simon Pepping In-Reply-To: <20020710220534.B669@scaprea> Xref: main.gmane.org gmane.comp.tex.context:8672 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:8672 At 10:05 PM 7/10/2002 +0200, Simon Pepping wrote: >On Wed, Jul 10, 2002 at 08:51:44AM +0200, scarsoluigi@libero.it wrote: > > So, another question (yes, I have texbook but i'm a novice): > > > > give > > > > ... > > > > > > where is for example > > {\bf} > > or > > \startframedtexts[...setups..] ... \stopframedtexts > > > > how can i 'execute' under context the attr value ? > >You cannot. An attribute is not supposed to be an action; it is a >value to which you may associate an action in your context >mapping. The context XML documentation, example.pdf, shows how you can >use attribute values directly as arguments in a context command, but >that is as far as you can go. right, of course you can use processing instructions given that this feature is enabled (\setupXMLprocessing[command=yes]) or you can tex an attribute \def\xxxx{....} \disableXML\scantokens\expandafter{\xxxx}\enableXML but i agree with simon that this is not what attributes are for; actually, this is also what is wrong with svg Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------