texlive[68661] Master/texmf-dist: hypdoc (26oct23)
commits+karl at tug.org
commits+karl at tug.org
Thu Oct 26 21:52:32 CEST 2023
Revision: 68661
https://tug.org/svn/texlive?view=revision&revision=68661
Author: karl
Date: 2023-10-26 21:52:32 +0200 (Thu, 26 Oct 2023)
Log Message:
-----------
hypdoc (26oct23)
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 2023-10-26 19:52:22 UTC (rev 68660)
+++ trunk/Master/texmf-dist/doc/latex/hypdoc/README.md 2023-10-26 19:52:32 UTC (rev 68661)
@@ -1,6 +1,6 @@
# hypdoc
-Version: 2023-01-23 v1.18
+Version: 2023-10-26 v1.19
This package adds hyper features to the package
doc that is used in the documentation
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 2023-10-26 19:52:22 UTC (rev 68660)
+++ trunk/Master/texmf-dist/source/latex/hypdoc/hypdoc.dtx 2023-10-26 19:52:32 UTC (rev 68661)
@@ -1,7 +1,7 @@
% \iffalse meta-comment
%
% File: hypdoc.dtx
-% Version: 2023-01-23 v1.18
+% Version: 2023-10-26 v1.19
% Info: Hyper extensions for doc.sty
%
% Copyright (C)
@@ -79,7 +79,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: hypdoc 2023-01-23 v1.18 Hyper extensions for doc.sty (HO)}
+\Msg{* Package: hypdoc 2023-10-26 v1.19 Hyper extensions for doc.sty (HO)}
\Msg{************************************************************************}
\keepsilent
@@ -91,7 +91,7 @@
This is a generated file.
Project: hypdoc
-Version: 2023-01-23 v1.18
+Version: 2023-10-26 v1.19
Copyright (C)
2002, 2006, 2007, 2009-2011 Heiko Oberdiek
@@ -152,7 +152,7 @@
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{hypdoc.drv}%
- [2023-01-23 v1.18 Hyper extensions for doc.sty (HO)]%
+ [2023-10-26 v1.19 Hyper extensions for doc.sty (HO)]%
\PassOptionsToPackage{numbered}{hypdoc}
\documentclass{ltxdoc}
\usepackage{holtxdoc}[2011/11/22]
@@ -167,7 +167,7 @@
% \GetFileInfo{hypdoc.drv}
%
% \title{The \xpackage{hypdoc} package}
-% \date{2023-01-23 v1.18}
+% \date{2023-10-26 v1.19}
% \author{Heiko Oberdiek\thanks
% {Please report any issues at \url{https://github.com/ho-tex/hypdoc/issues}}}
%
@@ -345,7 +345,7 @@
%<*package>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{hypdoc}%
- [2023-01-23 v1.18 Hyper extensions for doc.sty (HO)]%
+ [2023-10-26 v1.19 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.
@@ -377,11 +377,20 @@
% \end{macrocode}
% \begin{macrocode}
\@ifpackageloaded{hyperref}
- {\PackageWarning{hypdoc}{hyperref has been loaded before. Check the options!}}
+ {
+ \ifHy at hyperindex
+ \PackageWarning{hypdoc}{%
+ hyperref has been loaded before with option 'hyperindex' enabled.\MessageBreak
+ The index will not work properly.}
+ \fi
+ \ifHy at pdfusetitle\else
+ \PackageInfo{hypdoc}{%
+ hyperref has been loaded before with option 'pdfusetitle' disabled.}
+ \fi
+ }
{\RequirePackage[%
hyperindex=false,%
- pdfusetitle,%
- pdfpagelabels%
+ pdfusetitle,%
]{hyperref}[2002/05/09]%
}
\hypersetup{%
@@ -811,6 +820,7 @@
\def\HD at maketarget{%
\stepcounter{HD at hypercount}%
\def\HD at next{%
+ \leavevmode
\llap{\hypertarget{HD.\the\c at HD@hypercount}{}\,}%
}%
\ifHD at savedest
@@ -1345,6 +1355,10 @@
% \begin{Version}{2023-01-23 v1.18}
% \item made an internal command long for compability with natbib, issue \#6
% \end{Version}
+% \begin{Version}{2023-10-26 v1.19}
+% \item Switch to hmode in \cs{HD at maketarget}, issue \#7
+% \item Check options of previously loaded hyperref more explicitly, issue \#4 and \#5.
+% \end{Version}
% \end{History}
%
% \PrintIndex
Modified: trunk/Master/texmf-dist/tex/latex/hypdoc/hypdoc.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/hypdoc/hypdoc.sty 2023-10-26 19:52:22 UTC (rev 68660)
+++ trunk/Master/texmf-dist/tex/latex/hypdoc/hypdoc.sty 2023-10-26 19:52:32 UTC (rev 68661)
@@ -9,7 +9,7 @@
%% This is a generated file.
%%
%% Project: hypdoc
-%% Version: 2023-01-23 v1.18
+%% Version: 2023-10-26 v1.19
%%
%% Copyright (C)
%% 2002, 2006, 2007, 2009-2011 Heiko Oberdiek
@@ -37,7 +37,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{hypdoc}%
- [2023-01-23 v1.18 Hyper extensions for doc.sty (HO)]%
+ [2023-10-26 v1.19 Hyper extensions for doc.sty (HO)]%
\newif\ifHD at numbered
\DeclareOption{numbered}{\HD at numberedtrue}
\ProcessOptions*\relax
@@ -47,11 +47,20 @@
\RequirePackage{calc}%
\fi
\@ifpackageloaded{hyperref}
- {\PackageWarning{hypdoc}{hyperref has been loaded before. Check the options!}}
+ {
+ \ifHy at hyperindex
+ \PackageWarning{hypdoc}{%
+ hyperref has been loaded before with option 'hyperindex' enabled.\MessageBreak
+ The index will not work properly.}
+ \fi
+ \ifHy at pdfusetitle\else
+ \PackageInfo{hypdoc}{%
+ hyperref has been loaded before with option 'pdfusetitle' disabled.}
+ \fi
+ }
{\RequirePackage[%
hyperindex=false,%
pdfusetitle,%
- pdfpagelabels%
]{hyperref}[2002/05/09]%
}
\hypersetup{%
@@ -303,6 +312,7 @@
\def\HD at maketarget{%
\stepcounter{HD at hypercount}%
\def\HD at next{%
+ \leavevmode
\llap{\hypertarget{HD.\the\c at HD@hypercount}{}\,}%
}%
\ifHD at savedest
More information about the tex-live-commits
mailing list.