<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">% \subsubsection{Dialogues}
% \DescribeEnv{dialogue}{A dialogue between people.}
%    \begin{macrocode}
%&lt;*classXimera&gt;
\newenvironment{dialogue}{%
   \renewcommand\descriptionlabel[1]{\hspace{\labelsep}\textbf{##1:}}
   \begin{description}%
}{%
   \end{description}%
}
%&lt;/classXimera&gt;
%    \end{macrocode}
% On the web, the resulting |&lt;dl&gt;| should have an appropriate |class| set.
%    \begin{macrocode}
%&lt;*htXimera&gt;
\renewenvironment{dialogue}{\begin{description}}{\end{description}}

\ConfigureList{dialogue}%
   {\EndP\HCode{&lt;dl \a:LRdir class="dialogue"&gt;}%
      \PushMacro\end:itm
\global\let\end:itm=\empty}
   {\PopMacro\end:itm \global\let\end:itm \end:itm
\EndP\HCode{&lt;/dd&gt;&lt;/dl&gt;}\ShowPar}
   {\end:itm \global\def\end:itm{\EndP\Tg&lt;/dd&gt;}\HCode{&lt;dt
        class="actor"&gt;}\bgroup \bf}
   {\egroup\EndP\HCode{&lt;/dt&gt;&lt;dd\Hnewline class="speech"&gt;}}
%&lt;/htXimera&gt;
%    \end{macrocode}
</pre></body></html>