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}}%
Works for XMLenvironment.
Regards, Simon
Thanks a lot, but I'm afraid that doesn't work. TeX complains about undefined control sequence: ConTeXt ver: 2002.5.24 fmt: 2003.9.3 int: english mes: english .... ! Undefined control sequence. \letXMLenvironment #1#2->\letvaluevalue {\@@XMLelement:#1/}{\@@XMLelement:#2... l.15 \letXMLenvironment{chapter}{X} ? ! Emergency stop. \letXMLenvironment #1#2->\letvaluevalue {\@@XMLelement:#1/}{\@@XMLelement:#2... l.15 \letXMLenvironment{chapter}{X} End of file on the terminal! Is my ConTeXt to old? Pawe/l