From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/32521 Path: news.gmane.org!not-for-mail From: Johannes Graumann Newsgroups: gmane.comp.tex.context Subject: definedescription and XML Date: Thu, 4 Jan 2007 14:52:18 +0000 (UTC) Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1167922381 7867 80.91.229.12 (4 Jan 2007 14:53:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 4 Jan 2007 14:53:01 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Jan 04 15:53:00 2007 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 1H2Txg-0003L3-I6 for gctc-ntg-context-518@m.gmane.org; Thu, 04 Jan 2007 15:52:56 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BC2BE2010A; Thu, 4 Jan 2007 15:50:07 +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 00433-08; Thu, 4 Jan 2007 15:50:01 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 267F5200E8; Thu, 4 Jan 2007 15:50:01 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DA27520101 for ; Thu, 4 Jan 2007 15:49:57 +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 00592-04-2 for ; Thu, 4 Jan 2007 15:49:53 +0100 (CET) Original-Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by ronja.ntg.nl (Postfix) with ESMTP id C0C1A1FCB0 for ; Thu, 4 Jan 2007 15:49:53 +0100 (CET) Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1H2TxG-0007Wd-Br for ntg-context@ntg.nl; Thu, 04 Jan 2007 15:52:30 +0100 Original-Received: from edmz3.biochem.mpg.de ([141.61.1.25]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Jan 2007 15:52:30 +0100 Original-Received: from johannes_graumann by edmz3.biochem.mpg.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Jan 2007 15:52:30 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ntg-context@ntg.nl Original-Lines: 34 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 141.61.1.25 (Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.8) Gecko/20050511 Firefox/1.0.4) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:32521 Archived-At: Hello all, After a good break I'm back at my XML obsession and am running into the following issue: my environment-file contains these definitions \defineXMLnested [reagentlist] [sample=] {\definedescription[definition][width=broad,distance=1em,sample={\XMLop{sample}}]} {} \defineXMLnested [reagent] [label=] {\startdefinition{\XMLop{label}}} {\stopdefinition} but in use, the definition-label-width is optimized for every single case, rather than for the 'sample', meaning I get One xxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxx Twentyone xxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxx rather than One xxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxx Twentyone xxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxx Can anyone please enlighten me as to what I'm missing here? Thanks, Joh