[tex4ht] How to insert HTML code at any location in the generated HTML file?

Nasser M. Abbasi nma at 12000.org
Wed Jul 10 20:18:24 CEST 2013


On 7/10/2013 9:32 AM, Radhakrishnan CV wrote:

>
> \documentclass{article}
> \begin{document}
>
> \ScriptEnv{html}
>   {\NoFonts\hfill\break}
>   {\EndNoFonts}
>
> \begin{html}
> <h2>This is HTML head 2 </h2>
> \end{html}
>
> \end{document}
>

Thank you very much, yes, this is what I wanted. It works now

-----------------------------------------

\documentclass{article}
\begin{document}

\ifdefined\HCode
\ScriptEnv{html}
  {\NoFonts\hfill\break}
  {\EndNoFonts}

\begin{html}
<h2>This is HTML head 2 </h2>

test

\end{html}
\fi

\end{document}
----------------------------------------

regards,
--Nasser



More information about the tex4ht mailing list