diff options
author | Karl Berry <karl@freefriends.org> | 2012-03-26 00:06:19 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-03-26 00:06:19 +0000 |
commit | 8b4a296d0bf7ae6f5ce1f2b9aa04ae08663b4828 (patch) | |
tree | a5f5876b9904255427d33f883f95f5f6b932f8d0 /Master/texmf-dist/tex/latex/issuulinks | |
parent | f6a16202e440436a754d3f1d14236c6043d4ea33 (diff) |
issuulinks 1.1 (23mar12)
git-svn-id: svn://tug.org/texlive/trunk@25742 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/issuulinks')
-rw-r--r-- | Master/texmf-dist/tex/latex/issuulinks/issuulinks.sty | 8 |
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 |