texlive[73641] Master/texmf-dist: hrefhide (29jan25)

commits+karl at tug.org commits+karl at tug.org
Wed Jan 29 21:31:24 CET 2025


Revision: 73641
          https://tug.org/svn/texlive?view=revision&revision=73641
Author:   karl
Date:     2025-01-29 21:31:24 +0100 (Wed, 29 Jan 2025)
Log Message:
-----------
hrefhide (29jan25)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/hrefhide/README
    trunk/Master/texmf-dist/doc/latex/hrefhide/hrefhide-example.pdf
    trunk/Master/texmf-dist/doc/latex/hrefhide/hrefhide-example.tex
    trunk/Master/texmf-dist/doc/latex/hrefhide/hrefhide.pdf
    trunk/Master/texmf-dist/source/latex/hrefhide/hrefhide.drv
    trunk/Master/texmf-dist/source/latex/hrefhide/hrefhide.dtx
    trunk/Master/texmf-dist/source/latex/hrefhide/hrefhide.ins
    trunk/Master/texmf-dist/tex/latex/hrefhide/hrefhide.sty

Modified: trunk/Master/texmf-dist/doc/latex/hrefhide/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/hrefhide/README	2025-01-29 20:31:12 UTC (rev 73640)
+++ trunk/Master/texmf-dist/doc/latex/hrefhide/README	2025-01-29 20:31:24 UTC (rev 73641)
@@ -1,4 +1,4 @@
-README for hrefhide package, 2023-02-26, v1.1a
+README for hrefhide package, 2025-01-27, v1.1b
 
 
 TABLE OF CONTENTS
@@ -26,7 +26,7 @@
 
 Further the commands \hycon and \hycoff (hyper-colour-on/off) can be used
 to simulate switching option ocgcolorlinks of the hyperref package on and off.
-This package is possibly obsolete, see section 3: "Alternatives"
+This package is probably obsolete, see section 3: "Alternatives"
 in the documentation.
 
 This material is published under the LPPL 1.3c: This work may be
@@ -108,7 +108,6 @@
 hrefhide loads other packages:
 - xcolor
 - hyperref
-- kvoptions
 which again load other packages
 (see the result of the \listfiles command in the log-file
  of the example).
@@ -163,4 +162,6 @@
 
 * as yet: none... - Well, of course there are all issues
   of the hyperref package with ocgcolorlinks option,
-  e.g. no linebreaks inside links.
\ No newline at end of file
+  e.g. no linebreaks inside links. The ocgx2 package
+  fixes that and therefore probably should be used
+  instead of hrefhide.
\ No newline at end of file

Modified: trunk/Master/texmf-dist/doc/latex/hrefhide/hrefhide-example.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/hrefhide/hrefhide-example.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/hrefhide/hrefhide-example.tex	2025-01-29 20:31:12 UTC (rev 73640)
+++ trunk/Master/texmf-dist/doc/latex/hrefhide/hrefhide-example.tex	2025-01-29 20:31:24 UTC (rev 73641)
@@ -9,10 +9,10 @@
 %% This is a generated file.
 %% 
 %% Project: hrefhide
-%% Version: 2023-02-26 v1.1a
+%% Version: 2025-01-27 v1.1b
 %% Info: Hiding hyperrefs when printing pdf files
 %% 
-%% Copyright (C) 2010 - 2023 by
+%% Copyright (C) 2010 - 2025 by
 %%     H.-Martin Muench <Martin dot Muench at Uni-Bonn dot de>
 %% 
 %% This work may be distributed and/or modified under the
@@ -40,11 +40,11 @@
 %%  Tommy Muench         + 2014-01-02
 %%  Hans-Klaus Muench    + 2014-08-24
 %% 
-\NeedsTeXFormat{LaTeX2e}[2022-11-01]
-\documentclass[british]{article}[2022/07/02]% v1.4n Standard LaTeX document class
-\usepackage{lipsum}[2021-09-20]% v2.7  150 paragraphs of Lorem Ipsum dummy text
+\NeedsTeXFormat{LaTeX2e}[2024-11-01]
+\documentclass[british]{article}[2024/06/29]% v1.4n Standard LaTeX document class
+\usepackage{lipsum}[2021-09-20]% v2.7 150 paragraphs of Lorem Ipsum dummy text
 \usepackage[ocgcolorlinks,bookmarks=false,bookmarksopen=false%
-  ]{hyperref}[2023-02-07]% v7.00v Hypertext links for LaTeX
+  ]{hyperref}[2024-11-05]% v7.01l Hypertext links for LaTeX
 \hypersetup{extension=pdf,%
  plainpages=false,%
  pdfpagelabels=true,%
@@ -58,7 +58,7 @@
  pdfpagelayout=SinglePage%
 }
 \usepackage[linktextcolour=black,backgroundcolour=white,pdfborder={0 0 1}%
-  ]{hrefhide}[2023-02-26]% v1.1a Hiding hyperrefs when printing pdf files (HMM)
+  ]{hrefhide}[2025-01-27]% v1.1b Hiding hyperrefs when printing pdf files (HMM)
 \listfiles
 \begin{document}
 \pagenumbering{arabic}
@@ -66,16 +66,15 @@
 \markboth{Example for hrefhide}{Example for hrefhide}
 
 This example demonstrates the use of package\newline
-\textsf{hrefhide}, v1.1a as of 2023-02-26 (HMM).\newline
+\textsf{hrefhide}, v1.1b as of 2025-01-27 (HMM).\newline
 The used options were \texttt{linktextcolour=black},
 \texttt{backgroundcolour=white}, and \texttt{pdfborder={0 0 1}}
 (the default ones).\newline
