I'm try to open a .pdf to a specific page from my pdf generate using pdflatex, this is a valid url
that do what I want in my browser:
http://www.icomos.org/charters/venice_e.pdf#page=4
#page=4
indicate the page I want to open, but it seems that when I use it in a \footnote
doesn't work:
\footnote{\url{http://www.icomos.org/charters/venice_e.pdf#page=4}}
In my LaTeX document, doesn't work I've got this error:
Illegal parameter number in definition of \Hy@tempa.<to be read again>p ....icomos.org/charters/venice_e.pdf#page=4}}
Caused by #page=4
. This is a MWE:
\documentclass[12pt,a4paper]{book}
\usepackage{hyperref}
\begin{document}
words words words \footnote{\url{http://www.icomos.org/charters/venice_e.pdf#page=4}}
\end{document}
How can I solve the problem?
url
package with your\url{http://www.icomos.org/charters/venice_e.pdf#page=4}
, there is no error...\url{<something with #>}
in an argument to another macro?\
. Like this:\footnote{\url{http://www.icomos.org/charters/venice_e.pdf\#page=4}}