[tex4ht] tex4ht puts the wrong link when splitting document. How to make the top of the page visible?

Nasser M. Abbasi nma at 12000.org
Thu Dec 31 03:38:34 CET 2015


On 12/30/2015 8:24 PM, Nasser M. Abbasi wrote:

>
> And now from foo.htm, clicking on the link called HW1,

opps, This should be link called HW  not HW1 (i.e chapter name),
since it is being split at chapter level. (2).

Here is a more clear example:

-------------------
documentclass{report}%
\usepackage{lipsum}
\begin{document}
\tableofcontents

\chapter{HW}
This is a test
\section{HW1}
     \lipsum
     \lipsum
     \lipsum

\section{HW2}
     \lipsum
     \lipsum
     \lipsum

\chapter{more HW}
This is a test
\section{HW1}
     \lipsum
     \lipsum
     \lipsum

\section{HW2}
     \lipsum
     \lipsum
     \lipsum

\end{document}
---------------------

make4ht --lua -u foo.tex "htm,2,pic-align,notoc*"

The document is split at chapter level. So clicking
on a chapter name, should open the child page at the top,
which it does, except the navigators do not show. This
is the issue. It will be better to open showing the
very top of the page which clicking on chapter name.

Thanks,
--Nasser







More information about the tex4ht mailing list