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

Ross Moore Ross Moore <ross@ics.mq.edu.au>
Thu, 29 Jun 2000 20:30:14 +1000 (EST)


> 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,

Is this within a verbatim:  e.g.  \verb|drwxrwx---|
(after all, it isn't a word, is it ?)


> 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{}-}

Yeah,  \textcompwordmark  isn't recognised by LaTeX2HTML.
I'll put that on the TODO list.


> 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!  :-)

An ordinary \verb|....| should do it.


Hope this helps,

	Ross Moore


 
> 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/
>