In a document I want to do a reference to a specific section of an online documentation. Here is the link:
\documentclass{report}
\usepackage{hyperref}
\begin{document}
\href{https://raytracing-docs.nvidia.com/optix_6_0/guide_6_0/index.html\#host\#graph-nodes}{NVidia}
\end{document}
As you can see there is two #
. If don't escape both of them I've got this error:
! Illegal parameter number in definition of \Hy@tempa.
But if I escape both, the part of the link after second one is not taken into account.
How can I make the link works properly?
...html#graph-nodes
instead of...html#host#graph-nodes
you will land on the exact same spot in the documentation. This is also true for every other section or subsection of that page.