On Sat, Sep 27, 2003 at 12:18:21PM +0200, Hans Hagen wrote:
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?
I use it in the same way as let, but for XML environments. For example, store the current value \letXMLenvironment{origindexterm}{indexterm}% redefine XML environment indexterm, do some work, restore the old value \letXMLenvironment{indexterm}{origindexterm}} Regards, Simon -- Simon Pepping email: spepping@scaprea.hobby.nl home page: http://scaprea.hobby.nl