# enotez \href problem

I'm making proof with \href (hyperref package) and enote (enotez package)

 \documentclass{article}
\usepackage[backref]{enotez}
\usepackage{hyperref}
\let\footnote=\endnote

\begin{document}
Sample text.\endnote {\href{https://www.ibm.com}} \printendnotes
\end{document}


But, this code, Does not link the .pdf to the webstite

Why?

TIA

Renato

\href has two argument. Use either \url or add the second argument. Be aware that special chars in the url (%, _ etc) can be problematic if the command is used in the argument of another (but I didn't test it).

\documentclass{article}
\usepackage[backref]{enotez}
\usepackage{hyperref} \let\footnote=\endnote

\begin{document} Sample text.\endnote {\url{https://tex.stackexchange.com/questions/472537/enotez-href-problem}}

\endnote{\href{https://tex.stackexchange.com/questions/472537/enotez-href-problem}{some text}}
\printendnotes
\end{document}

• not even this. This, link Just to the note not to website – RenatoP Jan 30 '19 at 11:11
• Works fine for me. How are you compiling? Which pdf viewer do you use? – Ulrike Fischer Jan 30 '19 at 11:14
• compiler: pdflatex viewer : sumatra pdf – RenatoP Jan 30 '19 at 11:22
• ok, I've uderstand the prob: I was thinking to clicck the number over the sentence, instead this works and I need to click the address. ok. thatì's work! – RenatoP Jan 30 '19 at 11:35