When the hyperref
package is used, it creates nice anchors that can be used as part of a URL to get to specific locations in the generated PDF file.
\documentclass {book}
\usepackage{hyperref}
\begin{document}
\tableofcontents*
\chapter {One}
\clearpage
\chapter {Two}
\clearpage
\chapter {Chapter Three}
\end{document}
When the resultant PDF is placed in a directory that a webserver can reach, the URL with the anchor #One leads to the beginning of Chapter One, but the URL with the anchor #Chapter%20Three leads to the beginning of the PDF file.
How can I make an external URL that is anchored to Chapter Three?