[l2h] justification (displaymath, raggedleft)

Shigeharu TAKENO shige@iee.niit.ac.jp
Thu, 9 Aug 2001 18:18:32 +0900 (JST)


I am using latex2html-2K.1beta. I have two questions for 
justifications.

1) I often use

  \documentclass[fleqn]{...

to justficate math expressions to the left. However, the math 
expression in \[\] (displaymath environment) is still centered.

To fix it, I changed the code of &do_env_displaymath() in 
lib/versions/html3_2.pl (or html4_0.pl):

  join('',"<BR>\n<DIV$math_class>\n"
  ....
  join('',"<BR><P></P>\n<DIV$math_class>",$_

to the followings:

  join('',"<BR>\n<DIV$halign>\n"
  ....
  join('',"<BR><P></P>\n<DIV$halign>",$_

Is it correct ?


2) It seems that \raggedleft is cleared by the new \raggedright 
in LaTeX, but it remains in latex2html. For example: 

  \begin{documentt}
  \raggedleft Right

  \raggedright Left

  \centering Center
  \end{documentt}

In LaTeX, "Right" goes to the right, "Left" to the left, 
"Center" to the center in each line. But, latex2html generates 
the followings:

  <DIV ALIGN="RIGHT">Right
  </DIV>
  <P>
  <DIV ALIGN="RIGHT">Left
  </DIV>
  <P>
  <DIV ALIGN="RIGHT">
  <DIV ALIGN="CENTER">Center
  </DIV></DIV>

Please let me know whether I should not use \raggedleft, 
\raggedright, \centering.

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