Package: latexml
Version: 0.7.0-1
Severity: normal
If you try to use latexml and the document has hyperref package then
any hyperref links become a mess.
So tex source could have:
A link to the \hyperref[blah]{link} to test. \ref{blah}
turns into:
<p class="p">A link to the <a href="%5B#b.l" title=""
class="ref">a</a>h]link to test. <a href="#Ch0.S1" title="ยง0.1. Blah"
class="ref">0.1</a></p>
The \hyperref link to "%5B#b.l" is wrong, but the \ref link of "#Ch0.S1"
is correct. pdf documents link correctly from the same source.
Attached is my test file.
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages latexml depends on:
ii imagemagick 8:6.7.7.10-5
ii libparse-recdescent-perl 1.967009+dfsg-1
ii libxml-libxml-perl 2.0010+dfsg-1
ii libxml-libxslt-perl 1.78-1
ii libxml2 2.8.0+dfsg1-7
ii libxslt1.1 1.1.26-14
ii perl 5.14.2-15
ii perlmagick 8:6.7.7.10-5
latexml recommends no packages.
latexml suggests no packages.
-- no debconf information
\documentclass{book}
\usepackage{hyperref}
\begin{document}
\section{Blah}
\label{blah}
This is first blah.
\section{Second}
\label{second}
A link to the \hyperref[blah]{link} to test. \ref{blah}
\end{document}