ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* XML command synonyms
@ 2003-09-30 19:47 Pawel Jackowski na Onet
  0 siblings, 0 replies; 10+ messages in thread
From: Pawel Jackowski na Onet @ 2003-09-30 19:47 UTC (permalink / raw)


Hi Hans, hi Simon!

First of all THANKS a lot for both of you for helpful hints and sugestions.
After many tests and experiments I decided to use
construction:

\def\XMLsynonym#1#2{%

\letcsnamecsname\csname\@@XMLelement:#1/\endcsname\csname\@@XMLelement:#2/\e
ndcsname

\letcsnamecsname\csname\@@XMLelement:#1\endcsname\csname\@@XMLelement:#2\end
csname

\letcsnamecsname\csname\@@XMLelement:/#1\endcsname\csname\@@XMLelement:/#2\e
ndcsname}

It works ok and suits me best since I (almost) understand HOW it works :)
Using constructions which I don't understand makes me a little bit
frustrated.
I'll do my best to understand other constructions as well.



Thanks a lot, Pawe/l

^ permalink raw reply	[flat|nested] 10+ messages in thread
* XML command synonyms
@ 2003-09-25 12:57 Pawel Jackowski na Onet
  2003-09-25 14:41 ` Willi Egger
  2003-09-25 19:13 ` Simon Pepping
  0 siblings, 2 replies; 10+ messages in thread
From: Pawel Jackowski na Onet @ 2003-09-25 12:57 UTC (permalink / raw)


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?



Thanks, Pawe/l

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2003-09-30 19:47 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-30 19:47 XML command synonyms Pawel Jackowski na Onet
  -- strict thread matches above, loose matches on Subject: below --
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
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

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).