Created
May 31, 2012 13:55
-
-
Save zr-tex8r/2843556 to your computer and use it in GitHub Desktop.
Patch to correct non-e-TeX support of hyperref
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% hyperref-lpfix.sty | |
\NeedsTeXFormat{LaTeX2e} | |
\ProvidesPackage{hyperref-lpfix}[2012/05/30 v0.2] | |
\RequirePackage{hopatch} | |
\def\bxqhl@pkgname{hyperref-lpfix} | |
\def\reserved@a{% | |
\begingroup | |
\count@\HOpatch@counter\relax | |
\advance\count@\ltx@one\relax | |
\edef\x{\endgroup | |
\noexpand\def\noexpand\HOpatch@counter{\the\count@}% | |
}% | |
}% | |
\ifx\HOpatch@StepCounter\reserved@a | |
\def\HOpatch@StepCounter{% | |
\begingroup | |
\count@\HOpatch@counter\relax | |
\advance\count@\ltx@one\relax | |
\edef\x{\endgroup | |
\noexpand\def\noexpand\HOpatch@counter{\the\count@}% | |
}% | |
\x | |
}% | |
\PackageInfo\bxqhl@pkgname{Patch to hopatch applied} | |
\fi | |
\endinput | |
%% EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment