summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2021-01-16 13:56:41 +0100
committerUlrich Müller <ulm@gentoo.org>2021-01-16 13:56:41 +0100
commite16c8dc8a5e6aedbbec768e9d1c807e456bd1230 (patch)
treeef94362341c4c86aeb08438e129e9b4630c13b10
parentRevert "pms.cls: Remove some tex4ht conditionals." (diff)
downloadpms-e16c8dc8a5e6aedbbec768e9d1c807e456bd1230.tar.gz
pms-e16c8dc8a5e6aedbbec768e9d1c807e456bd1230.tar.bz2
pms-e16c8dc8a5e6aedbbec768e9d1c807e456bd1230.zip
pms.cls: Silence hyperref messages
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r--pms.cls4
1 files changed, 4 insertions, 0 deletions
diff --git a/pms.cls b/pms.cls
index 351b3dd..7fff027 100644
--- a/pms.cls
+++ b/pms.cls
@@ -123,6 +123,10 @@
\floatname{listing}{Listing}
\newcommand{\listoflistings}{\listof{listing}{List of Listings}}
+% Silence hyperref messages (see hint 11.3 in the hyperref manual)
+\providecommand*{\toclevel@algorithm}{0}
+\providecommand*{\toclevel@listing}{0}
+
% We always place captions above floats, so redefine vertical spacings
% Don't use the "caption" package because it interferes with TeX4ht
\setlength\belowcaptionskip{\abovecaptionskip}