[l2h] extra horizontal space in {\tt text}

Stephen J. Sherman Stephen J. Sherman" <sjs@stimpy.irvine.com
Tue, 27 Apr 1999 16:12:56 -0700


> > latex2html 98.2beta8 translates the following latex:
> >   link={\tt MAINPROG}
> > incorrectly into the following HTML:
> >   link=<TT> MAINPROG</TT>
> > 
> > Since latex skips white space after the \tt command, the HTML should
> > not have the space between "<TT>" and "MAINPROG."  Therefore, correct
> > HTML would be: 
> >   link=<TT>MAINPROG</TT>
> 
> Correct LaTeX is  \texttt{MAINPROG}  which will give what you want.
> 
> In any case, the \tt command should have gobbled the space also,
> I'll have to look at it to see why not.
> What version of LaTeX2HTML are you using ?
> On what platform ?

Hi Ross!  Thanx for the response.  I am using latex2html 98.2 beta8
(September 9th, 1998) on RedHat 5.2.  My perl version is 5.004_04 built
for i386-linux

> It may help to send an example of your code,
> as it occurs in context, for any real problem may actually
> be more subtle than you are presenting here.

Here is my entire latex file:

  \documentclass{report}
  \usepackage{html}
  \usepackage{makeidx}

  \begin{document}

  link={\tt MAINPROG}

  \end{document}

> > Is there a way to patch this bug?
> > 
> Not that you can do easily,
> except for adjusting the LaTeX source.

Thanx for looking at this.

-- Steve Sherman
-- Irvine Compiler Corp.
-- Irvine, CA
-- USA