texlive[63592] Master/texmf-dist: hypdoc (14jun22)
commits+karl at tug.org
commits+karl at tug.org
Tue Jun 14 22:21:15 CEST 2022
Revision: 63592
http://tug.org/svn/texlive?view=revision&revision=63592
Author: karl
Date: 2022-06-14 22:21:14 +0200 (Tue, 14 Jun 2022)
Log Message:
-----------
hypdoc (14jun22)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/hypdoc/README.md
trunk/Master/texmf-dist/doc/latex/hypdoc/hypdoc.pdf
trunk/Master/texmf-dist/source/latex/hypdoc/hypdoc.dtx
trunk/Master/texmf-dist/tex/latex/hypdoc/hypdoc.sty
Modified: trunk/Master/texmf-dist/doc/latex/hypdoc/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/hypdoc/README.md 2022-06-14 20:21:03 UTC (rev 63591)
+++ trunk/Master/texmf-dist/doc/latex/hypdoc/README.md 2022-06-14 20:21:14 UTC (rev 63592)
@@ -1,6 +1,6 @@
# hypdoc
-Version: 2021-11-15 v1.15
+Version: 2022-06-14 v1.16
This package adds hyper features to the package
doc that is used in the documentation
@@ -10,7 +10,7 @@
## Copyright (C)
* 2002, 2006, 2007, 2009-2011 Heiko Oberdiek
-* 2016-2021 Oberdiek Package Support Group
+* 2016-2022 Oberdiek Package Support Group
## License
LATEX Project Public License, version 1.3c or later.
Modified: trunk/Master/texmf-dist/doc/latex/hypdoc/hypdoc.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/hypdoc/hypdoc.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/hypdoc/hypdoc.dtx 2022-06-14 20:21:03 UTC (rev 63591)
+++ trunk/Master/texmf-dist/source/latex/hypdoc/hypdoc.dtx 2022-06-14 20:21:14 UTC (rev 63592)
@@ -1,12 +1,12 @@
% \iffalse meta-comment
%
% File: hypdoc.dtx
-% Version: 2021-11-15 v1.15
+% Version: 2022-06-14 v1.16
% Info: Hyper extensions for doc.sty
%
% Copyright (C)
% 2002, 2006, 2007, 2009-2011 Heiko Oberdiek
-% 2016-2021 Oberdiek Package Support Group
+% 2016-2022 Oberdiek Package Support Group
% https://github.com/ho-tex/hypdoc/issues
%
% This work may be distributed and/or modified under the
@@ -79,7 +79,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: hypdoc 2021-11-15 v1.15 Hyper extensions for doc.sty (HO)}
+\Msg{* Package: hypdoc 2022-06-14 v1.16 Hyper extensions for doc.sty (HO)}
\Msg{************************************************************************}
\keepsilent
@@ -91,11 +91,11 @@
This is a generated file.
Project: hypdoc
-Version: 2021-11-15 v1.15
+Version: 2022-06-14 v1.16
Copyright (C)
2002, 2006, 2007, 2009-2011 Heiko Oberdiek
- 2016-2021 Oberdiek Package Support Group
+ 2016-2022 Oberdiek Package Support Group
This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either
@@ -152,7 +152,8 @@
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{hypdoc.drv}%
- [2021-11-15 v1.15 Hyper extensions for doc.sty (HO)]%
+ [2022-06-14 v1.16 Hyper extensions for doc.sty (HO)]%
+\PassOptionsToPackage{numbered}{hypdoc}
\documentclass{ltxdoc}
\usepackage{holtxdoc}[2011/11/22]
\begin{document}
@@ -166,7 +167,7 @@
% \GetFileInfo{hypdoc.drv}
%
% \title{The \xpackage{hypdoc} package}
-% \date{2021-11-15 v1.15}
+% \date{2022-06-14 v1.16}
% \author{Heiko Oberdiek\thanks
% {Please report any issues at \url{https://github.com/ho-tex/hypdoc/issues}}}
%
@@ -212,7 +213,7 @@
% and \verb|\author| and sets the corresponding PDF
% information fields. In case of problems see the previous
% item about bookmarks.
-% These enries can be overwritten or new ones added by
+% These entries can be overwritten or new ones added by
% \verb|\hypersetup| after the packages is loaded, see
% documentation of package \verb|hyperref|.
% \item[References, links:] Because of package \verb|\hyperref|
@@ -344,7 +345,7 @@
%<*package>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{hypdoc}%
- [2021-11-15 v1.15 Hyper extensions for doc.sty (HO)]%
+ [2022-06-14 v1.16 Hyper extensions for doc.sty (HO)]%
% \end{macrocode}
% The package identification is done at the top of the |.dtx| file
% in order to use only one identification string.
@@ -375,13 +376,16 @@
\fi
% \end{macrocode}
% \begin{macrocode}
-\RequirePackage[%
- hyperindex=false,%
- pdfusetitle,%
+\@ifpackageloaded{hyperref}
+ {\PackageWarning{hypdoc}{hyperref has been loaded before. Check the options!}}
+ {\RequirePackage[%
+ hyperindex=false,%
+ pdfusetitle,%
+ pdfpagelabels%
+ ]{hyperref}[2002/05/09]%
+ }
+\hypersetup{%
colorlinks,%
- pdfpagelabels%
-]{hyperref}[2002/05/09]%
-\hypersetup{%
plainpages=false,%
bookmarksopen,%
bookmarksnumbered,%
@@ -1330,6 +1334,9 @@
% \item removed an old, unneeded patch for latex/4096
% \item added a \cs{pdfstringdefDisableCommands} setting for \cs{autoindex}
% \end{Version}
+% \begin{Version}{2022-06-14 v1.16}
+% \item Avoid to load hyperref if has been already loaded, issue \#1
+% \end{Version}
% \end{History}
%
% \PrintIndex
Modified: trunk/Master/texmf-dist/tex/latex/hypdoc/hypdoc.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/hypdoc/hypdoc.sty 2022-06-14 20:21:03 UTC (rev 63591)
+++ trunk/Master/texmf-dist/tex/latex/hypdoc/hypdoc.sty 2022-06-14 20:21:14 UTC (rev 63592)
@@ -9,11 +9,11 @@
%% This is a generated file.
%%
%% Project: hypdoc
-%% Version: 2021-11-15 v1.15
+%% Version: 2022-06-14 v1.16
%%
%% Copyright (C)
%% 2002, 2006, 2007, 2009-2011 Heiko Oberdiek
-%% 2016-2021 Oberdiek Package Support Group
+%% 2016-2022 Oberdiek Package Support Group
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
@@ -37,7 +37,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{hypdoc}%
- [2021-11-15 v1.15 Hyper extensions for doc.sty (HO)]%
+ [2022-06-14 v1.16 Hyper extensions for doc.sty (HO)]%
\newif\ifHD at numbered
\DeclareOption{numbered}{\HD at numberedtrue}
\ProcessOptions*\relax
@@ -46,13 +46,16 @@
\ifx\numexpr\@undefined
\RequirePackage{calc}%
\fi
-\RequirePackage[%
- hyperindex=false,%
- pdfusetitle,%
+\@ifpackageloaded{hyperref}
+ {\PackageWarning{hypdoc}{hyperref has been loaded before. Check the options!}}
+ {\RequirePackage[%
+ hyperindex=false,%
+ pdfusetitle,%
+ pdfpagelabels%
+ ]{hyperref}[2002/05/09]%
+ }
+\hypersetup{%
colorlinks,%
- pdfpagelabels%
-]{hyperref}[2002/05/09]%
-\hypersetup{%
plainpages=false,%
bookmarksopen,%
bookmarksnumbered,%
More information about the tex-live-commits
mailing list.