From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/13552 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: XML command synonyms Date: Sat, 27 Sep 2003 12:18:21 +0200 Sender: ntg-context-admin@ntg.nl Message-ID: <5.2.0.9.1.20030927121550.01b54f30@server-1> References: <000f01c38364$947c05b0$0500a8c0@best> <20030925191353.GB603@scaprea> <000201c384c6$c9e5d6a0$0500a8c0@best> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: sea.gmane.org 1064660091 6111 80.91.224.253 (27 Sep 2003 10:54:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 27 Sep 2003 10:54:51 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Sat Sep 27 12:54:49 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A3Civ-0006DR-00 for ; Sat, 27 Sep 2003 12:54:49 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 58B3910B29; Sat, 27 Sep 2003 12:54:47 +0200 (MEST) Original-Received: from mail.solcon.net (mail.solcon.net [212.45.33.5]) by ref.ntg.nl (Postfix) with ESMTP id 4117310B25 for ; Sat, 27 Sep 2003 12:41:51 +0200 (MEST) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mail.solcon.net (8.11.6/8.9.3) with ESMTP id h8RAfjA01185 for ; Sat, 27 Sep 2003 12:41:45 +0200 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id 7BA0F184FB; Sat, 27 Sep 2003 12:41:43 +0200 (CEST) Original-Received: from laptop-3.wxs.nl (unknown [10.100.1.191]) by server-1.pragma-net.nl (Postfix) with ESMTP id 178E51A522 for ; Sat, 27 Sep 2003 10:41:38 +0000 (UTC) X-Sender: hagen-mail@server-1 X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Original-To: ntg-context@ntg.nl In-Reply-To: <000201c384c6$c9e5d6a0$0500a8c0@best> Original-References: <000f01c38364$947c05b0$0500a8c0@best> <20030925191353.GB603@scaprea> Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:13552 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:13552 At 07:41 27/09/2003 +0200, you wrote: >From: "Simon Pepping" > > > >P: How to define 'SSSS' as a synonym of 'subsubsubsubsection' without >wrtiting > > >P: the same code twice? > > > > From DocbookInContext: > > > > %D A \type{\let} for XML environments > > \def\letXMLenvironment#1#2% > > {\letvaluevalue{\@@XMLelement:#1/}{\@@XMLelement:#2/}% > > \letvaluevalue{\@@XMLelement:#1}{\@@XMLelement:#2}% > > \letvaluevalue{\@@XMLelement:/#1}{\@@XMLelement:/#2}}% \letcsnamecsname\csname\@@XMLelement:#1\endcsname\csname\@@XMLelement:#2\endcsname etc, but before you enter that track, what exactly do you want? 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 -------------------------------------------------------------------------