Hi,

Lengths in latex can have optional spaces in them such as "3.5in" or
"3.5 in".

l2h98_2beta6.tar.gz does not support spaces, which broke one of my files
that used:

\def\ATEDictInfo#1#2{
  \noindent 
    {\bf #1: }
    \begin{minipage}[t]{3.5 in}#2 \end{minipage}
  }


Here's a small patch to the convert_length function that will fix the
problem.


*** latex2html/latex2html       Sun Aug 16 02:12:28 1998
--- /home/wuth/latex2html/latex2html    Mon Oct  5 05:05:26 1998
***************
*** 14716,14722 ****
      local($this,$scale) = @_;
      $scale = 1 unless $scale;
      local($pxs,$len,$full);
!     if ( $this =~ /([\d.]*)(in|pt|pc|mm|cm|\\[hv]size|\\\w+(width|height))?/ ) {
        $len = ($1 ? $1 : 1); $full = $2;
        if ($full &&($full =~ /\\([hv]size|\w+(width|height))/)) { $scale = 1;};
        $pxs = (($full) ? int($len * $unitscale{$full}*$scale + 0.5)
--- 14716,14722 ----
      local($this,$scale) = @_;
      $scale = 1 unless $scale;
      local($pxs,$len,$full);
!     if ( $this =~ /([\d.]*) *(in|pt|pc|mm|cm|\\[hv]size|\\\w+(width|height))?/ ) {
        $len = ($1 ? $1 : 1); $full = $2;
        if ($full &&($full =~ /\\([hv]size|\w+(width|height))/)) { $scale = 1;};
        $pxs = (($full) ? int($len * $unitscale{$full}*$scale + 0.5)


Hope this is the right way to submit additional changes,
-- 
Brett Wuth  [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
Box 1251-U, Pincher Creek, Alberta T0K 1W0, CANADA  Tel:+1 403 627-2460
[EMAIL PROTECTED] has mine; Print=E4F8EDEECBE01AD2FA3D8B2D94B1A292
What is the meaning of life?!  Yes.

Reply via email to