summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-10-10 17:25:55 +0000
committerKarl Berry <karl@freefriends.org>2010-10-10 17:25:55 +0000
commit0fef2ae924df0069d97216a00d953ff5ef79e075 (patch)
tree580ef60c3456bb7ffcbca352364b0dc75f26a938 /Master/texmf-dist/tex/latex
parent597bec226dcb46cf6b65390d78f5363f1b084aef (diff)
hrefhide update (29jul10)
git-svn-id: svn://tug.org/texlive/trunk@20041 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/muench/hrefhide/hrefhide.sty26
1 files changed, 13 insertions, 13 deletions
diff --git a/Master/texmf-dist/tex/latex/muench/hrefhide/hrefhide.sty b/Master/texmf-dist/tex/latex/muench/hrefhide/hrefhide.sty
index efc8a953289..f0515b00150 100644
--- a/Master/texmf-dist/tex/latex/muench/hrefhide/hrefhide.sty
+++ b/Master/texmf-dist/tex/latex/muench/hrefhide/hrefhide.sty
@@ -37,7 +37,7 @@
%% hrefhide-example.tex.
%%
\NeedsTeXFormat{LaTeX2e}[1994/06/01]
-\ProvidesPackage{hrefhide}[2010/06/24 v1.0c
+\ProvidesPackage{hrefhide}[2010/07/29 v1.0d
Hiding hyperrefs when printing pdf files (HMM)]%
%% Allows to "hide" hyperlinked text in a pdf file when printing
@@ -45,7 +45,7 @@
%% by providing the command \hrefdisplayonly.
\RequirePackage{color}[2005/11/14]% v1.0j, from the graphics bundle
-\RequirePackage{hyperref}[2010/06/04]% v6.81f
+\RequirePackage{hyperref}[2010/06/18]% v6.81g
\RequirePackage{kvoptions}[2010/02/22]% v3.7
%% hrefhide may work with earlier versions of those packages,
%% but this was not tested. Please consider updating your packages
@@ -75,28 +75,28 @@
\hycoff%
}
-\AtBeginDocument{
- \ifHy@ocgcolorlinks \relax
- \else
+\AtBeginDocument{%
+ \ifHy@ocgcolorlinks \relax%
+ \else%
\PackageError{hrefhide}{hyperref package missing option ocgcolorlinks}{%
The package hrefhide needs the hyperref package\MessageBreak%
with option ocgcolorlinks.\MessageBreak%
That option is missing!\MessageBreak%
Now the link(s) will be ''hidden'' in pdf view also.\MessageBreak%
- }
- \fi
- \def\hrefhide@driver{hpdftex}
- \ifx\Hy@driver\hrefhide@driver \relax
- \else
+ }%
+ \fi%
+ \def\hrefhide@driver{hpdftex}%
+ \ifx\Hy@driver\hrefhide@driver \relax%
+ \else%
\PackageError{hrefhide}{Producing not a pdf file}{%
The package hrefhide only works for a pdf file,\MessageBreak%
but driver \Hy@driver\space instead of \hrefhide@driver\space was found.\MessageBreak%
Use pdfLaTeX to compile your document.\MessageBreak%
(No large harm was done, but the respective\MessageBreak%
link text will neither be hidden when printing.)\MessageBreak%
- }
- \fi
- \hycoff
+ }%
+ \fi%
+ \hycoff%
}
\endinput