summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/hereapplies
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-12-12 03:03:41 +0000
committerNorbert Preining <norbert@preining.info>2022-12-12 03:03:41 +0000
commitd9c472147310b678beb9f80f0e90fc82f8825ec5 (patch)
tree70534e066d5d0d30ac8c0b9939e574a2696e8d83 /macros/latex/contrib/hereapplies
parent6e749f2b4d0cbb91f8d2c872981d7ebba3a0fb52 (diff)
CTAN sync 202212120303
Diffstat (limited to 'macros/latex/contrib/hereapplies')
-rw-r--r--macros/latex/contrib/hereapplies/ChangeLog.md7
-rw-r--r--macros/latex/contrib/hereapplies/hereapplies-doc.pdfbin366039 -> 366138 bytes
-rw-r--r--macros/latex/contrib/hereapplies/hereapplies-example.pdfbin49556 -> 49410 bytes
-rw-r--r--macros/latex/contrib/hereapplies/hereapplies.sty16
-rw-r--r--macros/latex/contrib/hereapplies/package.json2
5 files changed, 18 insertions, 7 deletions
diff --git a/macros/latex/contrib/hereapplies/ChangeLog.md b/macros/latex/contrib/hereapplies/ChangeLog.md
index a9b0b45d62..ce47739407 100644
--- a/macros/latex/contrib/hereapplies/ChangeLog.md
+++ b/macros/latex/contrib/hereapplies/ChangeLog.md
@@ -2,6 +2,13 @@ Change Log
==========
+## 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:
diff --git a/macros/latex/contrib/hereapplies/hereapplies-doc.pdf b/macros/latex/contrib/hereapplies/hereapplies-doc.pdf
index bde2099bc6..56747de4a0 100644
--- a/macros/latex/contrib/hereapplies/hereapplies-doc.pdf
+++ b/macros/latex/contrib/hereapplies/hereapplies-doc.pdf
Binary files differ
diff --git a/macros/latex/contrib/hereapplies/hereapplies-example.pdf b/macros/latex/contrib/hereapplies/hereapplies-example.pdf
index 9707efc0cb..e2f286dbb2 100644
--- a/macros/latex/contrib/hereapplies/hereapplies-example.pdf
+++ b/macros/latex/contrib/hereapplies/hereapplies-example.pdf
Binary files differ
diff --git a/macros/latex/contrib/hereapplies/hereapplies.sty b/macros/latex/contrib/hereapplies/hereapplies.sty
index daf7a90ede..222858bc0b 100644
--- a/macros/latex/contrib/hereapplies/hereapplies.sty
+++ b/macros/latex/contrib/hereapplies/hereapplies.sty
@@ -8,7 +8,7 @@
%
% https://github.com/madmurphy/hereapplies.sty
%
-% Version 1.0.0
+% Version 1.0.1
%
% Copyright (C) 2022 madmurphy <madmurphy333@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@unlabeled@counter}
+% Populate the .hax file when the document reaches the end
+\AtEndDocument{%
+ % Do we have any content?
+ \ifdefined\@ha@commons@@haxcontent%
+ % We do - export it
+ \addtocontents{hax}{\@ha@commons@@haxcontent}%
+ \fi%
+}
%
%
% Macro `\@ha@makepagelist{hypermacro}{labels}`
@@ -308,10 +316,6 @@
{\endlinechar=\m@ne\@starttoc{hax}}%
% Initialize the content to export to the .hax file
\gdef\@ha@commons@@haxcontent{}%
- % Export the content when the document reaches the end
- \AtEndDocument{%
- \addtocontents{hax}{\@ha@commons@@haxcontent}%
- }%
\fi%
% Was a .hax file already exported during a previous run?
\ifcsname @ha@prop@@labels@#1\endcsname\else%
diff --git a/macros/latex/contrib/hereapplies/package.json b/macros/latex/contrib/hereapplies/package.json
index 693844e7e1..8949cd7300 100644
--- a/macros/latex/contrib/hereapplies/package.json
+++ b/macros/latex/contrib/hereapplies/package.json
@@ -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",