From cd372ffee7c90e2eff5670443481ea8eb4b3446c Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 30 Apr 2011 00:17:47 +0000 Subject: hrefhide 1.0f (29apr11) git-svn-id: svn://tug.org/texlive/trunk@22255 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/hrefhide/README | 25 +++++++------ .../doc/latex/hrefhide/hrefhide-example.pdf | Bin 113776 -> 114343 bytes .../doc/latex/hrefhide/hrefhide-example.tex | 40 ++++++++++++++------- Master/texmf-dist/doc/latex/hrefhide/hrefhide.pdf | Bin 303617 -> 319943 bytes 4 files changed, 41 insertions(+), 24 deletions(-) (limited to 'Master/texmf-dist/doc/latex/hrefhide') diff --git a/Master/texmf-dist/doc/latex/hrefhide/README b/Master/texmf-dist/doc/latex/hrefhide/README index 147c1023e24..79b2538d5af 100644 --- a/Master/texmf-dist/doc/latex/hrefhide/README +++ b/Master/texmf-dist/doc/latex/hrefhide/README @@ -1,4 +1,4 @@ -README for hrefhide package, 2011/02/01, v1.0e +README for hrefhide package, 2011/04/29, v1.0f TABLE OF CONTENTS @@ -18,13 +18,14 @@ TABLE OF CONTENTS 1 INTRODUCTION ============== -This package provides the command \hrefdisplayonly (instead -of \href). While the (hyperlinked) text appears like an -ordinary \href in the compiled pdf-file, the same text will -be "hidden" when printing the text. It is not really -invisible, but just has the same colour as the background -(default: white). Therefore the layout is not changed when +This package provides the command \hrefdisplayonly (additionally to \href of +the hyperref package by Heiko Oberdiek). While the (hyperlinked) text appears +like an ordinary nhref in the compiled pdf-file, the same text will be "hidden" +when printing the text. It is not really invisible, but just has the same colour +as the background (default: white). Therefore the layout is not changed when printing the document. +Further the commands \hycon and \hycoff (hyper-colour-on/off) can be used +to simulate switching option ocgcolorlinks of hyperref package on and off. 2 DOWNLOAD @@ -88,12 +89,12 @@ e) Update the databases if necessary, e.g. for teTeX: Depending on the driver and option settings, hrefhide loads other packages: -* color.sty (part of the graphics package bundle): - CTAN:macros/latex/required/graphics/color.dtx * hyperref.sty: CTAN:macros/latex/contrib/hyperref/hyperref.dtx * kvoptions.sty: - CTAN:macros/latex/contrib/oberdiek/kvoptions.pdf + CTAN:macros/latex/contrib/oberdiek/kvoptions.dtx +* xcolor.sty: + CTAN:/macros/latex/contrib/xcolor/xcolor.dtx which again load other packages (see the result of the \listfiles command in the log-file of the example). @@ -146,4 +147,6 @@ Bug reports can be send to the maintainer: 8 KNOWN PROBLEMS ================= -* as yet: none... \ No newline at end of file +* as yet: none... - Well, of course there are all issues + of the hyperref package with ocgcolorlinks option, + e.g. no linebreaks inside links. diff --git a/Master/texmf-dist/doc/latex/hrefhide/hrefhide-example.pdf b/Master/texmf-dist/doc/latex/hrefhide/hrefhide-example.pdf index 230da4215fa..76a4f9e3ecb 100644 Binary files a/Master/texmf-dist/doc/latex/hrefhide/hrefhide-example.pdf and b/Master/texmf-dist/doc/latex/hrefhide/hrefhide-example.pdf differ diff --git a/Master/texmf-dist/doc/latex/hrefhide/hrefhide-example.tex b/Master/texmf-dist/doc/latex/hrefhide/hrefhide-example.tex index af1b3797ddc..fb7c97e1cf0 100644 --- a/Master/texmf-dist/doc/latex/hrefhide/hrefhide-example.tex +++ b/Master/texmf-dist/doc/latex/hrefhide/hrefhide-example.tex @@ -8,10 +8,13 @@ %% %% This is a generated file. %% -%% IMPORTANT NOTICE: -%% The package takes options. +%% Project: hrefhide +%% Version: 2011/04/29 v1.0f %% -%% The usual disclaimers apply: +%% Copyright (C) 2010, 2011 by +%% H.-Martin M"unch +%% +%% The usual disclaimer applys: %% If it doesn't work right that's your problem. %% (Nevertheless, send an e-mail to the maintainer %% when you find an error in this package.) @@ -28,18 +31,17 @@ %% %% This work has the LPPL maintenance status "maintained". %% -%% The Current Maintainer of this work is H.-Martin Muench -%% (Martin dot Muench at Uni-Bonn dot de). +%% The Current Maintainer of this work is H.-Martin Muench. %% %% This work consists of the main source file hrefhide.dtx %% and the derived files %% hrefhide.sty, hrefhide.pdf, hrefhide.ins, hrefhide.drv, %% hrefhide-example.tex. %% -\documentclass[british]{article} +\documentclass[british]{article}[2007/10/19]% v1.4h %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\usepackage{lipsum}[2005/01/26]% v1.0 -\usepackage[ocgcolorlinks]{hyperref}[2010/12/16]% v6.81z +\usepackage{lipsum}[2011/04/14]% v1.2 +\usepackage[ocgcolorlinks,bookmarks=false,bookmarksopen=false]{hyperref}[2011/04/17]% v6.82g \hypersetup{extension=pdf,% plainpages=false,% pdfpagelabels=true,% @@ -50,10 +52,9 @@ pdfsubject={Example for the hrefhide package},% pdfkeywords={LaTeX, hrefhide, Hans-Martin Muench},% pdfview=Fit,pdfstartview=Fit,% - pdfpagelayout=SinglePage,% - bookmarksopen=true% + pdfpagelayout=SinglePage% } -\usepackage[linktextcolour=black,backgroundcolour=white,pdfborder={0 0 1}]{hrefhide}[2011/02/01]% v1.0e +\usepackage[linktextcolour=black,backgroundcolour=white,pdfborder={0 0 1}]{hrefhide}[2011/04/29]% v1.0f \gdef\unit#1{\mathord{\thinspace\mathrm{#1}}}% \listfiles \begin{document} @@ -61,7 +62,7 @@ \section*{Example for hrefhide} This example demonstrates the use of package\newline -\textsf{hrefhide}, v1.0e as of 2011/02/01 (HMM).\newline +\textsf{hrefhide}, v1.0f as of 2011/04/29 (HMM).\newline The used options were \texttt{linktextcolour=black}, \texttt{backgroundcolour=white}, and \texttt{pdfborder={0 0 1}} (the default ones).\newline @@ -122,9 +123,22 @@ duis dolore te feugait nulla facilisi.\newline Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis. Curabitur dictum gravida -mauris. Nam arcu libero, nonummy eget, consectetuer id, vulputate a, magna. +mauris. Nam arcu libero, nonummy eget, consectetuer id, vulputate a, +magna.\newline + +Switching to coloured links with \verb|\hycon|:\newline +\hycon +\href{\#RefX}{X} and also +\href{http://www.ctan.org/pkg/hrefhide}{http://www.ctan.org/pkg/hrefhide}. + +Switching off the coloured links with \verb|\hycoff| again:\newline +\hycoff +\href{\#RefY}{Y} and also +\href{http://www.ctan.org/tex-archive/macros/latex/contrib/hrefhide}{% +http://www.ctan.org/tex-archive/macros/latex/contrib/hrefhide}. \pagebreak + {\Large \textbf{Targets}}\\ Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat diff --git a/Master/texmf-dist/doc/latex/hrefhide/hrefhide.pdf b/Master/texmf-dist/doc/latex/hrefhide/hrefhide.pdf index fc9615bc56f..d6badad206c 100644 Binary files a/Master/texmf-dist/doc/latex/hrefhide/hrefhide.pdf and b/Master/texmf-dist/doc/latex/hrefhide/hrefhide.pdf differ -- cgit v1.2.3