commit:     9a22d1ce71091e99a7275755b9812a00e38c8ecf
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 17 17:23:38 2025 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Fri Jun 20 16:15:32 2025 +0000
URL:        https://gitweb.gentoo.org/proj/pms.git/commit/?id=9a22d1ce

pms.cls: Add workaround for tex4ht bug

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 pms.cls | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/pms.cls b/pms.cls
index a44608e..54f3380 100644
--- a/pms.cls
+++ b/pms.cls
@@ -86,6 +86,8 @@
     \newcommand{\featurelabel}[1]{\leavevmode\label{feat:#1}%
         % tex4ht does not support marginnote
         \framebox{\textsc{#1}}}
+    % Workaround for tex4ht bug #656 (https://puszcza.gnu.org.ua/bugs/?656)
+    \AtBeginDocument{\Configure{@newlabel}{\AnchorLabel}}
 }{%
     \newcommand{\featureref}[1]{\textsc{#1} on page~\pageref{feat:#1}}
     \newcommand{\compactfeatureref}[1]{p.\,\pageref{feat:#1}}

Reply via email to