TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

After upgrading to MiKTeX 2.9 my beamer files stopped working. The code:


Gives some 20 errors and two warnings, the first error being:

! Undefined control sequence.
<argument> ...eamer@linkspace {6pt}\Hy@xspace@end 
                             \Hy@LinkMath \Hy@SaveSpace...

and the first warning:

LaTeX Font Warning: Font shape `OT1/cmss/m/n' in size <4> not available
(Font)              size <5> substituted on input line 3.

The log file is available here.

I have searched the web in vain, for example tried deleting the .aux file as suggested at Beamer - undefined control sequence, the solutions did not work.

share|improve this question
Seems to be an issue with the hyperref package which is loaded by beamer. – Martin Scharrer Apr 14 '11 at 14:57

update the package hyperref. If it is not available with MiKTeX (for TeXLive it was updated yesterday) try in the preamble:

share|improve this answer
The \makeatletter\def\Hy@xspace@end{}\makeatother did work! Thank you!! Updating the hyperref and \def\Hy@xspace@end{} did not work, but the newest update of hyperref that I could find was from 14. of april (not yesterday). – Hafrún Hauksdóttir Apr 14 '11 at 15:57

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.