summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/issuulinks/issuulinks.sty8
1 files changed, 7 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/issuulinks/issuulinks.sty b/Master/texmf-dist/tex/latex/issuulinks/issuulinks.sty
index 6e2b63754c3..f44eb30ec6f 100644
--- a/Master/texmf-dist/tex/latex/issuulinks/issuulinks.sty
+++ b/Master/texmf-dist/tex/latex/issuulinks/issuulinks.sty
@@ -37,7 +37,7 @@
%% Right brace \} Tilde \~}
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{issuulinks}
-[2012/02/27 v1.0 Links in ISSUU style]
+[2012/03/22 v1.1 Links in ISSUU style]
\RequirePackage{xkeyval}
\def\issuusetup#1{\setkeys{ISL}{#1}}
\define@key{ISL}{prefix}{\def\ISL@prefix{#1}}
@@ -48,6 +48,12 @@
\if@filesw
\immediate\write\@mainaux{\string\providecommand\string\newISSUUlink[2]{}}%
\fi}
+\AtEndDocument{\let\newISSUUlink\@testISSUUlink}
+\def\@testISSUUlink#1#2{\@tempcnta=#2\relax\advance\@tempcnta by1\relax
+ \edef\reserved@a{\the\@tempcnta}%
+ \expandafter\ifx\csname ISL@link#1\endcsname\reserved@a\else
+ \@tempswatrue
+ \fi}
\let\new@pdflink@ISLorig=\new@pdflink
\def\new@pdflink#1{%
\@bsphack