From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/26733 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: XML and references Date: Mon, 03 Apr 2006 10:20:56 +0200 Message-ID: <4430DAE8.4040109@elvenkind.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1144052500 15220 80.91.229.2 (3 Apr 2006 08:21:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 3 Apr 2006 08:21:40 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Apr 03 10:21:40 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1FQKJB-000844-3b for gctc-ntg-context-518@m.gmane.org; Mon, 03 Apr 2006 10:21:09 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CD04E127A0; Mon, 3 Apr 2006 10:21:08 +0200 (CEST) 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 02700-03-3; Mon, 3 Apr 2006 10:21:00 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8084B1276B; Mon, 3 Apr 2006 10:21:00 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 207F01276B for ; Mon, 3 Apr 2006 10:20:59 +0200 (CEST) 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 02700-03-2 for ; Mon, 3 Apr 2006 10:20:57 +0200 (CEST) Original-Received: from glenfiddich.elvenkind.com (elvenknd.xs4all.nl [213.84.171.68]) by ronja.ntg.nl (Postfix) with SMTP id A8ED8126F8 for ; Mon, 3 Apr 2006 10:20:57 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by glenfiddich.elvenkind.com (Postfix) with ESMTP id 4AD9E1B45F for ; Mon, 3 Apr 2006 10:20:57 +0200 (CEST) Original-Received: from glenfiddich.elvenkind.com ([127.0.0.1]) by localhost (glenfiddich.elvenkind.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 01283-03 for ; Mon, 3 Apr 2006 10:20:57 +0200 (CEST) Original-Received: from [10.10.0.6] (glenlivet.elvenkind.com [10.10.0.6]) by glenfiddich.elvenkind.com (Postfix) with ESMTP id 00F1616BF4 for ; Mon, 3 Apr 2006 10:20:56 +0200 (CEST) User-Agent: Mozilla Thunderbird 1.0.6-7.1.20060mdk (X11/20050322) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: X-Virus-Scanned: by amavisd-new at elvenkind.net 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:26733 Archived-At: Johannes Graumann wrote: > Hello all, > > I'm trying to interpret something like >
> The problem of the complex protein mixture > > > >
> 1. you never match the section label to the \section head, so you need something like this: \defineXMLargument [title] [\XMLpar{section}{label}{}] {\section[\XMLpar{section}{label}{}]} 2. \textreference *creates* a reference instead of referring to one, so you need \defineXMLargument [ref] {\in[\XMLpar{ref}{name}{}]} Cheers, Taco