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.

  • Seems to be an issue with the hyperref package which is loaded by beamer. Apr 14, 2011 at 14:57

1 Answer 1


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

  • 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). Apr 14, 2011 at 15:57

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .