[tex4ht] htlatex bug

Radhakrishnan CV cvr at river-valley.org
Wed Jul 14 13:38:46 CEST 2010


On Tue, Jul 13, 2010 at 3:10 AM, Karl Berry <karl at freefriends.org> wrote:
> Hi Jeremy,
>
>    \def\e#1{e^#1}
>      or the new command
>    \newcommand{\f}[1]{f^{#1}}
>    [...] fails to use superscripts.
>
> Thanks (again :) for the report.  It hasn't been fixed in the current
> sources.
>
> What I'm not sure about is whether tex4ht ever looks inside user
> definitions.  I had the impression it does for some things, but
> evidently superscripts are not one of them.  I'm not sure how Eitan ever
> intended this to be handled.

Sorry for being late, was terribly preoccupied.

This will work fine if you move all the definitions after
\begin{document}. If not, you might write a custom .cfg file, in which
case, you will keep all these macros after \begin{document} in the
.cfg.

See the attached jeremy.tex and jeremy.html.

Best regards
-- 
Radhakrishnan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tex4ht/attachments/20100714/1cad0c9d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jeremy.css
Type: text/css
Size: 5637 bytes
Desc: not available
URL: <http://tug.org/pipermail/tex4ht/attachments/20100714/1cad0c9d/attachment.css>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jeremy.log
Type: application/octet-stream
Size: 11873 bytes
Desc: not available
URL: <http://tug.org/pipermail/tex4ht/attachments/20100714/1cad0c9d/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jeremy.tex
Type: application/x-tex
Size: 164 bytes
Desc: not available
URL: <http://tug.org/pipermail/tex4ht/attachments/20100714/1cad0c9d/attachment.tex>


More information about the tex4ht mailing list