-For more details please see the documentation!\newline
+For more details please see the documentation!\bigskip
 
 \textit{Print-\textbf{preview} the first page of this document
-and compare it with the page as displayed in your pdf reader.}
+and compare it with the page as displayed in your pdf reader.}\bigskip
 
-\bigskip
 Lorem ipsum dolor sit amet \href{\#target}{link to target} consectetuer
 adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet
 dolore magna aliquam erat volutpat.
@@ -121,8 +120,7 @@
 
 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.
 
 Switching to colored links with \verb|\hycon|:\newline
 \hycon%
@@ -135,7 +133,7 @@
 \href{https://ctan.org/pkg/hrefhide}{https://ctan.org/pkg/hrefhide}.
 \pagebreak
 
-{\Large \textbf{Targets}}\\
+{\Large \textbf{Targets}}\newline
 Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam
 nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat
 volutpat. \hypertarget{target}{target text} Ut wisi enim ad minim

Modified: trunk/Master/texmf-dist/doc/latex/hrefhide/hrefhide.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/hrefhide/hrefhide.drv
===================================================================
--- trunk/Master/texmf-dist/source/latex/hrefhide/hrefhide.drv	2025-01-29 20:31:12 UTC (rev 73640)
+++ trunk/Master/texmf-dist/source/latex/hrefhide/hrefhide.drv	2025-01-29 20:31:24 UTC (rev 73641)
@@ -9,10 +9,10 @@
 %% This is a generated file.
 %% 
 %% Project: hrefhide
-%% Version: 2023-02-26 v1.1a
+%% Version: 2025-01-27 v1.1b
 %% Info: Hiding hyperrefs when printing pdf files
 %% 
-%% Copyright (C) 2010 - 2023 by
+%% Copyright (C) 2010 - 2025 by
 %%     H.-Martin Muench <Martin dot Muench at Uni-Bonn dot de>
 %% 
 %% This work may be distributed and/or modified under the
@@ -40,10 +40,10 @@
 %%  Tommy Muench         + 2014-01-02
 %%  Hans-Klaus Muench    + 2014-08-24
 %% 
-\NeedsTeXFormat{LaTeX2e}[2022-11-01]
+\NeedsTeXFormat{LaTeX2e}[2024-11-01]
 \ProvidesFile{hrefhide.drv}%
-  [2023-02-26 v1.1a Hiding hyperrefs when printing pdf files (HMM)]
-\documentclass{ltxdoc}[2022/06/22]% v2.1i Standard LaTeX documentation class
+  [2025-01-27 v1.1b Hiding hyperrefs when printing pdf files (HMM)]
+\documentclass{ltxdoc}[2024/02/08]% v2.1j Standard LaTeX documentation class
 \usepackage{holtxdoc}[2019/12/09]%  v0.30 Private additional ltxdoc support (HO)
 \hypersetup{%
  pdfsubject={Hiding hyperrefs when printing pdf files (HMM)},%

Modified: trunk/Master/texmf-dist/source/latex/hrefhide/hrefhide.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/hrefhide/hrefhide.dtx	2025-01-29 20:31:12 UTC (rev 73640)
+++ trunk/Master/texmf-dist/source/latex/hrefhide/hrefhide.dtx	2025-01-29 20:31:24 UTC (rev 73641)
@@ -1,10 +1,10 @@
 % \iffalse meta-comment
 %
 % File: hrefhide.dtx
-% Version: 2023-02-26 v1.1a
+% Version: 2025-01-27 v1.1b
 % Info: Hiding hyperrefs when printing pdf files
 %
-% Copyright © 2010 - 2023 by
+% Copyright © 2010 - 2025 by
 %    H.-Martin Münch <Martin dot Muench at Uni-Bonn dot de>
 %
 % This work may be distributed and/or modified under the
@@ -49,7 +49,7 @@
 \input docstrip.tex
 \Msg{************************************************************************************}
 \Msg{* Installation                                                                     *}
-\Msg{* Package: hrefhide 2023-02-26 v1.1a Hiding hyperrefs when printing pdf files (HMM)*}
+\Msg{* Package: hrefhide 2025-01-27 v1.1b Hiding hyperrefs when printing pdf files (HMM)*}
 \Msg{************************************************************************************}
 
 \keepsilent
@@ -61,10 +61,10 @@
 This is a generated file.
 
 Project: hrefhide
-Version: 2023-02-26 v1.1a
+Version: 2025-01-27 v1.1b
 Info: Hiding hyperrefs when printing pdf files
 
-Copyright (C) 2010 - 2023 by
+Copyright (C) 2010 - 2025 by
     H.-Martin Muench <Martin dot Muench at Uni-Bonn dot de>
 
 This work may be distributed and/or modified under the
@@ -145,10 +145,10 @@
 %
 %    \begin{macrocode}
 %<*driver>
-\NeedsTeXFormat{LaTeX2e}[2022-11-01]
+\NeedsTeXFormat{LaTeX2e}[2024-11-01]
 \ProvidesFile{hrefhide.drv}%
-  [2023-02-26 v1.1a Hiding hyperrefs when printing pdf files (HMM)]
-\documentclass{ltxdoc}[2022/06/22]% v2.1i Standard LaTeX documentation class
+  [2025-01-27 v1.1b Hiding hyperrefs when printing pdf files (HMM)]
+\documentclass{ltxdoc}[2024/02/08]% v2.1j Standard LaTeX documentation class
 \usepackage{holtxdoc}[2019/12/09]%  v0.30 Private additional ltxdoc support (HO)
 \hypersetup{%
  pdfsubject={Hiding hyperrefs when printing pdf files (HMM)},%
@@ -193,23 +193,23 @@
 %     }%^^A
 %   \expandafter\endgroup\x
 %
-% \DoNotIndex{\@anchorbordercolor,\@anchorcolor,\@citebordercolor,\@citecolor,\@filebordercolor}
-% \DoNotIndex{\@filecolor,\@ifl at t@r,\@ifundefined,\@linkbordercolor,\@linkcolor,\@menubordercolor}
-% \DoNotIndex{\@menucolor,\@runbordercolor,\@runcolor,\@urlbordercolor,\@urlcolor,\\}
-% \DoNotIndex{\AddToHook,\begin,\bigskip,\color}
-% \DoNotIndex{\DeclareRobustCommand,\DeclareStringOption,\definecolor,\documentclass,\end}
-% \DoNotIndex{\href,\hrefhide at anchorbordercolor,\hrefhide at backgroundcolour}
-% \DoNotIndex{\hrefhide at driver,\hrefhide at linktextcolour,\hrefhide at pdfborder}
-% \DoNotIndex{\hrefhidefalse,\hrefhidetrue,\Hy at driver,\hypersetup,\hypertarget}
-% \DoNotIndex{\IfPackageLoadedWithOptionsTF,\ifx,\Large,\linebreak}
-% \DoNotIndex{\lipsum,\listfiles,\markboth,\MessageBreak,\NeedsTeXFormat,\newif,\newline,\noindent}
-% \DoNotIndex{\ocgx,\PackageError,\PackageInfo,\PackageWarning,\pagebreak}
-% \DoNotIndex{\pagenumbering,\ProcessKeyvalOptions,\ProvidesPackage}
-% \DoNotIndex{\RequirePackage,\section,\SetupKeyvalOptions,\space,\textbf,\textit,\textsf,\texttt}
-% \DoNotIndex{\usepackage,\verb}
+% \DoNotIndex{\@anchorbordercolor,\@anchorcolor,\@citebordercolor,\@citecolor,\@filebordercolor,%
+% \@filecolor,\@ifl at t@r,\@ifundefined,\@linkbordercolor,\@linkcolor,\@menubordercolor,%
+% \@menucolor,\@runbordercolor,\@runcolor,\@urlbordercolor,\@urlcolor,\\,%
+% \AddToHook,\begin,\bigskip,\color,\DeclareKeys,%
+% \DeclareRobustCommand,\DeclareStringOption,\definecolor,\documentclass,\end,\fmtversion,%
+% \href,\hrefhide at anchorbordercolor,\hrefhide at backgroundcolour,%
+% \hrefhide at driver,\hrefhide at linktextcolour,\hrefhide at pdfborder,%
+% \hrefhidefalse,\hrefhidetrue,\Hy at driver,\hypersetup,\hypertarget,%
+% \IfFormatAtLeastTF,\IfPackageLoadedWithOptionsTF,\ifx,\Large,\linebreak,%
+% \lipsum,\listfiles,\markboth,\MessageBreak,\NeedsTeXFormat,\newif,\newline,\noindent,%
+% \ocgx,\PackageError,\PackageInfo,\PackageWarning,\pagebreak,%
+% \pagenumbering,\ProcessKeyOptions,\ProvidesPackage,%
+% \RequirePackage,\section,\SetKeys,\space,\textbf,\textit,\textsf,\texttt,%
+% \usepackage,\verb}
 %
 % \title{The \xpackage{hrefhide} package}
-% \date{2023-02-26 v1.1a}
+% \date{2025-01-27 v1.1b}
 % \author{H.-Martin Münch\\\xemail{Martin.Muench at Uni-Bonn.de}}
 %
 % \maketitle
@@ -217,7 +217,7 @@
 % \begin{abstract}
 % \noindent This \LaTeX{} package allows to \textquotedblleft hide\textquotedblright{} some
 % (hyperlinked) text when printing the document while keeping the layout and
-% to simulate switching \texttt{ocgcolor} of \xpackage{hyperref} package on and off.~--\\
+% to simulate switching \texttt{ocgcolor} of \xpackage{hyperref} package on and off.~--\newline
 % This package is possibly obsolete, see section~\ref{s:Alternatives}: Alternatives.
 % \end{abstract}
 % \bigskip
@@ -239,11 +239,11 @@
 % \textquotedblleft hidden\textquotedblright{} when printing the text.
 % It is not really invisible, but just has the same color as the background
 % (default: |white|). Therefore the layout is not changed when printing
-% the document.\\
+% the document.\newline
 % Further the commands |\hycon| and |\hycoff| (|hy|per-|c|olour-|on|/|off|)
 % can be used to \emph{simulate} switching option |ocgcolorlinks| of the
-% \xpackage{hyperref} package on and off.\\
-% This package is possibly obsolete, see section~\ref{s:Alternatives}: Alternatives.
+% \xpackage{hyperref} package on and off.\newline
+% This package is probably obsolete, see section~\ref{s:Alternatives}: Alternatives.
 %
 % \section{Usage}
 % \indent Just load the package placing
@@ -255,12 +255,12 @@
 % use |\hrefdisplayonly| instead of |\href|. This might be practical
 % for example for internal links, which make no sense in a printed
 % version (\textquotedblleft Click here\textquotedblright{} does
-% not work with physical paper).\\
+% not work with physical paper).\newline
 % |\hypersetup{ocgcolorlinks=true}| and |\hypersetup{ocgcolorlinks=false}|
-% may work - or they may not. (|ocgcolorlinks| is a decision to be made
-% in the preamble and performes changes which cannot easily be reverted.)
+% may work -- or they may not. (|ocgcolorlinks| is a decision to be made
+% in the preamble and performs changes which cannot easily be reverted.)
 % But it is possible to use |ocgcolorlinks| while letting the links
-% \emph{appear} as if |ocgcolorlinks=false| was choosen. Therefore this
+% \emph{appear} as if |ocgcolorlinks=false| was chosen. Therefore this
 % package provides the command |\hycoff| (and |\hycon| to switch back to
 % default |ocgcolorlinks=true| behaviour). Note that |ocgcolorlinks=true|
 % really is enabled, therefore all limitation of this apply
@@ -299,15 +299,15 @@
 % \vspace{-\baselineskip}
 % (and replace \texttt{white} with the background color;
 % when the \href{https://ctan.org/pkg/pagecolor}{\pkg{pagecolor}}
-% package is used, |\thepagecolor| instead of |white| should be used).\\
+% package is used, |\thepagecolor| instead of |white| should be used).\bigskip
 %
 % \DescribeMacro{pdfcomment}
 % For hiding text, which does not contain links, the
 % \href{https://ctan.org/pkg/pdfcomment}{\xpackage{pdfcomment}}
-% package by \textsc{Josef Kleber} should be noted.\\
+% package by \textsc{Josef Kleber} should be noted.\bigskip
 %
 % \DescribeMacro{ocgx2}
-% This |hrefhide| package is possibly obsolete. Using the
+% This |hrefhide| package is probably obsolete. Using the
 % \href{https://ctan.org/pkg/ocgx2}{\xpackage{ocgx2}} package
 % \begin{verbatim}
 % \usepackage[<options>]{ocgx2}
@@ -330,11 +330,11 @@
 % \section{Example}
 %    \begin{macrocode}
 %<*example>
-\NeedsTeXFormat{LaTeX2e}[2022-11-01]
-\documentclass[british]{article}[2022/07/02]% v1.4n Standard LaTeX document class
-\usepackage{lipsum}[2021-09-20]% v2.7  150 paragraphs of Lorem Ipsum dummy text
+\NeedsTeXFormat{LaTeX2e}[2024-11-01]
+\documentclass[british]{article}[2024/06/29]% v1.4n Standard LaTeX document class
+\usepackage{lipsum}[2021-09-20]% v2.7 150 paragraphs of Lorem Ipsum dummy text
 \usepackage[ocgcolorlinks,bookmarks=false,bookmarksopen=false%
-  ]{hyperref}[2023-02-07]% v7.00v Hypertext links for LaTeX
+  ]{hyperref}[2024-11-05]% v7.01l Hypertext links for LaTeX
 % Bookmarks are not needed here, but are possible, of course.
 \hypersetup{extension=pdf,%
  plainpages=false,%
@@ -349,7 +349,7 @@
  pdfpagelayout=SinglePage%
 }
 \usepackage[linktextcolour=black,backgroundcolour=white,pdfborder={0 0 1}%
-  ]{hrefhide}[2023-02-26]% v1.1a Hiding hyperrefs when printing pdf files (HMM)
+  ]{hrefhide}[2025-01-27]% v1.1b Hiding hyperrefs when printing pdf files (HMM)
 \listfiles
 \begin{document}
 \pagenumbering{arabic}
@@ -357,7 +357,7 @@
 \markboth{Example for hrefhide}{Example for hrefhide}
 
 This example demonstrates the use of package\newline
-\textsf{hrefhide}, v1.1a as of 2023-02-26 (HMM).\newline
+\textsf{hrefhide}, v1.1b as of 2025-01-27 (HMM).\newline
 %    \end{macrocode}
 % \pagebreak
 %    \begin{macrocode}
@@ -364,12 +364,11 @@
 The used options were \texttt{linktextcolour=black},
 \texttt{backgroundcolour=white}, and \texttt{pdfborder={0 0 1}}
 (the default ones).\newline
-For more details please see the documentation!\newline
+For more details please see the documentation!\bigskip
 
 \textit{Print-\textbf{preview} the first page of this document
-and compare it with the page as displayed in your pdf reader.}
+and compare it with the page as displayed in your pdf reader.}\bigskip
 
-\bigskip
 Lorem ipsum dolor sit amet \href{\#target}{link to target} consectetuer
 adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet
 dolore magna aliquam erat volutpat.
@@ -415,8 +414,7 @@
 
 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.
 
 Switching to colored links with \verb|\hycon|:\newline
 \hycon%
@@ -429,7 +427,7 @@
 \href{https://ctan.org/pkg/hrefhide}{https://ctan.org/pkg/hrefhide}.
 \pagebreak
 
-{\Large \textbf{Targets}}\\
+{\Large \textbf{Targets}}\newline
 Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam
 nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat
 volutpat. \hypertarget{target}{target text} Ut wisi enim ad minim
@@ -475,9 +473,9 @@
 %
 %    \begin{macrocode}
 %<*package>
-\NeedsTeXFormat{LaTeX2e}[2022-11-01]
-\ProvidesPackage{hrefhide}[2023-02-26 v1.1a
-            Hiding hyperrefs when printing pdf files (HMM)]
+\NeedsTeXFormat{LaTeX2e}[2024-11-01]
+\ProvidesPackage{hrefhide}[2025-01-27 v1.1b %
+  Hiding hyperrefs when printing pdf files (HMM)]
 %% Allows to "hide" hyperlinked text in a pdf file when printing
 %% ("Click here" does not work on physical paper)
 %% by providing the command \hrefdisplayonly
@@ -484,15 +482,13 @@
 %% and allows simulating to switch on/off ocgcolourlinks
 %% of the hyperref package.
 
-\@ifl at t@r\fmtversion{2022/11/01}{% would have understood
- % \IfFormatAtLeastTF{2022-11-01}{<true code>}{<false code>}
+\@ifl at t@r\fmtversion{2024/11/01}{% would have understood
+ % \IfFormatAtLeastTF{2024-11-01}{<true code>}{<false code>}
  }{\PackageError{hrefhide}{%
       Newer LaTeX format needed or older hrefhide package%
-    }{Needed LaTeX format version: 2022-11-01 or newer.\MessageBreak%
+    }{Needed LaTeX format version: 2024-11-01 or newer.\MessageBreak%
       Found\space\space LaTeX format version: \fmtversion.\MessageBreak%
-      Either update your TeX distribution\MessageBreak%
-      or use an archived version of hrefhide\MessageBreak%
-      (see section History in the documentation).\MessageBreak%
+      Please update your TeX distribution.
      }
   }
 
@@ -500,29 +496,31 @@
 %
 % We need the \xpackage{xcolor} package by \textsc{Dr.~Uwe Kern}
 %    \begin{macrocode}
-\RequirePackage{xcolor}[2022/06/12]% v2.14 LaTeX color extensions (UK)
+\RequirePackage{xcolor}[2024/09/29]% v3.02 LaTeX color extensions (UK)
 %    \end{macrocode}
-% the \xpackage{hyperref} package
+% and the \xpackage{hyperref} package:
 %    \begin{macrocode}
-\RequirePackage[ocgcolorlinks]{hyperref}[2023-02-07]% v7.00v Hypertext links for LaTeX
+\RequirePackage[ocgcolorlinks]{hyperref}[2024-11-05]% v7.01l Hypertext links for LaTeX
 %    \end{macrocode}
-% and the \xpackage{kvoptions} package by \textsc{Heiko Oberdiek}
-%    \begin{macrocode}
-\RequirePackage{kvoptions}[2022-06-15]% v3.15 Key value format for package options (HO)
-%    \end{macrocode}
-% \indent See subsection~\ref{ss:Downloads} about how to get them.\\
+% \indent See subsection~\ref{ss:Downloads} about how to get them.
 %
 % The options are introduced:
 %
 %    \begin{macrocode}
 
-\SetupKeyvalOptions{family=hrefhide,prefix=hrefhide@}
-\DeclareStringOption[black]{linktextcolour}[black]
-\DeclareStringOption[white]{backgroundcolour}[white]
-\DeclareStringOption[{0 0 1}]{pdfborder}[{0 0 1}]
+\DeclareKeys[hrefhide]
+ {linktextcolour   .store = \hrefhide at linktextcolour ,
+  linktextcolour   .usage = preamble ,
+  backgroundcolour .store = \hrefhide at backgroundcolour ,
+  backgroundcolour .usage = preamble ,
+  pdfborder        .store = \hrefhide at pdfborder ,
+  pdfborder        .usage = preamble
+ }
 
-\ProcessKeyvalOptions*
+\SetKeys[hrefhide]{linktextcolour=black,backgroundcolour=white,pdfborder={0 0 1}}
 
+\ProcessKeyOptions[hrefhide]
+
 \newif\ifhrefhide
 
 %    \end{macrocode}
@@ -530,6 +528,8 @@
 % The new commands are defined:
 %
 % \begin{macro}{\hycon}
+% \DescribeMacro{\hycon}
+% \vspace{-1.15\baselineskip}
 %    \begin{macrocode}
 \DeclareRobustCommand{\hycon}{%
 \ifhrefhide%
@@ -568,10 +568,11 @@
 %
 % If link coloring is already |ON|, nothing is done. Otherwise
 % |\hycon| looks for the color of the border of a link type and
-% sets the color of the text of that lik type to that color.
+% sets the color of the text of that link type to that color.
 % \end{macro}
 %
 % \begin{macro}{\hycoff}
+% \DescribeMacro{\hycoff}
 % \indent This package on the one hand uses the \texttt{ocgcolor} option
 % of the \xpackage{hyperref} package, but on the other hand
 % does not really want colored links (see \ref{s:Alternatives}).
@@ -609,7 +610,7 @@
 % of the link type, setting the color of the text of the link type to
 % |\hrefhide at linktextcolour| (default: black) and the link border again to
 % |\hrefhide at pdfborder| (default: rectangle with \hbox{1\,pt line}
-% thickness).\\
+% thickness).\newline
 % While link coloring is really ON, we thus emulate the behaviour
 % of link coloring OFF, therefore we give this message:
 %
@@ -694,9 +695,6 @@
   \hycoff%
   }
 
-%    \end{macrocode}
-%
-%    \begin{macrocode}
 %</package>
 %    \end{macrocode}
 % \newpage
@@ -704,15 +702,15 @@
 % \section{Installation}
 % \subsection{Downloads\label{ss:Downloads}}
 % Everything is available at \url{https://www.ctan.org},
-% but may need additional packages themselves.\\
+% but may need additional packages themselves.\bigskip
 %
 % \DescribeMacro{hrefhide.dtx}
 % For unpacking the |hrefhide.dtx| file and constructing the documentation
 % it is required:
 % \begin{description}
-% \item[-] \TeX Format \LaTeXe{} 2022-11-01 or newer: \url{https://www.CTAN.org}
+% \item[-] \TeX Format \LaTeXe{} 2024-11-01 or newer: \url{https://www.CTAN.org}
 %
-% \item[-] document class \xclass{ltxdoc}, 2022/06/22, v2.1i,
+% \item[-] document class \xclass{ltxdoc}, 2024/02/08, v2.1j,
 %   \url{https://www.ctan.org/pkg/ltxdoc}
 %
 % \item[-] package \xpackage{holtxdoc}, 2019/12/09, v0.30,
@@ -723,18 +721,15 @@
 % The |hrefhide.sty| for \LaTeXe{} (i.\,e. each document using
 % the \xpackage{hrefhide} package) requires:
 % \begin{description}
-% \item[-] \TeX{} Format \LaTeXe{}  2022-11-01 or newer, \url{https://www.CTAN.org}
+% \item[-] \TeX{} Format \LaTeXe{}  2024-11-01 or newer, \url{https://www.CTAN.org}
 %
-% \item[-] package \xpackage{xcolor}, 2022/06/12, v2.14,
+% \item[-] package \xpackage{xcolor}, 2024/09/29, v3.02,
 %   \url{https://www.ctan.org/pkg/xcolor}
 %
-% \item[-] package \xpackage{hyperref}, 2023-02-07, v7.00v,
+% \item[-] package \xpackage{hyperref}, 2024-11-05, v7.01l,
 %   \url{https://www.ctan.org/pkg/hyperref}
 %
-% \item[-] package \xpackage{kvoptions}, 2022-06-15, v3.15,
-%   \url{https://www.ctan.org/pkg/kvoptions}
-%
-% \item[-] package \xpackage{hrefhide}, 2023-02-26, v1.1a,
+% \item[-] package \xpackage{hrefhide}, 2025-01-27, v1.1b,
 %   \url{https://www.ctan.org/pkg/hrefhide}
 %   (Because you are reading the documentation for the
 %    \xpackage{hrefhide} package, it can be assumed that you already
@@ -746,11 +741,11 @@
 % documents using the \xpackage{hrefhide} package
 % (see preceding paragraph |hrefhide.sty|) and additionally:
 % \begin{description}
-% \item[-] class \xpackage{article}, 2022/07/02, v1.4n, from \xpackage{classes}:
+% \item[-] class \xpackage{article}, 2024/06/29, v1.4n, from \xpackage{classes}:
 %           \url{https://ctan.org/pkg/classes}
 %
 % \item[-] package \xpackage{lipsum}, 2021-09-20, v2.7,
-%           \url{https://www.ctan.org/pkg/lipsum}\\
+%           \url{https://www.ctan.org/pkg/lipsum}\newline
 %           This package is only needed for some blind text.
 % \end{description}
 %
@@ -762,43 +757,41 @@
 %   \url{https://www.ctan.org/pkg/hyperref}
 %   with option |ocgcolorlinks| and |{\color{white}\href{...}{...}}|.
 %
-% \item[-] package \xpackage{pdfcomment}, 2018/11/01, v2.4a,
+% \item[-] package \xpackage{pdfcomment}, 2024-11-05, v7.01l,
 %   \url{https://www.ctan.org/pkg/pdfcomment}
 %   for text \textbf{outside} of links
 %
-% \item[-] package \xpackage{ocgx2}, 2022/12/16, v0.56,
+% \item[-] package \xpackage{ocgx2}, 2024-09-16, v060,
 %   \url{https://www.ctan.org/pkg/ocgx2}
 % \end{description}
 %
 % \DescribeMacro{Oberdiek}
 % \DescribeMacro{holtxdoc}
-% \DescribeMacro{kvoptions}
 % All packages of the `oberdiek' bundle
-% (especially \xpackage{holtxdoc} and \xpackage{kvoptions})
-% are also available in a TDS compliant ZIP archive:\\
-% \url{https://mirror.ctan.org/install/macros/latex/contrib/oberdiek.tds.zip}.\\
+% (especially \xpackage{holtxdoc}) are also available in a TDS compliant ZIP archive:\newline
+% \url{https://mirror.ctan.org/install/macros/latex/contrib/oberdiek.tds.zip}.\newline
 % It is probably best to download and use this, because the packages in there
-% are quite probably both recent and compatible among themselves.\\
+% are quite probably both recent and compatible among themselves.\bigskip
 %
 % \DescribeMacro{hyperref}
 % \noindent \xpackage{hyperref} is not included in that bundle and needs to be
-% downloaded separately,\\
-% \url{https://mirror.ctan.org/install/macros/latex/contrib/hyperref.tds.zip}.\\
+% downloaded separately,\newline
+% \url{https://mirror.ctan.org/install/macros/latex/contrib/hyperref.tds.zip}.\bigskip
 %
 % \DescribeMacro{Münch}
-% A hyperlinked list of my (other) packages can be found at\\
-% \url{https://www.ctan.org/author/muench-hm}.\\
+% A hyperlinked list of my (other) packages can be found at\newline
+% \url{https://www.ctan.org/author/muench-hm}.
 %
 % \subsection{Package, unpacking TDS}
 % \paragraph{Package.} This package is available on \url{https://www.CTAN.org}.
 % \begin{description}
-% \item[\url{https://mirror.ctan.org/macros/latex/contrib/hrefhide/hrefhide.dtx}]\hspace*{0.1cm}\\
+% \item[\url{https://mirror.ctan.org/macros/latex/contrib/hrefhide/hrefhide.dtx}]\hspace*{0.1cm}\newline
 %       The source file.
-% \item[\url{https://mirror.ctan.org/macros/latex/contrib/hrefhide/hrefhide.pdf}]\hspace*{0.1cm}\\
+% \item[\url{https://mirror.ctan.org/macros/latex/contrib/hrefhide/hrefhide.pdf}]\hspace*{0.1cm}\newline
 %       The documentation.
 % \item[\url{https://mirror.ctan.org/macros/latex/contrib/hrefhide/hrefhide-example.pdf}]\hspace*{0cm}%
 %       The compiled example file, as it should look like.
-% \item[\url{https://mirror.ctan.org/macros/latex/contrib/hrefhide/README}]\hspace*{0.1cm}\\
+% \item[\url{https://mirror.ctan.org/macros/latex/contrib/hrefhide/README}]\hspace*{0.1cm}\newline
 %       The README file.
 % \end{description}
 %
@@ -807,7 +800,7 @@
 % \item[\url{https://mirror.ctan.org/install/macros/latex/contrib/hrefhide.tds.zip}]\hspace*{0cm}%
 %       Everything in TDS compliant, compiled format.
 % \end{description}
-% which additionally contains\\
+% which additionally contains\newline
 % \begin{tabular}{ll}
 % hrefhide.ins & The installation file.\\
 % hrefhide.drv & The driver to generate the documentation.\\
@@ -826,7 +819,7 @@
 %   \verb|tex hrefhide.dtx|
 % \end{quote}
 %
-% About generating the documentation see paragraph~\ref{GenDoc} below.\\
+% About generating the documentation see paragraph~\ref{GenDoc} below.\bigskip
 %
 % \paragraph{TDS.} Now the different files must be moved into
 % the different directories in your installation TDS tree
@@ -951,9 +944,9 @@
 %
 % \subsection{Compiling the example}
 %
-% The example file, \textsf{hrefhide-example.tex}, can be compiled via\\
-% \indent |pdflatex hrefhide-example.tex|\\
-% (but \textbf{not} |latex hrefhide-example.tex|!)\\
+% The example file, \textsf{hrefhide-example.tex}, can be compiled via\newline
+% \indent |pdflatex hrefhide-example.tex|\newline
+% (but \textbf{not} |latex hrefhide-example.tex|!)\newline
 % and will need at least two compiler runs to get all references right.
 %
 % \section{Acknowledgements}
@@ -960,9 +953,7 @@
 %
 % I would like to thank \textsc{Heiko Oberdiek} for providing a lot of
 % 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{}.
+% a file in \xext{dtx} format, ok, say it: copying).
 %
 % \phantomsection
 % \begin{History}\label{History}
@@ -984,25 +975,20 @@
 %     \item \xpackage{pdfcomment} package listed as alternative for text \textbf{outside}
 %             of hyperlinks.
 %     \item \xpackage{holtxdoc} warning in \xfile{drv} updated.
-%     \item Corrected the location of the package at CTAN.\\
+%     \item Corrected the location of the package at CTAN.\newline
 %             (In that version \xfile{TDS} was still missing due to packaging error.)
 %     \item Updated reference to other package: \xpackage{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 Included a |\CheckSum|.
-%     \item Minor details.
+%     \item Included a |\CheckSum| [later removed].
 %   \end{Version}
 %   \begin{Version}{2011/02/01 v1.0e}
-%     \item Changed the |\unit| definition (got rid of an old |\rm|).\\
+%     \item Changed the |\unit| definition (got rid of an old |\rm|).\newline
 %             {}[Removed in version 1.1a.]
-%     \item Moved the package from \texttt{.../latex/muench/hrefhide/...} to\\
+%     \item Moved the package from \texttt{.../latex/muench/hrefhide/...} to\newline
 %             \texttt{.../latex/hrefhide/...}.
-%     \item Replaced the list of my packages with a link to a web page list of those,
-%             which has the advantage of showing the recent versions of all those packages.
-%     \item Minor details.
 %   \end{Version}
 %   \begin{Version}{2011/04/29 v1.0f}
 %     \item The \xpackage{holtxdoc} package was fixed (then: 2011/02/04, v0.21), therefore
@@ -1009,7 +995,7 @@
 %             the warning in \xfile{drv} could be removed.~-- Adapted the style of this
 %             documentation to new \textsc{Oberdiek} \xfile{dtx} style.
 %     \item Removed the \textsf{ltxdoc.cfg} file for the documentation.
-%     \item Bug fix: The previouse versions only hide links of type
+%     \item Bug fix: The previous versions only hide links of type
 %             \textquotedblleft link\textquotedblright. Now the types citation, page reference,
 %             URL, local file reference, and \textquotedblleft other links\textquotedblright-type
 %             are \textquotedblleft hidden\textquotedblright.
@@ -1017,16 +1003,18 @@
 %              on/off of~|ocgcolorlinks| in the document.
 %     \item Instead of \xpackage{color} now the \xpackage{xcolor} package is used.
 %     \item A lot of details.
-%     \item This version has been archived at\\
-%             \url{https://web.archive.org/web/20190417081010/https://mirror.ctan.org/install/macros/latex/contrib/hrefhide.tds.zip}
 %   \end{Version}
 %   \begin{Version}{2023-02-26 v1.1a}
 %     \item Made the |\newcommand|s robust.
 %     \item Removed |\unit|.
 %     \item Converted to UTF-8.
-%     \item Updated to \LaTeX{} format 2022-11-01.
+%     \item Updated to [then] current \LaTeX{} format.
 %     \item Extensive updates of the Documentation and README.
 %   \end{Version}
+%   \begin{Version}{2025-01-27 v1.1b}
+%     \item No longer loads \xpackage{kvotions} (but \xpackage{hyperref} does).
+%     \item Updates of the documentation.
+%   \end{Version}
 % \end{History}
 %
 % \bigskip

Modified: trunk/Master/texmf-dist/source/latex/hrefhide/hrefhide.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/hrefhide/hrefhide.ins	2025-01-29 20:31:12 UTC (rev 73640)
+++ trunk/Master/texmf-dist/source/latex/hrefhide/hrefhide.ins	2025-01-29 20:31:24 UTC (rev 73641)
@@ -9,10 +9,10 @@
 %% This is a generated file.
 %% 
 %% Project: hrefhide
-%% Version: 2023-02-26 v1.1a
+%% Version: 2025-01-27 v1.1b
 %% Info: Hiding hyperrefs when printing pdf files
 %% 
-%% Copyright (C) 2010 - 2023 by
+%% Copyright (C) 2010 - 2025 by
 %%     H.-Martin Muench <Martin dot Muench at Uni-Bonn dot de>
 %% 
 %% This work may be distributed and/or modified under the
@@ -43,7 +43,7 @@
 \input docstrip.tex
 \Msg{************************************************************************************}
 \Msg{* Installation                                                                     *}
-\Msg{* Package: hrefhide 2023-02-26 v1.1a Hiding hyperrefs when printing pdf files (HMM)*}
+\Msg{* Package: hrefhide 2025-01-27 v1.1b Hiding hyperrefs when printing pdf files (HMM)*}
 \Msg{************************************************************************************}
 
 \keepsilent
@@ -55,10 +55,10 @@
 This is a generated file.
 
 Project: hrefhide
-Version: 2023-02-26 v1.1a
+Version: 2025-01-27 v1.1b
 Info: Hiding hyperrefs when printing pdf files
 
-Copyright (C) 2010 - 2023 by
+Copyright (C) 2010 - 2025 by
     H.-Martin Muench <Martin dot Muench at Uni-Bonn dot de>
 
 This work may be distributed and/or modified under the

Modified: trunk/Master/texmf-dist/tex/latex/hrefhide/hrefhide.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/hrefhide/hrefhide.sty	2025-01-29 20:31:12 UTC (rev 73640)
+++ trunk/Master/texmf-dist/tex/latex/hrefhide/hrefhide.sty	2025-01-29 20:31:24 UTC (rev 73641)
@@ -9,10 +9,10 @@
 %% This is a generated file.
 %% 
 %% Project: hrefhide
-%% Version: 2023-02-26 v1.1a
+%% Version: 2025-01-27 v1.1b
 %% Info: Hiding hyperrefs when printing pdf files
 %% 
-%% Copyright (C) 2010 - 2023 by
+%% Copyright (C) 2010 - 2025 by
 %%     H.-Martin Muench <Martin dot Muench at Uni-Bonn dot de>
 %% 
 %% This work may be distributed and/or modified under the
@@ -40,9 +40,9 @@
 %%  Tommy Muench         + 2014-01-02
 %%  Hans-Klaus Muench    + 2014-08-24
 %% 
-\NeedsTeXFormat{LaTeX2e}[2022-11-01]
-\ProvidesPackage{hrefhide}[2023-02-26 v1.1a
-            Hiding hyperrefs when printing pdf files (HMM)]
+\NeedsTeXFormat{LaTeX2e}[2024-11-01]
+\ProvidesPackage{hrefhide}[2025-01-27 v1.1b %
+  Hiding hyperrefs when printing pdf files (HMM)]
 %% Allows to "hide" hyperlinked text in a pdf file when printing
 %% ("Click here" does not work on physical paper)
 %% by providing the command \hrefdisplayonly
@@ -49,29 +49,32 @@
 %% and allows simulating to switch on/off ocgcolourlinks
 %% of the hyperref package.
 
-\@ifl at t@r\fmtversion{2022/11/01}{% would have understood
- % \IfFormatAtLeastTF{2022-11-01}{<true code>}{<false code>}
+\@ifl at t@r\fmtversion{2024/11/01}{% would have understood
+ % \IfFormatAtLeastTF{2024-11-01}{<true code>}{<false code>}
  }{\PackageError{hrefhide}{%
       Newer LaTeX format needed or older hrefhide package%
-    }{Needed LaTeX format version: 2022-11-01 or newer.\MessageBreak%
+    }{Needed LaTeX format version: 2024-11-01 or newer.\MessageBreak%
       Found\space\space LaTeX format version: \fmtversion.\MessageBreak%
-      Either update your TeX distribution\MessageBreak%
-      or use an archived version of hrefhide\MessageBreak%
-      (see section History in the documentation).\MessageBreak%
+      Please update your TeX distribution.
      }
   }
 
-\RequirePackage{xcolor}[2022/06/12]% v2.14 LaTeX color extensions (UK)
-\RequirePackage[ocgcolorlinks]{hyperref}[2023-02-07]% v7.00v Hypertext links for LaTeX
-\RequirePackage{kvoptions}[2022-06-15]% v3.15 Key value format for package options (HO)
+\RequirePackage{xcolor}[2024/09/29]% v3.02 LaTeX color extensions (UK)
+\RequirePackage[ocgcolorlinks]{hyperref}[2024-11-05]% v7.01l Hypertext links for LaTeX
 
-\SetupKeyvalOptions{family=hrefhide,prefix=hrefhide@}
-\DeclareStringOption[black]{linktextcolour}[black]
-\DeclareStringOption[white]{backgroundcolour}[white]
-\DeclareStringOption[{0 0 1}]{pdfborder}[{0 0 1}]
+\DeclareKeys[hrefhide]
+ {linktextcolour   .store = \hrefhide at linktextcolour ,
+  linktextcolour   .usage = preamble ,
+  backgroundcolour .store = \hrefhide at backgroundcolour ,
+  backgroundcolour .usage = preamble ,
+  pdfborder        .store = \hrefhide at pdfborder ,
+  pdfborder        .usage = preamble
+ }
 
-\ProcessKeyvalOptions*
+\SetKeys[hrefhide]{linktextcolour=black,backgroundcolour=white,pdfborder={0 0 1}}
 
+\ProcessKeyOptions[hrefhide]
+
 \newif\ifhrefhide
 
 \DeclareRobustCommand{\hycon}{%



More information about the tex-live-commits mailing list.