I want to reference the web-reference to the wiki https://en.wikipedia.org/wiki/Pokémon_Go
.
If I paste it into a footnote
\footnote{https://en.wikipedia.org/wiki/Pok%C3%A9mon_Go}
I get File ended while scanning use of \@footnotetext.
; if I add \url
as adviced in How to use a link as footnote that has special characters inside? or escape the special characters I get:
\documentclass{article}
\usepackage{url}
\begin{document}
some text
\footnote{\url{https://en.wikipedia.org/wiki/Pok%C3%A9mon_Go}}
% the conversion is automatically done when pasting (in texstudio at least)
\footnote{https://en.wikipedia.org/wiki/Pok\%C3\%A9mon\_Go}
\footnote{another footnote}
\end{document}
which results in references which look ok, but do not work (and are not clickable):
If I add \usepackage{hyperref}
and combining all options I found, neither produces a clickable reference. What would be a working solution?
\documentclass{article}
%\usepackage{url}
\usepackage{hyperref}
\begin{document}
some text
%\footnote{\url{https://en.wikipedia.org/wiki/Pok%C3%A9mon_Go}}
% the conversion is automatically done when pasting (in texstudio at least)
% scanning fails
\footnote{https://en.wikipedia.org/wiki/Pok\%C3\%A9mon\_Go}
% prints incorrect and non-clickable ref
\footnote{https://en.wikipedia.org/wiki/Pokémon\_Go}
% prints correct but not clickable ref
\footnote{\url{https://en.wikipedia.org/wiki/Pokémon\_Go}}
% produces weird output
\footnote{another footnote}
\end{document}
The output is:
%
is the comment character so you have commented out the rest of that line.é
isn't actually a simple letter likee
. It is a combination of macro calls that typesets 'é'. In the context of the\url
macro, this macro combination doesn't manage to typeset an 'é' as expected (because\url
does a lot of tricky stuff behind the scenes) and instead generates the output you see. You get the output you probably want to see if you compile your document with LuaLaTeX or XeLaTeX, which support UTF-8 natively and not via macro tricks.