Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

A have a LaTeX paper I want to submit to the EDAS system. EDAS doesn't want papers to have links and suggests to 'remove the hyperref package from your file'. However, if I do that, my compilation breaks because of some hyperref options in my tex files (and also \url definitions, I think).

I want to keep everything as it is, and just disable the linking feature of hyperref to create a link-free version of my PDF. How can I do this?

Following the hyperref documentation I did \usepackage[draft]{hyperref}, and that seems to work. But that doesn't seem to be the official way. And I don't want to test multiple times if EDAS accepts it or not, because all authors get notified each time I submit a new version. Also, the [draft] option doesn't remove the PDF bookmarks either, which EDAS also doesn't want.

share|improve this question
What do you mean by 'doesn't seem to be the official way'? –  Ian Thompson Apr 25 '12 at 15:21
@Ian: I would expect there to be an option like \usepackage[disablelinks]{hyperref} or similar, but I scanned the documentation and didn't find such a thing. –  Rabarberski Apr 25 '12 at 15:22
Did you try \usepackage[options]{nohyperref}? This should be a package that defines everything hyperref does, but does nothing. –  egreg Apr 25 '12 at 15:26
@egreg: good suggestion, but compilation still fails on the \url{http://...} entries in my bibtex file (.bbl): undefined control sequence –  Rabarberski Apr 25 '12 at 15:33
Then add \usepackage{url} –  Boris Apr 25 '12 at 15:35
show 2 more comments

1 Answer

up vote 14 down vote accepted

Thanks to @egreg, the recipe is

\usepackage[options]{nohyperref}  % This makes hyperref commands do nothing without errors
\usepackage{url}  % This makes \url work
share|improve this answer
The url package does not provide the same \url. In particular if your URL contains special characters such as _%#{}, hyperref's \url does require you to escape them with a backslash, while, with url's \url, those characters are not to be escaped. In fact with the url package any `\` in your URLs is treated as a normal character and displayed in the final PDF. –  Po' Lazarus Feb 7 '13 at 10:03
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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