I face a weird problem. I use \url{} (URL package) to specify a URL in a bibitem. After compiling my LateX file, the URL is well displayed in my PDF file. But, when I drag the mouse over the URL, the URL that is displayed in the floating box appearing is wrong: it contains additional numbers. When I click on it, my browser goes to this wrong URL and does not find of course any website. My URL is quite long and it seems that these unwanted numbers appear whenever a linebreak is used by LateX.

Could anyone help me to solve this issue ?


If your PDF viewer has made the link using some heuristics, then try package hyperref to get link annotations in the PDF file. Otherwise a MWE would show problematic characters in the URL (they might need to be percent encoded).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.