Hi, * Igor schrieb am 13 Jan 2005:
> On Wed, 12 Jan 2005, Fabian Braennstroem wrote: > > > Hi Igor, > > > > * Igor schrieb am 12 Jan 2005: > > > > > On Tue, 11 Jan 2005, Fabian Braennstroem wrote: > > > > > > > Hi, > > > > > > > > I have a lot of verbatim text in my latex-document and use > > > > 'latex2html' to produce html-files. That works fine :-) > > > > > > > > Is there a way to tell 'latex2html' that the verbatim text > > > > should have a light gray background in the html-file? > > > > > > > > And, I just saw that it is possible to make some settings in > > > > the '.latex2html'-file. Can I find any examples for that? > > > > > > > > Best Greetings! > > > > > > Try simply using > > > > > > \begin[background-color=lightgray]{verbatim} > > > ... > > > \end{verbatim} > > > > > > and giving the "-html_version=4.0" option to latex2html. > > > > Thanks, but unfortunately it does not work. Even the the > > 'latex' and 'pdflatex' translation don't produce any colors > > for the verbatim background!? Do I need to have any extra > > package for that; I couldn't find any? > > Hi, Fabian, > > The above worked for me on my latex2html installation on Linux. However, > that code is latex2html-specific; it won't work in regular LaTeX. In > regular LaTeX (or pdfLaTeX), put a \colorbox around the verbatim > environment (you'll need the "color" package). In case you don't know, > you can use the \latexhtml command to conditionalize your code. That's funny. Now, I tried it with a smaller latex-file again and it worked, but for my large file it doesn't; strange!? For both I used the same 'headers'. Is there a size limit for this feature? Greetings! -- Fabian Braennstroem Duesseldorf/Berlin _______________________________________________ latex2html mailing list latex2html@tug.org http://tug.org/mailman/listinfo/latex2html