Skip to content

Commit

Permalink
Commit 11
Browse files Browse the repository at this point in the history
- Fix issue #1
  • Loading branch information
madmurphy committed Dec 11, 2022
1 parent 07f5913 commit d1d0c08
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 7 deletions.
7 changes: 7 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Binary file modified hereapplies-doc.pdf
Binary file not shown.
Binary file modified hereapplies-example.pdf
Binary file not shown.
16 changes: 10 additions & 6 deletions hereapplies.sty
Original file line number Diff line number Diff line change
Expand Up @@ -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>
%
Expand Down Expand Up @@ -66,7 +66,7 @@
% \end{document}
%
%
\ProvidesPackage{hereapplies}[2022/09/13 Here Applies]
\ProvidesPackage{hereapplies}[2022/12/11 Here Applies]
\RequirePackage{hyperref}
\RequirePackage{refcount}
%
Expand Down Expand Up @@ -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}`
Expand Down Expand Up @@ -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%
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit d1d0c08

Please sign in to comment.