[l2h] Tabbing and <BR>

fabien fabien at secureops.com
Thu Aug 21 19:19:25 CEST 2003


Hi everybody...

I have a question about the latex2html tabbing processing.
Between each line of a tabbing section, a blanked line is inserted in the HTML file - an <BR> tag.

Why ??? I don't want a such space text !!!

This is my sample...
I have the following tex source :

     ===== begin Sample.tex =====
     \documentclass[letterpaper,10pt]{article}
     \usepackage[T1]{fontenc}
     \usepackage{html}
     \usepackage{htmllist}
     \usepackage{times}
     \usepackage{bookman}
     \setlength{\parindent}{1cm}

     \author{Fabien}
     \title{Unix handbook}

     \begin{document}

     %----- XFREE86 settings -----
     \section{XFREE86 settings}

     \subsection{Keyboard}
     \begin{tabbing}
     \hspace{10mm} \= \hspace{35mm} \= \hspace{35mm} \= hspace{35mm} \kill
     Section "Module" \\
     ... \\
     Section "InputDevice" \\
     ~ \> Option \> "XkbModel" \> "pc105" \\
     ~ \> Option \> "XkbLayout" \> "\textbf{ca | us\_intl}" \\
     ~ \> Option \> "AutoRepeat" \> "200 10" \\
     \end{tabbing}

     \end{document}
     ===== end Sample.tex =====

I generate the html file with the following commands :
 - latex sample.tex
 - latex2html -info 0 -split 0 -toc_depth 5 -no_navigation sample

Latex version is :
  ~/>latex -v
  TeX (Web2C 7.4.5) 3.14159
  kpathsea version 3.4.5
  Copyright (C) 1997-2003 D.E. Knuth.
  Kpathsea is copyright (C) 1997-2003 Free Software Foundation, Inc.
  There is NO warranty.  Redistribution of this software is
  covered by the terms of both the TeX copyright and
  the GNU General Public License.
  For more information about these matters, see the files
  named COPYING and the TeX source.
  Primary author of TeX: D.E. Knuth.
  Kpathsea written by Karl Berry and others.

and Latex2HTML version is :
~/>latex2html -v
This is LaTeX2HTML Version 2002-2-1 (1.70)
by Nikos Drakos, Computer Based Learning Unit, University of Leeds.

And I obtained the following HTML file :
     ===== begin Sample.html =====
     <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">

     <!--Converted with LaTeX2HTML 2002-2-1 (1.70)
     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>Unix handbook</TITLE>
     <META NAME="description" CONTENT="Unix handbook">
     <META NAME="keywords" CONTENT="sample">
     <META NAME="resource-type" CONTENT="document">
     <META NAME="distribution" CONTENT="global">

     <META NAME="Generator" CONTENT="LaTeX2HTML v2002-2-1">
     <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">

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

     </HEAD>

     <BODY >

     <P>

     <H1><A NAME="SECTION00010000000000000000">
     XFREE86 settings</A>
     </H1>

     <P>

     <H2><A NAME="SECTION00010100000000000000">
     Keyboard</A>
     </H3>
     <PRE><TT>
     Section "Module" 
!!!  <BR>... 
!!!  <BR>
     Section "InputDevice" 
!!!  <BR>&nbsp;               Option                  "XkbModel"              "pc105" 
!!!  <BR>&nbsp;               Option                  "XkbLayout"             "<B>ca | us_intl</B>" 
!!!  <BR>&nbsp;               Option                  "AutoRepeat"            "200 10" 
     <BR>
     </TT></PRE>

     <P>
     <BR><HR>
     <ADDRESS>
     Developpement
     2003-08-21
     </ADDRESS>
     </BODY>
     </HTML>
     ===== begin Sample.html =====

Lines with '!!!' are lines which seems not good...
I didn't want these <BR> which insert a blanked lines in my HTML file !!!

What can I do ???

Thanks in advance for your help.


More information about the latex2html mailing list