[l2h] CSS/HTML output for \LaTeX command

Shigeharu TAKENO shige at iee.niit.ac.jp
Fri Dec 26 07:17:17 CET 2008


shige 12/26 2008
----------------

latex2html (latex2html-2008) has a problem for css output. It 
translates \LaTeX command to 

  <SPAN CLASS="logo,LaTeX">L<SUP><SMALL>A</SMALL></SUP>
   T<SMALL>E</SMALL>X</SPAN>

in html, and puts

  DIV.LaTeX       { }
  DIV.logo-LaTeX  { }

to css file. But these should be either

[a]
  html:
    <SPAN CLASS="logo LaTeX">L<SUP><SMALL>A</SMALL></SUP>
     T<SMALL>E</SMALL>X</SPAN>
  css:
    SPAN.LaTeX       { }
    SPAN.logo        { }

or 

[b]
  html:
    <SPAN CLASS="logo logo-LaTeX">L<SUP><SMALL>A</SMALL></SUP>
     T<SMALL>E</SMALL>X</SPAN>
  css:
    SPAN.logo-LaTeX  { }
    SPAN.logo        { }

It is easy to fix this by modifying do_cmd_LaTeX (and similar 
commands for TeX logo) in latex2html.pin.

Which is the do_cmd_LaTeX intended to, [a] or [b] ?

+========================================================+
 Shigeharu TAKENO     NIigata Institute of Technology
                       kashiwazaki,Niigata 945-1195 JAPAN
 shige at iee.niit.ac.jp   TEL(&FAX): +81-257-22-8161
+========================================================+


More information about the latex2html mailing list