Package: tex4ht
Version: 20051223-1
Severity: minor
Tags: patch

*** Please type your report below this line ***

This is a problem with

/usr/share/doc/texmf/tex4ht/tex4ht_doc.html

At the bottom of the page, the tilde in the URL of [1] and [2] 
reference is not displayed but the links contain it.  Also the URL 
in [1] is incorrect: TeX4ht/ is missing before mn.html.

I think the problem is with the source file tex4ht_doc.tex.gz:
note that latex interprets ~ as a non-breakable space and not as a 
tilde character.  As for the hyperref package, arguments denoted by 
URL are exceptions, as they interpret # and ~ as normal characters.

I suggest that, since you want to display the URL you link to, you
use \url{...} instead of \href{...}{...}. Doing that you have to
type every URL only once not twice.

Therefore I suggest the following patch, which replaces \href with 
\url and corrects the URL in [1]:

--- tex4ht_doc.orig.tex 2006-02-12 15:20:18.000000000 +0100
+++ tex4ht_doc.tex      2006-02-12 15:20:51.000000000 +0100
@@ -198,16 +198,16 @@
 
 \begin{thebibliography}{00}
 \bibitem[1]{authdoc}
-\href{http://www.cse.ohio-state.edu/~gurari/mn.html}{http://www.cse.ohio-state.edu/~gurari/mn.html}
+\url{http://www.cse.ohio-state.edu/~gurari/TeX4ht/mn.html}
 The authoritative documentation maintained by Eitan M. Gurari.
 \bibitem[2]{website}
-\href{http://www.cse.ohio-state.edu/~gurari}{http://www.cse.ohio-state.edu/~gurari}
+\url{http://www.cse.ohio-state.edu/~gurari}
 Eitan M.~Gurari's web page that discusses related projects.
 \bibitem[3]{tex}
-\href{http://www.tug.org/}{http://www.tug.org/}
+\url{http://www.tug.org/}
 The \TeX\ User's group primary web site.
 \bibitem[4]{latex}
-\href{http://www.latex-project.org/}{http://www.latex-project.org/}
+\url{http://www.latex-project.org/}
 The \LaTeX\ project's primary web site.
 \end{thebibliography}
 \end{document}


Kind regards,

        Gabor Braun

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (650, 'testing'), (600, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.14-2-686
Locale: LANG=hu_HU.iso88592, LC_CTYPE=hu_HU.iso88592 (charmap=ISO-8859-2) 
(ignored: LC_ALL set to hu_HU.iso88592)

Versions of packages tex4ht depends on:
ii  libc6                     2.3.5-8        GNU C Library: Shared libraries an
ii  libkpathsea3              2.0.2-30sarge4 path search library for teTeX (run
ii  tetex-bin                 3.0-13         The teTeX binary files
ii  tex4ht-common             20051223-1     LaTeX and TeX for Hypertext (HTML)

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to