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

Radhakrishnan CV cvr at river-valley.org
Fri Jul 12 08:03:57 CEST 2013


On Fri, Jul 12, 2013 at 4:23 AM, Karl Berry <karl at freefriends.org> wrote:

>     Runaway argument?
>
> I see CVR solved your problem with an environment.  That's good (maybe
> we should add that environment in general), but this error indicates the
> problem is simply having a blank line (\par) in the argument, and we
> should just make \HCode \long in order to allow it.  (I admit I didn't
> actually check if something weirder is going on.)
>

Not sure, if making \HCode a \long\def will solve the problem, because,
\HCode gets redefined at several places and within other definitions and
environments.

I think, \ScriptEnv is the best way to inject any kind of source code into
output.

Best
-- 
Radhakrishnan
River Valley<https://maps.google.com/maps?q=River%20Valley,%20Thiruvananthapuram%20Neyyardam%20Road,%20Kerala,%20India&vector=1>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tex4ht/attachments/20130712/0faac3c4/attachment.html>


More information about the tex4ht mailing list