diff options
author | Karl Berry <karl@freefriends.org> | 2010-10-10 17:25:55 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-10-10 17:25:55 +0000 |
commit | 0fef2ae924df0069d97216a00d953ff5ef79e075 (patch) | |
tree | 580ef60c3456bb7ffcbca352364b0dc75f26a938 /Master/texmf-dist/source/latex | |
parent | 597bec226dcb46cf6b65390d78f5363f1b084aef (diff) |
hrefhide update (29jul10)
git-svn-id: svn://tug.org/texlive/trunk@20041 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex')
3 files changed, 80 insertions, 62 deletions
diff --git a/Master/texmf-dist/source/latex/muench/hrefhide/hrefhide.drv b/Master/texmf-dist/source/latex/muench/hrefhide/hrefhide.drv index 2f7f2a4339a..dc4411dc63d 100644 --- a/Master/texmf-dist/source/latex/muench/hrefhide/hrefhide.drv +++ b/Master/texmf-dist/source/latex/muench/hrefhide/hrefhide.drv @@ -48,7 +48,7 @@ %% recent version). %% Warning: holtxdoc, 2010/04/24 v0.19, requires the packages %% hypdoc, 2010/03/26, v1.9 -%% hyperref, 2010/03/30, v6.80u (latest: 2010/06/04 v6.81f) +%% hyperref, 2010/03/30, v6.80u (latest: 2010/06/18 v6.81g) %% pdftexcmds, 2010/04/01, v0.9 %% ltxcmds, 2010/03/09, v1.4 (latest: 2010/04/26, v1.7) %% hologo, 2010/04/24, v1.2 @@ -76,13 +76,11 @@ \CodelineIndex \EnableCrossrefs \hyphenation{docu-ment} -\makeatletter %% Code from tcilatex.tex, Macros for Scientific Word and Scientific WorkPlace 5.5 <06 Oct 2005> %% %% Copyright (C) 2005 Mackichan Software, Inc. %% %% That macro file is NOT proprietary and may be freely copied and distributed. %% \def\unit#1{\mathord{\thinspace\rm #1}}% %% End of code from tcilatex.tex %% -\makeatother \begin{document} \DocInput{hrefhide.dtx}% \end{document} diff --git a/Master/texmf-dist/source/latex/muench/hrefhide/hrefhide.dtx b/Master/texmf-dist/source/latex/muench/hrefhide/hrefhide.dtx index 6f0155a978c..cabf367cf15 100644 --- a/Master/texmf-dist/source/latex/muench/hrefhide/hrefhide.dtx +++ b/Master/texmf-dist/source/latex/muench/hrefhide/hrefhide.dtx @@ -1,9 +1,9 @@ % \iffalse meta-comment % % hrefhide package -% file version: v1.0c -% file date: 2010/06/24 -% documentation date: 2010/06/24 +% file version: v1.0d +% file date: 2010/07/29 +% documentation date: 2010/07/29 % % Copyright (C) 2010 H.-Martin M\"{u}nch (Martin dot Muench at Uni-Bonn dot de) % Portions of code copyrighted by other people as marked. @@ -85,7 +85,7 @@ \obeyspaces \Msg{******************************************************} \Msg{* Installation *} -\Msg{* Package: hrefhide v1.0c 2010/06/24 LaTeX2e package *} +\Msg{* Package: hrefhide v1.0d 2010/07/29 LaTeX2e package *} \Msg{* Hiding hyperrefs when printing pdf files (HMM) *} \Msg{******************************************************} @@ -191,7 +191,7 @@ and the derived files %% recent version). %% Warning: holtxdoc, 2010/04/24 v0.19, requires the packages %% hypdoc, 2010/03/26, v1.9 -%% hyperref, 2010/03/30, v6.80u (latest: 2010/06/04 v6.81f) +%% hyperref, 2010/03/30, v6.80u (latest: 2010/06/18 v6.81g) %% pdftexcmds, 2010/04/01, v0.9 %% ltxcmds, 2010/03/09, v1.4 (latest: 2010/04/26, v1.7) %% hologo, 2010/04/24, v1.2 @@ -223,13 +223,11 @@ and the derived files %\RecordChanges % Gather update information. %\OnlyDescription % Comment out for implementation details. \hyphenation{docu-ment} -\makeatletter %% Code from tcilatex.tex, Macros for Scientific Word and Scientific WorkPlace 5.5 <06 Oct 2005> %% %% Copyright (C) 2005 Mackichan Software, Inc. %% %% That macro file is NOT proprietary and may be freely copied and distributed. %% \def\unit#1{\mathord{\thinspace\rm #1}}% %% End of code from tcilatex.tex %% -\makeatother \begin{document} \DocInput{hrefhide.dtx}% \end{document} @@ -305,7 +303,7 @@ and the derived files % % \fi % -% \CheckSum{0} +% \CheckSum{58} % % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -359,11 +357,11 @@ and the derived files % \DoNotIndex{\chapter,\section} % % \title{The \textsf{hrefhide} package\footnote{This file% -% has version number v1.0c, last% -% revised 2010/06/24, documentation dated 2010/06/24.}} +% has version number v1.0d, last% +% revised 2010/07/29, documentation dated 2010/07/29.}} % \author{H.-Martin M\"{u}nch\\ % (\texttt{Martin dot Muench at Uni-Bonn dot de})} -% \date{2010/06/24} +% \date{2010/07/29} % % \maketitle % @@ -479,7 +477,7 @@ and the derived files \documentclass[british]{article} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \usepackage{lipsum}[2005/01/26]% v1.0 -\usepackage[ocgcolorlinks]{hyperref}[2010/06/04]% v6.81f +\usepackage[ocgcolorlinks]{hyperref}[2010/06/18]% v6.81g \hypersetup{extension=pdf,% plainpages=false,% pdfpagelabels=true,% @@ -493,22 +491,20 @@ and the derived files pdfpagelayout=SinglePage,% bookmarksopen=true% } -\usepackage[linktextcolour=black,backgroundcolour=white,pdfborder={0 0 1}]{hrefhide}[2010/06/24]% v1.0c +\usepackage[linktextcolour=black,backgroundcolour=white,pdfborder={0 0 1}]{hrefhide}[2010/07/29]% v1.0d %% This are the default options. %% -\makeatletter %% Code from tcilatex.tex, Macros for Scientific Word and Scientific WorkPlace 5.5 <06 Oct 2005> %% %% Copyright (C) 2005 Mackichan Software, Inc. %% %% That macro file is NOT proprietary and may be freely copied and distributed. %% \def\unit#1{\mathord{\thinspace\rm #1}}% %% End of code from tcilatex.tex %% -\makeatother \listfiles \begin{document} \pagenumbering{arabic} \section*{Example for hrefhide} This example demonstrates the use of package\newline -\textsf{hrefhide}, v1.0c as of 2010/06/24 (HMM).\newline +\textsf{hrefhide}, v1.0d as of 2010/07/29 (HMM).\newline The used options were \texttt{linktextcolour=black}, \texttt{backgroundcolour=white}, and \texttt{pdfborder={0 0 1}} (the default ones).\newline @@ -612,6 +608,9 @@ nisl ut aliquip ex ea commodo consequat. % % \newpage % +% \StopEventually{ +% } +% % \section{The implementation} % % We start off by checking that we are loading into \LaTeXe\ and @@ -623,7 +622,7 @@ nisl ut aliquip ex ea commodo consequat. % % \begin{macrocode} \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)]% % \end{macrocode} @@ -648,7 +647,7 @@ nisl ut aliquip ex ea commodo consequat. % (see subsection~\ref{ss:Downloads}): % % \begin{macrocode} -\RequirePackage{hyperref}[2010/06/04]% v6.81f +\RequirePackage{hyperref}[2010/06/18]% v6.81g % \end{macrocode} % % and the \textsf{kvoptions} package, also of Heiko Oberdiek @@ -775,7 +774,7 @@ nisl ut aliquip ex ea commodo consequat. % % \begin{macro}{\AtBeginDocument} % \begin{macrocode} -\AtBeginDocument{ +\AtBeginDocument{% % \end{macrocode} % % \indent |\AtBeginDocument| it is checked whether @@ -786,24 +785,24 @@ nisl ut aliquip ex ea commodo consequat. % message is given. % % \begin{macrocode} - \ifHy@ocgcolorlinks \relax - \else + \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 + }% + \fi% % \end{macrocode} % % \noindent We check whether |\Hy@driver| is |hpdftex|, i.\,e.~a~\xext{pdf}-file % is in production. % % \begin{macrocode} - \def\hrefhide@driver{hpdftex} - \ifx\Hy@driver\hrefhide@driver \relax - \else + \def\hrefhide@driver{hpdftex}% + \ifx\Hy@driver\hrefhide@driver \relax% + \else% % \end{macrocode} % % \noindent If this is not the case (for example for a \xext{dvi}-file), @@ -816,8 +815,8 @@ nisl ut aliquip ex ea commodo consequat. 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 + }% + \fi% % \end{macrocode} % % Because we need link colouring, we use option \texttt{ocgcolorlinks}, @@ -825,7 +824,7 @@ nisl ut aliquip ex ea commodo consequat. % of link colouring OFF, therefore |\hycoff| is used |\AtBeginDocument|: % % \begin{macrocode} - \hycoff + \hycoff% } % \end{macrocode} @@ -868,7 +867,7 @@ nisl ut aliquip ex ea commodo consequat. % \item[-] package \textsf{color}, 2005/11/14, v1.0j, from the \textsf{graphics}-bundle,\\ % \CTAN{macros/required/graphics/color.dtx} % -% \item[-] package \textsf{hyperref}, 2010/06/04, v6.81f\\ +% \item[-] package \textsf{hyperref}, 2010/06/18, v6.81g\\ % \CTAN{macros/latex/contrib/hyperref/hyperref.dtx} % % \item[-] package \textsf{kvoptions}, 2010/02/22, v3.7,\\ @@ -885,7 +884,7 @@ nisl ut aliquip ex ea commodo consequat. % \item[-] package \textsf{lipsum}, 2005/01/26, v1.0,\\ % \CTAN{macros/latex/contrib/lipsum/lipsum.dtx} % -% \item[-] package \textsf{hrefhide}, 2010/06/24, v1.0c,\\ +% \item[-] package \textsf{hrefhide}, 2010/07/29, v1.0d,\\ % \CTAN{macros/latex/contrib/hrefhide/hrefhide.dtx}\\ % (Well, it is the example file for this package, and because you are reading the % documentation for the \textsf{hrefhide} package, it can be assumed that you already @@ -895,7 +894,7 @@ nisl ut aliquip ex ea commodo consequat. % \DescribeMacro{hyperref} % As possible alternative in section \ref{sec:Alternatives} there is listed % \begin{description} -% \item[-] package \textsf{hyperref}, 2010/06/04, v6.81f,\\ +% \item[-] package \textsf{hyperref}, 2010/06/18, v6.81g,\\ % \CTAN{macros/latex/contrib/hyperref/} % with option \texttt{ocgcolorlinks} and\\ % |{\color{white} \href{...}{...}}|. @@ -905,6 +904,8 @@ nisl ut aliquip ex ea commodo consequat. % for text \textbf{without} references % \end{description} % +% \pagebreak +% % \DescribeMacro{Oberdiek} % \DescribeMacro{hyperref} % \DescribeMacro{kvoptions} @@ -915,7 +916,7 @@ nisl ut aliquip ex ea commodo consequat. % \textbf{Warning}: holtxdoc, 2010/04/24 v0.19, requires the packages % \begin{description} % \item[-] hypdoc, 2010/03/26, v1.9 -% \item[-] hyperref, 2010/03/30, v6.80u (latest: 2010/06/04, v6.81f) +% \item[-] hyperref, 2010/03/30, v6.80u (latest: 2010/06/18, v6.81g) % \item[-] pdftexcmds, 2010/04/01, v0.9 % \item[-] ltxcmds, 2010/03/09, v1.4 (latest: 2010/04/26, v1.7) % \item[-] hologo, 2010/04/24, v1.2 @@ -929,25 +930,47 @@ nisl ut aliquip ex ea commodo consequat. % recent and compatible.)\\ % % \DescribeMacro{M\"{u}nch} -% Packages of mine:\\ +% Packages of mine (alphabetically ordered):\\ % \begin{description} -% \item[undolabl] 2010/06/24, v1.0c, \CTAN{macros/latex/contrib/undolabl.dtx}\\ -% That package allows to override existing labels, especially automatically generated ones. -% -% \item[pagesLTS] 2010/06/24, v1.1c, \CTAN{macros/latex/contrib/pagesLTS.dtx}\\ +% \item[hrefhide] 2010/07/29, v1.0d, \CTAN{macros/latex/contrib/hrefhide/hrefhide.dtx} and +% \CTAN{install/macros/latex/contrib/hrefhide.tds.zip}\\ +% The package described in this very documentation:\\ +% This package allows to \textquotedblleft hide\textquotedblright\ some (hyperlinked) +% text when printing the document while keeping the layout. +% +% \item[lastpage] 2010/07/29, v1.2a, \CTAN{macros/latex/contrib/lastpage/lastpage.dtx} and +% \CTAN{install/macros/latex/contrib/lastpage.tds.zip}\\ +% That package allows to refer to the (maybe not so) last page. +% \textit{The package was originally invented by Jeffrey P. Goldberg.} +% The \textsf{pagesLTS} package is much more mighty, but needs more resources +% (e.\,g.~new counters).\\ +% \textbf{Submitted to CTAN.} +% +% \item[pagesLTS] 2010/07/29, v1.1e, \CTAN{macros/latex/contrib/pagesLTS/pagesLTS.dtx} and +% \CTAN{install/macros/latex/contrib/pagesLTS.tds.zip}\\ % That package allows to refer to the (very) last page, gives the total number of % pages, references to special pages, facilitates the use of nearly any pagenumbering % you like (e.\,g. negative |Roman| numbers or more than |Z| pages with |Alph| page numbering), % and works even with |fnsymbol| page numbers. % -% \item[papermas] 2010/06/24, v1.0c, \CTAN{macros/latex/contrib/papermas.dtx}\\ +% \item[papermas] 2010/07/29, v1.0d, \CTAN{macros/latex/contrib/papermas/papermas.dtx} and +% \CTAN{install/macros/latex/contrib/papermas.tds.zip}\\ % That package allows to compute the number of sheets of paper needed to % print a document as well as the mass of that printed version of the document. % Further that package allows to compute \textquotedblleft base to the power of % exponent\textquotedblright\ inside \LaTeX. % -% \item[hrefhide] 2010/06/24, v1.0c, \CTAN{macros/latex/contrib/hrefhide.dtx}\\ -% The package described in this very documentation. +% \item[undolabl] 2010/07/29, v1.0f, \CTAN{macros/latex/contrib/undolabl/undolabl.dtx} and +% \CTAN{install/macros/latex/contrib/undolabl.tds.zip}\\ +% That package allows to override existing labels, especially automatically generated ones. +% \textit{The main code of that package was invented by }\\ +% \textbf{Ulrich Diez} (\texttt{eu\_angelion@web.de})\textit{\ and first published in the }\\ +% \Newsgroup{comp.text.tex} \textit{\ newsgroup at } +% \texttt{Sun,~20~Apr~2008~16:39:26~+0200}\textit{, with subject:} +% \texttt{Re:~How~to~undefine/overwrite~a~label?}\textit{\ (see e.\,g.\ } +% \url{http://groups.google.de/group/comp.text.tex/msg/5ba8d4722e5cd326?dmode=source} +% \textit{\ as well as\ } +% \url{http://groups.google.de/group/comp.text.tex/msg/af6cfe93917097da?dmode=source}\textit{).}\\ % \end{description} % % \subsection{Package, unpacking TDS} @@ -970,8 +993,8 @@ nisl ut aliquip ex ea commodo consequat. % The example file. % \item[\CTAN{macros/latex/contrib/hrefhide/hrefhide-example.pdf}]\hspace*{0.1cm} \\ % The compiled example file, as it should look like. -% \item[\CTAN{install/macros/latex/contrib/hrefhide/hrefhide.tds.zip}]\hspace*{0.1cm} \\ -% Everything in TDS compliant, compiled format (submitted, schould be available soon). +% \item[\CTAN{install/macros/latex/contrib/hrefhide.tds.zip}]\hspace*{0.1cm} \\ +% Everything in TDS compliant, compiled format. % \end{description} % % For required other packages, see the preceding subsection. @@ -1114,15 +1137,6 @@ nisl ut aliquip ex ea commodo consequat. % and will need two compiler runs to get % all references right. % -% \pagebreak -% -% \section{Things suggested to be done\label{sec:todo}} -% -% \begin{itemize} -% \item Include a correct checksum for \textsf{hrefhide}. -% \item Include the final place in the CTAN of the \xfile{tds.zip} of the \textsf{hrefhide} package. -% \end{itemize} -% % \section{Acknowledgements} % % I would like to thank Heiko Oberdiek @@ -1137,9 +1151,10 @@ nisl ut aliquip ex ea commodo consequat. % \begin{History}\label{History} % \begin{Version}{2010/02/18 v0.1} % \item First idea about this as a reply of mine to a question on -% \Newsgroup{comp.text.tex} (Subject: "Hiding" interactive parts of pdf when printing) +% \Newsgroup{comp.text.tex} (Subject: "Hiding" interactive parts of pdf when printing), see e.\,g. +% \url{http://groups.google.com/group/comp.text.tex/msg/80d9eebf2837d7a3?dmode=source}. % \end{Version} -% \begin{Version}{2010/06/01 v1.0} +% \begin{Version}{2010/06/01 v1.0(a)} % \item First version of the \textsf{hrefhide} package. % \end{Version} % \begin{Version}{2010/06/03 v1.0b} @@ -1152,10 +1167,18 @@ nisl ut aliquip ex ea commodo consequat. % \item \textsf{pdfcomment} package listed as alternative for text \textbf{without} links. % \item \textsf{holtxdoc} warning in \xfile{drv} updated. % \item Corrected the location of the package at CTAN.\\ -% (TDS still missing due to packaging error.) +% (In this version \xfile{TDS} was still missing due to packaging error.) % \item Updated reference to other package: \textsf{hyperref}. % \item Added a list of my other packages. % \end{Version} +% \begin{Version}{2010/07/29 v1.0d} +% \item Corrected given url of \texttt{hrefhide.tds.zip} and other urls. +% \item Included a url for the newsgroup post (in history). +% \item Changed the \textsf{undolabl} package description. +% \item There is a new version of the used \textsf{hyperref} package: 2010/06/18,~v6.81g. +% \item Included a |\CheckSum|. +% \item Minor details. +% \end{Version} % \end{History} % % % \PrintChanges @@ -1165,10 +1188,7 @@ nisl ut aliquip ex ea commodo consequat. % When you find a mistake or have a suggestion for an improvement of this package, % please send an e-mail to the maintainer, thanks! (Please see BUG REPORTS in the README.) % -% \pagebreak -% % \PrintIndex % % \Finale -% \endinput
\ No newline at end of file diff --git a/Master/texmf-dist/source/latex/muench/hrefhide/hrefhide.ins b/Master/texmf-dist/source/latex/muench/hrefhide/hrefhide.ins index fe00737952e..19fe774f723 100644 --- a/Master/texmf-dist/source/latex/muench/hrefhide/hrefhide.ins +++ b/Master/texmf-dist/source/latex/muench/hrefhide/hrefhide.ins @@ -41,7 +41,7 @@ \obeyspaces \Msg{******************************************************} \Msg{* Installation *} -\Msg{* Package: hrefhide v1.0c 2010/06/24 LaTeX2e package *} +\Msg{* Package: hrefhide v1.0d 2010/07/29 LaTeX2e package *} \Msg{* Hiding hyperrefs when printing pdf files (HMM) *} \Msg{******************************************************} |