[l2h] Possible bug with \end{verbatim} (version 2002-2-1 1.70)

2004-02-20 Thread Tak Auyeung
\end{verbatim} is interpreted correctly most of the time. The only one 
case when it is broken is when there is a % symbol on a line, and 
\end{verbatim} is on the same line. For example:

\begin{verbatim}movl %eax,%edx\end{verbatim}

causes all kinds of problems after it, but the following is okay:

\begin{verbatim}movl %eax,%edx
\end{verbatim}
Apparently, pdflatex and latex interprets the first case (with 
\end{verbatim} on the same line) just fine.

--Tak Auyeung
___
latex2html mailing list
[EMAIL PROTECTED]
http://tug.org/mailman/listinfo/latex2html


Re: [l2h] Possible bug with \end{verbatim} (version 2002-2-1 1.70)

2004-02-20 Thread Ross Moore
Hello Tak Auyeung,

On 02/02/2004, at 8:48 PM, Tak Auyeung wrote:

\end{verbatim} is interpreted correctly most of the time. The only one 
case when it is broken is when there is a % symbol on a line, and 
\end{verbatim} is on the same line. For example:

\begin{verbatim}movl %eax,%edx\end{verbatim}
Use the LaTeX short form:   \verb|movl %eax,%edx|
for something short like this.
You really only need the longer form for multi-line content.
causes all kinds of problems after it, but the following is okay:

\begin{verbatim}movl %eax,%edx
\end{verbatim}
With tricky environments such as {verbatim} {comment} {latexonly} etc.
LaTeX2HTML scans for the ending delimiter to be on a line by itself.

Apparently, pdflatex and latex interprets the first case (with 
\end{verbatim} on the same line) just fine.
Maybe, but it's poor visual style that makes your manuscript hard to 
read,
and to detect the structure of the information within it.

Hope this helps,

	Ross Moore


--Tak Auyeung
___
latex2html mailing list
[EMAIL PROTECTED]
http://tug.org/mailman/listinfo/latex2html

Ross Moore [EMAIL PROTECTED]
Mathematics Department office: E7A-419
Macquarie University   tel: +61 +2 9850 8955
Sydney, Australia  fax: +61 +2 9850 8114

___
latex2html mailing list
[EMAIL PROTECTED]
http://tug.org/mailman/listinfo/latex2html