[l2h] alltt bug?

Igor Pechtchanski pechtcha at cs.nyu.edu
Sat Nov 13 05:58:53 CET 2004


Hi,

Using the TeX trick of having a command interpret the next character as an
argument doesn't work correctly within the alltt environment.  Below is
the minimal example.  To reproduce, "latex2html bug.tex".  The <pre> tag
will contain "BR>Hello".  I intentionally didn't give any argument to
\out, since I wanted to model LaTeX's \@gobblecr.  My system information
is in my previous bug report.  Thanks.
	Igor

-------------------- BEGIN bug.tex --------------------
\documentclass{article}
\usepackage{alltt}
\newcommand{\out}[1]{}
\begin{document}
\begin{alltt}
{\out
Hello
}
\end{alltt}
\end{document}
--------------------- END bug.tex ---------------------

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha at cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor at watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT



More information about the latex2html mailing list