[l2h] bug using alltt in newenvironment

Dirk Husung Dirk Husung <husung@tu-harburg.de>
Tue, 12 Oct 1999 17:53:04 +0200


This is a multi-part message in MIME format.
--------------FFD7FCCCD72C98D31B54E4C6
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Using \begin{alltt} ... \end{alltt} directly in the LaTeX-document
section works fine,
defining a new environment, containing \begin{alltt} and \end{alltt},
and using this environment does not work for me
(missing linebreaks).
(The new environment  is intended to do some additional things in the
future, of course).

Attached please find my LaTeX input and the html-output, I got.

I  have tried the "Latest released Version " from
http://saftsack.fs.uni-bayreuth.de/~latex2ht/download.html
as well as latex2html-99.2beta3.tar.gz from the same site.

Could you tell me a workaround, or a download site of a LaTeX2HTML
version, which does not show my bug?

Thanks in advance.

Dirk Husung
Rechenzentrum
TU Hamburg-Harburg

--------------FFD7FCCCD72C98D31B54E4C6
Content-Type: application/x-tex;
 name="test.tex"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="test.tex"

\documentclass{article}

\usepackage{html}
\usepackage{alltt}

\begin{document}

\newenvironment{Example}{\begin{alltt}}{\end{alltt}}

\begin{Example}
    Dies ist ein Test.
Dies ist ein Test.
\end{Example}

\begin{alltt}
    Dies ist ein Test.
Dies ist ein Test.
\end{alltt}

\end{document}
--------------FFD7FCCCD72C98D31B54E4C6
Content-Type: text/html; charset=us-ascii;
 name="test.html"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="test.html"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">

<!--Converted with LaTeX2HTML 99.2beta3 (1.35)
original version by:  Nikos Drakos, CBLU, University of Leeds
* revised and updated by:  Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
  Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<TITLE>test</TITLE>
<META NAME="description" CONTENT="test">
<META NAME="keywords" CONTENT="test">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="LaTeX2HTML v99.2beta3">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">

<LINK REL="STYLESHEET" HREF="test.css">

<LINK REL="next" HREF="node1.html">
</HEAD>

<BODY >
<!--Navigation Panel-->
<A NAME="tex2html1"
 HREF="node1.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
 SRC="file:/progsys/pd/latex2html-99.2beta3/icons/next.png"></A> 
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
 SRC="file:/progsys/pd/latex2html-99.2beta3/icons/up_g.png"> 
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
 SRC="file:/progsys/pd/latex2html-99.2beta3/icons/prev_g.png">   
<BR>
<B> Next:</B> <A NAME="tex2html2"
 HREF="node1.html">About this document ...</A>
<BR>
<BR>
<!--End of Navigation Panel-->

<P>

<P>

<DIV ALIGN="LEFT">
<TT>
 Dies ist ein Test.
Dies ist ein Test.</TT>
</DIV>

<P>

<DIV ALIGN="LEFT">
<TT>
 &nbsp;&nbsp;&nbsp;&nbsp;Dies ist ein Test.
<BR>
Dies ist ein Test.
<BR></TT>
</DIV>

<P>
<BR><HR>
<!--Table of Child-Links-->
<A NAME="CHILD_LINKS"></A>

<UL>
<LI><A NAME="tex2html3"
 HREF="node1.html">About this document ...</A>
</UL>
<!--End of Table of Child-Links-->
<BR><HR>
<ADDRESS>
Dirk Husung
1999-10-12
</ADDRESS>
</BODY>
</HTML>

--------------FFD7FCCCD72C98D31B54E4C6
Content-Type: text/plain; charset=us-ascii;
 name="l2hcfg.pm"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="l2hcfg.pm"

# LaTeX2HTML site specific configuration file
# generated by config.pl

# You may edit this file to get around deficiencies of the configuration
# procedure, but you have to be sure of what you are doing!
# If you think there are bugs in the configuration procedure, please report
# them. See the BUGS file on how to do it. Your help is appreciated!

package l2hcfg;
require Exporter;
@ISA = qw(Exporter);
@EXPORT = qw(%cfg);

