diff options
author | Karl Berry <karl@freefriends.org> | 2010-07-08 00:16:11 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-07-08 00:16:11 +0000 |
commit | 035389e0d2f7663dad679d9224f5e6ea8bb68655 (patch) | |
tree | 07c54041731630802ebceaf39da9cfbab77f6d97 /Master/texmf-dist/source/latex | |
parent | e1b680f01d47f9a01722d1806b7a1080886b9b2a (diff) |
hrefhide update
git-svn-id: svn://tug.org/texlive/trunk@19281 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex')
-rw-r--r-- | Master/texmf-dist/source/latex/muench/hrefhide/hrefhide.drv (renamed from Master/texmf-dist/source/latex/hrefhide/hrefhide.drv) | 2 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/muench/hrefhide/hrefhide.dtx (renamed from Master/texmf-dist/source/latex/hrefhide/hrefhide.dtx) | 124 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/muench/hrefhide/hrefhide.ins (renamed from Master/texmf-dist/source/latex/hrefhide/hrefhide.ins) | 2 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/muench/hrefhide/ltxdoc.cfg | 103 |
4 files changed, 186 insertions, 45 deletions
diff --git a/Master/texmf-dist/source/latex/hrefhide/hrefhide.drv b/Master/texmf-dist/source/latex/muench/hrefhide/hrefhide.drv index 7578d0ff54e..2f7f2a4339a 100644 --- a/Master/texmf-dist/source/latex/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/05/13, v6.81e) +%% hyperref, 2010/03/30, v6.80u (latest: 2010/06/04 v6.81f) %% pdftexcmds, 2010/04/01, v0.9 %% ltxcmds, 2010/03/09, v1.4 (latest: 2010/04/26, v1.7) %% hologo, 2010/04/24, v1.2 diff --git a/Master/texmf-dist/source/latex/hrefhide/hrefhide.dtx b/Master/texmf-dist/source/latex/muench/hrefhide/hrefhide.dtx index 2761a992911..6f0155a978c 100644 --- a/Master/texmf-dist/source/latex/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.0b -% file date: 2010/06/03 -% documentation date: 2010/06/03 +% file version: v1.0c +% file date: 2010/06/24 +% documentation date: 2010/06/24 % % 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.0b 2010/06/03 LaTeX2e package *} +\Msg{* Package: hrefhide v1.0c 2010/06/24 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/05/13, v6.81e) +%% hyperref, 2010/03/30, v6.80u (latest: 2010/06/04 v6.81f) %% pdftexcmds, 2010/04/01, v0.9 %% ltxcmds, 2010/03/09, v1.4 (latest: 2010/04/26, v1.7) %% hologo, 2010/04/24, v1.2 @@ -359,11 +359,11 @@ and the derived files % \DoNotIndex{\chapter,\section} % % \title{The \textsf{hrefhide} package\footnote{This file% -% has version number v1.0b, last% -% revised 2010/06/03, documentation dated 2010/06/03.}} +% has version number v1.0c, last% +% revised 2010/06/24, documentation dated 2010/06/24.}} % \author{H.-Martin M\"{u}nch\\ % (\texttt{Martin dot Muench at Uni-Bonn dot de})} -% \date{2010/06/03} +% \date{2010/06/24} % % \maketitle % @@ -458,7 +458,10 @@ and the derived files % \begin{verbatim} % {\color{white} \href{...}{...}} % \end{verbatim} -% (and replace \texttt{white} with the background colour). +% (and replace \texttt{white} with the background colour).\\ +% +% For hiding text, which does not contain links, the \textsf{pdfcomment} +% package of Josef Kleber should be noted. % % \bigskip % @@ -476,7 +479,7 @@ and the derived files \documentclass[british]{article} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \usepackage{lipsum}[2005/01/26]% v1.0 -\usepackage[ocgcolorlinks]{hyperref}[2010/05/13]% v6.81e +\usepackage[ocgcolorlinks]{hyperref}[2010/06/04]% v6.81f \hypersetup{extension=pdf,% plainpages=false,% pdfpagelabels=true,% @@ -490,7 +493,7 @@ and the derived files pdfpagelayout=SinglePage,% bookmarksopen=true% } -\usepackage[linktextcolour=black,backgroundcolour=white,pdfborder={0 0 1}]{hrefhide}[2010/06/03]% v1.0b +\usepackage[linktextcolour=black,backgroundcolour=white,pdfborder={0 0 1}]{hrefhide}[2010/06/24]% v1.0c %% This are the default options. %% \makeatletter %% Code from tcilatex.tex, Macros for Scientific Word and Scientific WorkPlace 5.5 <06 Oct 2005> %% @@ -505,7 +508,7 @@ and the derived files \section*{Example for hrefhide} This example demonstrates the use of package\newline -\textsf{hrefhide}, v1.0b as of 2010/06/03 (HMM).\newline +\textsf{hrefhide}, v1.0c as of 2010/06/24 (HMM).\newline The used options were \texttt{linktextcolour=black}, \texttt{backgroundcolour=white}, and \texttt{pdfborder={0 0 1}} (the default ones).\newline @@ -620,7 +623,7 @@ nisl ut aliquip ex ea commodo consequat. % % \begin{macrocode} \NeedsTeXFormat{LaTeX2e}[1994/06/01] -\ProvidesPackage{hrefhide}[2010/06/03 v1.0b +\ProvidesPackage{hrefhide}[2010/06/24 v1.0c Hiding hyperrefs when printing pdf files (HMM)]% % \end{macrocode} @@ -645,7 +648,7 @@ nisl ut aliquip ex ea commodo consequat. % (see subsection~\ref{ss:Downloads}): % % \begin{macrocode} -\RequirePackage{hyperref}[2010/05/13]% v6.81e +\RequirePackage{hyperref}[2010/06/04]% v6.81f % \end{macrocode} % % and the \textsf{kvoptions} package, also of Heiko Oberdiek @@ -865,7 +868,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/05/13, v6.81e,\\ +% \item[-] package \textsf{hyperref}, 2010/06/04, v6.81f\\ % \CTAN{macros/latex/contrib/hyperref/hyperref.dtx} % % \item[-] package \textsf{kvoptions}, 2010/02/22, v3.7,\\ @@ -882,9 +885,8 @@ 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/03, v1.0b,\\ -% \CTAN{macros/latex/contrib/muench/hrefhide/hrefhide.dtx}\\ -% (submitted, should become available at that location soon)\\ +% \item[-] package \textsf{hrefhide}, 2010/06/24, v1.0c,\\ +% \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 % have some version of it -- is it the current one?) @@ -893,10 +895,14 @@ 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/05/13, v6.81e,\\ +% \item[-] package \textsf{hyperref}, 2010/06/04, v6.81f,\\ % \CTAN{macros/latex/contrib/hyperref/} % with option \texttt{ocgcolorlinks} and\\ % |{\color{white} \href{...}{...}}|. +% +% \item[-] package \textsf{pdfcomment}, 2010/06/01, v1.5e,\\ +% \CTAN{macros/latex/contrib/pdfcomment/}\\ +% for text \textbf{without} references % \end{description} % % \DescribeMacro{Oberdiek} @@ -909,7 +915,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/05/13, v6.81e) +% \item[-] hyperref, 2010/03/30, v6.80u (latest: 2010/06/04, v6.81f) % \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 @@ -922,28 +928,50 @@ nisl ut aliquip ex ea commodo consequat. % and use this, because the packages in there should be both % recent and compatible.)\\ % +% \DescribeMacro{M\"{u}nch} +% Packages of mine:\\ +% \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}\\ +% 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}\\ +% 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. +% \end{description} +% % \subsection{Package, unpacking TDS} % -% \paragraph{Package.} This package should become available on \CTAN{} soon: +% \paragraph{Package.} This package is available on \CTAN{}: % \begin{description} -% \item[\CTAN{macros/latex/contrib/muench/hrefhide/hrefhide.dtx}]\hspace*{0.1cm} \\ +% \item[\CTAN{macros/latex/contrib/hrefhide/hrefhide.dtx}]\hspace*{0.1cm} \\ % The source file. -% \item[\CTAN{macros/latex/contrib/muench/hrefhide/hrefhide.ins}]\hspace*{0.1cm} \\ +% \item[\CTAN{macros/latex/contrib/hrefhide/hrefhide.ins}]\hspace*{0.1cm} \\ % The installation file. -% \item[\CTAN{macros/latex/contrib/muench/hrefhide/hrefhide.drv}]\hspace*{0.1cm} \\ +% \item[\CTAN{macros/latex/contrib/hrefhide/hrefhide.drv}]\hspace*{0.1cm} \\ % The driver to generate the documentation. -% \item[\CTAN{macros/latex/contrib/muench/hrefhide/ltxdoc.cfg}]\hspace*{0.1cm} \\ +% \item[\CTAN{macros/latex/contrib/hrefhide/ltxdoc.cfg}]\hspace*{0.1cm} \\ % The \LaTeX documentation configuration file, also for generating the documentation. -% \item[\CTAN{macros/latex/contrib/muench/hrefhide/hrefhide.pdf}]\hspace*{0.1cm} \\ +% \item[\CTAN{macros/latex/contrib/hrefhide/hrefhide.pdf}]\hspace*{0.1cm} \\ % The documentation. -% \item[\CTAN{macros/latex/contrib/muench/hrefhide/hrefhide.sty}]\hspace*{0.1cm} \\ +% \item[\CTAN{macros/latex/contrib/hrefhide/hrefhide.sty}]\hspace*{0.1cm} \\ % The \xfile{sty}le file. -% \item[\CTAN{macros/latex/contrib/muench/hrefhide/hrefhide-example.tex}]\hspace*{0.1cm} \\ +% \item[\CTAN{macros/latex/contrib/hrefhide/hrefhide-example.tex}]\hspace*{0.1cm} \\ % The example file. -% \item[\CTAN{macros/latex/contrib/muench/hrefhide/hrefhide-example.pdf}]\hspace*{0.1cm} \\ +% \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/muench/hrefhide/hrefhide.tds.zip}]\hspace*{0.1cm} \\ -% Everything in TDS compliant, compiled format. +% \item[\CTAN{install/macros/latex/contrib/hrefhide/hrefhide.tds.zip}]\hspace*{0.1cm} \\ +% Everything in TDS compliant, compiled format (submitted, schould be available soon). % \end{description} % % For required other packages, see the preceding subsection. @@ -1086,39 +1114,47 @@ 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 \textsf{hrefhide} package. +% \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 % (heiko dot oberdiek at googlemail dot com) for providing -% the \textsf{hyperref} as well as a~lot~(!) of other usefull packages +% the \textsf{hyperref} as well as a~lot~(!) of other useful packages % (from which I also got everything I know about creating a file in % \xext{dtx} format, ok, say it: copying), % and the \Newsgroup{comp.text.tex} and \Newsgroup{de.comp.text.tex} % newsgroups for their help in all things \TeX. % -% \newpage -% % \phantomsection % \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) +% \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) % \end{Version} % \begin{Version}{2010/06/01 v1.0} -% \item First version of the \textsf{hrefhide} package. +% \item First version of the \textsf{hrefhide} package. % \end{Version} % \begin{Version}{2010/06/03 v1.0b} -% \item Example adapted to other examples of mine. -% \item Updated references to other packages. -% \item TDS locations updated. -% \item Several changes in the documentation and the Readme file. +% \item Example adapted to other examples of mine. +% \item Updated references to other packages. +% \item TDS locations updated. +% \item Several changes in the documentation and the Readme file. +% \end{Version} +% \begin{Version}{2010/06/24 v1.0c} +% \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.) +% \item Updated reference to other package: \textsf{hyperref}. +% \item Added a list of my other packages. % \end{Version} % \end{History} % @@ -1127,7 +1163,9 @@ nisl ut aliquip ex ea commodo consequat. % \bigskip % % 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 send an e-mail to the maintainer, thanks! (Please see BUG REPORTS in the README.) +% +% \pagebreak % % \PrintIndex % diff --git a/Master/texmf-dist/source/latex/hrefhide/hrefhide.ins b/Master/texmf-dist/source/latex/muench/hrefhide/hrefhide.ins index 098e72f8da0..fe00737952e 100644 --- a/Master/texmf-dist/source/latex/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.0b 2010/06/03 LaTeX2e package *} +\Msg{* Package: hrefhide v1.0c 2010/06/24 LaTeX2e package *} \Msg{* Hiding hyperrefs when printing pdf files (HMM) *} \Msg{******************************************************} diff --git a/Master/texmf-dist/source/latex/muench/hrefhide/ltxdoc.cfg b/Master/texmf-dist/source/latex/muench/hrefhide/ltxdoc.cfg new file mode 100644 index 00000000000..3ee1f5363d4 --- /dev/null +++ b/Master/texmf-dist/source/latex/muench/hrefhide/ltxdoc.cfg @@ -0,0 +1,103 @@ +%% +%% This is file `ltxdoc.cfg', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% hrefhide.dtx (with options: `ltxdoc') +%% +%% This is a generated file. +%% +%% IMPORTANT NOTICE: +%% The package takes options. +%% +%% The usual disclaimers apply: +%% 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.) +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3c of this license or (at your option) any later +%% version. This version of this license is in +%% http://www.latex-project.org/lppl/lppl-1-3c.txt +%% and the latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3c or later is part of all distributions of +%% LaTeX version 2005/12/01 or later. +%% +%% 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). +%% +%% 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. +%% +\NeedsTeXFormat{LaTeX2e}[1994/06/01] +\ProvidesFile{ltxdoc.cfg}[2010/06/01 v1.0 configuration file for hrefhide (HMM)] + %% Code from original ltxdoc.cfg [2007/01/08 latex-tds: ltxdoc.cls configuration (HO)], %% + % copyrighted 2006, 2007 Heiko Oberdiek, part of project `latex-tds'. + % That file may be distributed and/or modified under the + % conditions of the LaTeX Project Public License, either version 1.3 + % of this license or (at your option) any later version. + % The latest version of this license is in + % http://www.latex-project.org/lppl.txt + % and version 1.3c or later is part of all distributions of LaTeX + % version 2005/12/01 or later. + % That work has the LPPL maintenance status `maintained'. + % The Current Maintainer of that work is Heiko Oberdiek. + % + \PassOptionsToClass{a4paper}{article} + \AtEndOfClass{% + \RequirePackage[numbered]{hypdoc}[2010/03/26]% v1.9 + \pdfstringdefDisableCommands{% + \let\env\relax % longtable.dtx + \let\mytt\relax % tabularx.dtx + }% + \addtolength{\topmargin}{-10mm}% + \addtolength{\textheight}{20mm}% + % Depending on the page style, the head or foot area + % are put into the text area. + % Usually the page style is the default "plain". + % tools/verbatim.dtx uses "myheadings". + \def\string@plain{plain}% + \def\string@myheadings{myheadings}% + \def\current@pagestyle{plain}% + \let\ltxdoc@cfg@pagestyle\pagestyle + \def\pagestyle#1{% + \def\current@pagestyle{#1}% + \ltxdoc@cfg@pagestyle{#1}% + }% + \edef\ltxdoc@cfg@jobname{\jobname}% + \def\ltxdoc@cfg@longtable{longtable}% + \@onelevel@sanitize\ltxdoc@cfg@longtable + \ifx\ltxdoc@cfg@jobname\ltxdoc@cfg@longtable + \def\current@pagestyle{both}% + \fi + \let\ltxdoc@cfg@document\document + \def\document{% + \ifx\current@pagestyle\string@plain + \addtolength{\textheight}{\headheight}% + \addtolength{\textheight}{\headsep}% + \setlength{\headheight}{0pt}% + \setlength{\headsep}{0pt}% + \global\textheight\textheight + \global\headheight\headheight + \global\headsep\headsep + \fi + \ifx\current@pagestyle\string@myheadings + \addtolength{\textheight}{\footskip}% + \global\textheight\textheight + \fi + \ltxdoc@cfg@document + }% + %% End of code from original ltxdoc.cfg [2007/01/08 latex-tds: ltxdoc.cls configuration (HO)] %% + %% Place additional code here. %% + } + +\endinput +%% +%% End of file `ltxdoc.cfg'. |