Hi Nasser,

Could this be done in the .cfg file somehow? I do not want to edit each
> HTML page by hand and add the <DIV> .... </DIV>.


you can use \Configure{@BODY} and \Configure{@/BODY}:

\Preamble{xhtml}
\Configure{@BODY}{\ifvmode\IgnorePar\fi\HCode{<div class="content">}}
\Configure{@/BODY}{\ifvmode\IgnorePar\fi\EndP\HCode{</div>}}
\begin{document}
\EndPreamble

Best,
Michal

Reply via email to