texlive[65251] Master/texmf-dist: hereapplies (12dec22)

commits+karl at tug.org commits+karl at tug.org
Mon Dec 12 22:00:50 CET 2022


Revision: 65251
          http://tug.org/svn/texlive?view=revision&revision=65251
Author:   karl
Date:     2022-12-12 22:00:50 +0100 (Mon, 12 Dec 2022)
Log Message:
-----------
hereapplies (12dec22)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/hereapplies/ChangeLog.md
    trunk/Master/texmf-dist/doc/latex/hereapplies/hereapplies-doc.pdf
    trunk/Master/texmf-dist/doc/latex/hereapplies/hereapplies-example.pdf
    trunk/Master/texmf-dist/doc/latex/hereapplies/package.json
    trunk/Master/texmf-dist/tex/latex/hereapplies/hereapplies.sty

Modified: trunk/Master/texmf-dist/doc/latex/hereapplies/ChangeLog.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/hereapplies/ChangeLog.md	2022-12-12 21:00:35 UTC (rev 65250)
+++ trunk/Master/texmf-dist/doc/latex/hereapplies/ChangeLog.md	2022-12-12 21:00:50 UTC (rev 65251)
@@ -2,6 +2,13 @@
 ==========
 
 
+## 1.0.1 (2022-12-11)
+
+Changes:
+
+* Fix issue [#1](https://github.com/madmurphy/hereapplies.sty/issues/1)
+
+
 ## 1.0.0 (2022-09-13)
 
 Changes:

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

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

Modified: trunk/Master/texmf-dist/doc/latex/hereapplies/package.json
===================================================================
--- trunk/Master/texmf-dist/doc/latex/hereapplies/package.json	2022-12-12 21:00:35 UTC (rev 65250)
+++ trunk/Master/texmf-dist/doc/latex/hereapplies/package.json	2022-12-12 21:00:50 UTC (rev 65251)
@@ -1,6 +1,6 @@
 {
 	"name": "hereapplies.sty",
-	"version": "1.0.0",
+	"version": "1.0.1",
 	"description": "A LaTeX package for referencing groups of pages that share something in common",
 	"homepage": "https://www.ctan.org/pkg/hereapplies",
 	"author": "madmurphy",

Modified: trunk/Master/texmf-dist/tex/latex/hereapplies/hereapplies.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/hereapplies/hereapplies.sty	2022-12-12 21:00:35 UTC (rev 65250)
+++ trunk/Master/texmf-dist/tex/latex/hereapplies/hereapplies.sty	2022-12-12 21:00:50 UTC (rev 65251)
@@ -8,7 +8,7 @@
 %
 % https://github.com/madmurphy/hereapplies.sty
 %
-% Version 1.0.0
+% Version 1.0.1
 %
 % Copyright (C) 2022 madmurphy <madmurphy333 at gmail.com>
 %
@@ -66,7 +66,7 @@
 %     \end{document}
 %
 %
-\ProvidesPackage{hereapplies}[2022/09/13 Here Applies]
+\ProvidesPackage{hereapplies}[2022/12/11 Here Applies]
 \RequirePackage{hyperref}
 \RequirePackage{refcount}
 %
@@ -142,6 +142,14 @@
 %
 % Assign a unique number to each unlabeled occurrence of an identifier
 \newcounter{@ha at unlabeled@counter}
+% Populate the .hax file when the document reaches the end
+\AtEndDocument{%
+    % Do we have any content?
+    \ifdefined\@ha at commons@@haxcontent%
+        % We do - export it
+        \addtocontents{hax}{\@ha at commons@@haxcontent}%
+    \fi%
+}
 %
 %
 % Macro `\@ha at makepagelist{hypermacro}{labels}`
@@ -308,10 +316,6 @@
             {\endlinechar=\m at ne\@starttoc{hax}}%
             % Initialize the content to export to the .hax file
             \gdef\@ha at commons@@haxcontent{}%
-            % Export the content when the document reaches the end
-            \AtEndDocument{%
-                \addtocontents{hax}{\@ha at commons@@haxcontent}%
-            }%
         \fi%
         % Was a .hax file already exported during a previous run?
         \ifcsname @ha at prop@@labels@#1\endcsname\else%



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