[latex3-commits] [latex3/latex2e] ltproperties-activechars: add support for pagetarget property (6841a985)

github at latex-project.org github at latex-project.org
Sun Oct 15 23:03:18 CEST 2023


Repository : https://github.com/latex3/latex2e
On branch  : ltproperties-activechars
Link       : https://github.com/latex3/latex2e/commit/6841a9859b8ba48152c3dbb238484509801d9c5e

>---------------------------------------------------------------

commit 6841a9859b8ba48152c3dbb238484509801d9c5e
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Sun Oct 15 23:03:18 2023 +0200

    add support for pagetarget property


>---------------------------------------------------------------

6841a9859b8ba48152c3dbb238484509801d9c5e
 base/changes.txt      | 13 ++++++++-----
 base/ltproperties.dtx | 18 ++++++++++++++++--
 2 files changed, 24 insertions(+), 7 deletions(-)

diff --git a/base/changes.txt b/base/changes.txt
index 9bf797e6..ac8729d0 100644
--- a/base/changes.txt
+++ b/base/changes.txt
@@ -1,10 +1,13 @@
 ================================================================================ 
-This file lists changes to the LaTeX2e files in reverse chronological order of
-publication (therefore the dates might be out of sequence if there are hotfixes).
-It is provided for convenience only.  It therefore makes no claims to
-completeness or accuracy and it contains some references to files that
-are not part of the distribution.
+This file lists changes to the LaTeX2e files in reverse chronological order 
+of publication (therefore the dates might be out of sequence if there are 
+hotfixes). It is provided for convenience only.  It therefore makes no claims 
+to completeness or accuracy and it contains some references to files that are 
+not part of the distribution. 
 ================================================================================ 
+2023-10-15 Ulrike Fischer <Ulrike.Fischer at latex-project.org> 
+	* ltproperties.dtx: 
+	Add support for pagetarget property.  
 
 2023-10-14 Joseph Wright  <Joseph.Wright at latex-project.org>
 	* clsguide.tex:
diff --git a/base/ltproperties.dtx b/base/ltproperties.dtx
index 46bfa783..f8e46fb9 100644
--- a/base/ltproperties.dtx
+++ b/base/ltproperties.dtx
@@ -23,7 +23,7 @@
 % for those people who are interested.
 %    \begin{macrocode}
 \def\ltpropertiesversion{1.0c}
-\def\ltpropertiesdate{2023-09-20}
+\def\ltpropertiesdate{2023-10-15}
 %    \end{macrocode}
 
 %<*driver>
@@ -412,10 +412,17 @@
 % 
 % \begin{variable}{target}
 %   (now)  The content of \cs{@currentHref}. 
-%   This command is normally filled by for example by
+%   This command is normally filled by for example 
 %   \pkg{hyperref} and gives the name of the last destination it created. 
 % \end{variable}
 % 
+% \begin{variable}{pagetarget}
+%   (shipout)  The content of \cs{@currentHpage}. 
+%   This command is filled for example by a recent version of 
+%   \pkg{hyperref} and then gives the name of the last page 
+%   destination it created. 
+% \end{variable}
+% 
 % \begin{variable}{counter}
 %   (now) The content of \cs{@currentcounter}. 
 %   This command contains after a \cs{refstepcounter} the name of the counter.
@@ -877,6 +884,13 @@
 %    \end{macrocode}
 % \end{variable}
 %
+% \begin{variable}{target}
+%    \begin{macrocode}
+\newcommand\@currentHpage{}
+\property_new:nnnn  { pagetarget } { shipout } { } { \@currentHpage }
+%    \end{macrocode}
+% \end{variable}
+
 % \begin{variable}{counter}
 %    \begin{macrocode}
 \property_new:nnnn  { counter } { now }  { } { \@currentcounter }





More information about the latex3-commits mailing list.