From: Simon Pepping <spepping@scaprea.hobby.nl>
Subject: Re: XML command synonyms
Date: Thu, 25 Sep 2003 21:13:53 +0200 [thread overview]
Message-ID: <20030925191353.GB603@scaprea> (raw)
In-Reply-To: <000f01c38364$947c05b0$0500a8c0@best>
On Thu, Sep 25, 2003 at 02:57:17PM +0200, Pawel Jackowski na Onet wrote:
> Hi all!
>
> Is there any way to define XML command synonyms? Assume that one defined
>
> \deifneXMLenvirnment[subsubsubsubsection] {.......} {.......}
>
> How to define 'SSSS' as a synonym of 'subsubsubsubsection' without wrtiting
> 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}}%
Works for XMLenvironment.
Regards, Simon
--
Simon Pepping
email: spepping@scaprea.hobby.nl
home page: http://scaprea.hobby.nl
next prev parent reply other threads:[~2003-09-25 19:13 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-25 12:57 Pawel Jackowski na Onet
2003-09-25 14:41 ` Willi Egger
2003-09-25 15:18 ` Willi Egger
2003-09-25 19:13 ` Simon Pepping [this message]
2003-09-27 5:41 ` Pawel Jackowski na Onet
2003-09-27 10:18 ` Hans Hagen
2003-09-27 22:28 ` Pawel Jackowski na Onet
2003-09-29 18:30 ` Simon Pepping
2003-09-30 8:04 ` Hans Hagen
2003-09-30 19:06 ` pushmacro Simon Pepping
2003-09-30 19:47 XML command synonyms Pawel Jackowski na Onet
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030925191353.GB603@scaprea \
--to=spepping@scaprea.hobby.nl \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).