$cfg{'BINDIR'} = q'/progsys/pd/latex2html-99.2beta3/bin';
$cfg{'CRAYOLAFILE'} = q'/progsys/pd/latex2html-99.2beta3/styles/crayola.txt';
$cfg{'DVIPS'} = q'/usr/local/bin/dvips';
$cfg{'DVIPSOPT'} = q' -E';
$cfg{'GS'} = q'/usr/bin/gs';
$cfg{'GSALIASDEVICE'} = q'ppmraw';
$cfg{'GSDEVICE'} = q'pnmraw';
$cfg{'GSLANDSCAPE'} = q'';
$cfg{'GS_LIB'} = q'';
$cfg{'HASHBANG'} = q'1';
$cfg{'HTML_VALIDATOR'} = q'';
$cfg{'ICONPATH'} = q'file:/progsys/pd/latex2html-99.2beta3/icons';
$cfg{'ICONSTORAGE'} = q'';
$cfg{'IMAGE_TYPES'} = q'png gif';
$cfg{'INITEX'} = q'/usr/local/bin/initex';
$cfg{'KPSEWHICH'} = q'/usr/local/bin/kpsewhich';
$cfg{'LATEX'} = q'/usr/local/bin/latex';
$cfg{'LATEX2HTMLDIR'} = q'/progsys/pd/latex2html-99.2beta3';
$cfg{'LIBDIR'} = q'/progsys/pd/latex2html-99.2beta3';
$cfg{'METADPI'} = q'0';
$cfg{'METAMODE'} = q'';
$cfg{'NULLFILE'} = q'/dev/null';
$cfg{'PBMMAKE'} = q'/usr/X11R6/bin/pbmmake';
$cfg{'PERL'} = q'/usr/local/bin/perl';
$cfg{'PERLFOOTER'} = q'';
$cfg{'PERLHEADER'} = <<'EOQ';
#! /usr/local/bin/perl -w
EOQ
$cfg{'PERLSCRIPTDIR'} = q'/usr/bin';
$cfg{'PK_GENERATION'} = q'0';
$cfg{'PNMCAT'} = q'/usr/X11R6/bin/pnmcat';
$cfg{'PNMCROP'} = q'/usr/X11R6/bin/pnmcrop';
$cfg{'PNMFILE'} = q'/usr/X11R6/bin/pnmfile';
$cfg{'PNMFLIP'} = q'/usr/X11R6/bin/pnmflip';
$cfg{'PNMTOPNG'} = q'/usr/X11R6/bin/pnmtopng';
$cfg{'PPMQUANT'} = q'/usr/X11R6/bin/ppmquant';
$cfg{'PPMTOGIF'} = q'/usr/X11R6/bin/ppmtogif';
$cfg{'PREFIX'} = q'/progsys/pd/latex2html-99.2beta3';
$cfg{'RGBCOLORFILE'} = q'/progsys/pd/latex2html-99.2beta3/styles/rgb.txt';
$cfg{'TEX'} = q'/usr/local/bin/tex';
$cfg{'TEXPATH'} = q'/progsys/pd/texmf/tex/latex/latex2html';
$cfg{'TMPSPACE'} = q'/tmp';
$cfg{'WEB2C'} = q'1';
$cfg{'dd'} = q'/';
$cfg{'distver'} = q'99.2beta3';
$cfg{'exec_extension'} = q'';
$cfg{'gif_interlace'} = q'netpbm';
$cfg{'gif_trans'} = q'netpbm';
$cfg{'have_dvipsmode'} = q'';
$cfg{'have_geometry'} = q'1';
$cfg{'have_images'} = q'1';
$cfg{'have_pstoimg'} = q'1';
$cfg{'perl_starter'} = q'';
$cfg{'pipes'} = q'1';
$cfg{'plat'} = q'unix';
$cfg{'scriptdir'} = q'/progsys/pd/latex2html-99.2beta3/bin';
$cfg{'scriptext'} = q'';
$cfg{'srcdir'} = q'/fs2/progsys/latex2html-99.2beta3';
$cfg{'texlive'} = q'0';
$cfg{'wrapper'} = q'0';

1; # must be last line

--------------FFD7FCCCD72C98D31B54E4C6--