summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2021-08-18 18:04:59 +0200
committerUlrich Müller <ulm@gentoo.org>2021-08-18 18:04:59 +0200
commit09bb58f347eef04cf9c29c7158beb1b04e645c75 (patch)
tree76a7935405cdebbcfcd0752ad7182e63c0421b97
parentprofiles.tex: Don't use \verb (diff)
downloadpms-09bb58f347eef04cf9c29c7158beb1b04e645c75.tar.gz
pms-09bb58f347eef04cf9c29c7158beb1b04e645c75.tar.bz2
pms-09bb58f347eef04cf9c29c7158beb1b04e645c75.zip
pms.cls: Output class info after packages are loaded
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r--pms.cls24
1 files 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}}{%