[l2h] Bug in LaTeX2HTML: ligature-breaking chars don't work)

Anthony Fok Anthony Fok <foka@ualberta.ca>
Thu, 29 Jun 2000 02:57:06 -0600


Hello!  This is my first post here.  :-)

While working with LaTeX2HTML to generate the Chinese version of the
Debian GNU/Linux: Guide to Installation and Usage (written by fellow
Debian developers John Goerzen and Ossama Othman), we noticed that
there's a bug report filed against debian-guide, saying that text like:
"drwxrwx---" shows up as "drwxrwx--" in the LaTeX2HTML output, while it
looks perfectly fine in the dvi / ps version.  Checking the TeX source,
the above was typeset using:

	\texttt{drwxrwx-{}-{}-}

The {} should be able to separate the "---" ligature into 3 hyphens.
I went ahead and tried the following alternatives, but to no avail:

	\texttt{drwxrwx-\/-\/-}
	\texttt{drwxrwx-\textcompwordmark-\textcompwordmark-}
	\texttt{drwxrwx-\textcompwordmark{}-\textcompwordmark{}-}

i.e., LaTeX2html seems to be neglecting any kind of ligature-breaking
characters.  I had to work around the problem by using an ugly kludge
like \texttt{\latexhtml{-\/-\/-}{\begin{rawhtml}---\end{rawhtml}}.
Any solutions and bug fixes?  Thanks in advance!  :-)

Anthony

-- 
Anthony Fok Tung-Ling                Civil and Environmental Engineering
foka@ualberta.ca, foka@debian.org    University of Alberta, Canada
Come visit Our Lady of Victory Camp -- http://www.olvc.ab.ca/