commit: 09bb58f347eef04cf9c29c7158beb1b04e645c75
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 18 16:04:59 2021 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Wed Aug 18 16:04:59 2021 +0000
URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=09bb58f3
pms.cls: Output class info after packages are loaded
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
pms.cls | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/pms.cls b/pms.cls
index a41d96c..b29a9c3 100644
--- a/pms.cls
+++ b/pms.cls
@@ -47,18 +47,6 @@
gitinfo2 % Metadata from git
}
-% tex4ht workaround: hyperref needs to be loaded /after/ tex4ht injects itself
-\g@addto@macro\@documentclasshook{
- \RequirePackage{%
- hyperref, % Support for hyperlinks
- algorithm, %
- algorithmic % Set algorithms
- }
-}
-
-\ClassInfo{pms}{Capsulation of LaTeX stuff for the Package Manager
- Specification, loaded baseclass: \ClassToLoad\MessageBreak}
-
% Make processing with TeX4HT possible
\newboolean{TEX4HT-HACKS}
\ifx\HCode\undefined
@@ -72,6 +60,18 @@
\setboolean{TEX4HT-HACKS}{true}
\fi
+% tex4ht workaround: hyperref needs to be loaded /after/ tex4ht injects itself
+\g@addto@macro\@documentclasshook{
+ \RequirePackage{%
+ hyperref, % Support for hyperlinks
+ algorithm, %
+ algorithmic % Set algorithms
+ }
+}
+
+\ClassInfo{pms}{LaTeX class for the Package Manager Specification,
+ loaded baseclass: \ClassToLoad\MessageBreak}
+
% Define own label and reference commands, that display the label in
% the page margin.
\ifthenelse{\boolean{TEX4HT-HACKS}}{%