From b5657f975040842733b8214527789faef377684b Mon Sep 17 00:00:00 2001
From: Ulrich Müller <ulm@gentoo.org>
Date: Sun, 19 Jan 2014 14:16:59 +0100
Subject: Inline footnotes in HTML output, and number them consecutively.

---
 pms.cls | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

(limited to 'pms.cls')

diff --git a/pms.cls b/pms.cls
index b948213..cc07431 100644
--- a/pms.cls
+++ b/pms.cls
@@ -31,7 +31,8 @@
     marginnote, % Typeset a paragraph in the page margin
     paralist,	% Additional list environments
     parskip,	% Space between paragraphs instead of indentation
-    verbatim	% Extend the print-as-is functionality
+    verbatim,	% Extend the print-as-is functionality
+    chngcntr	% Redefinition of counters
 }
 
 % tex4ht workaround: hyperref needs to be loaded /after/ tex4ht injects itself
@@ -83,6 +84,9 @@
 \setcounter{secnumdepth}{3}
 \setcounter{tocdepth}{2}
 
+% Don't reset the footnote counter for each chapter
+\counterwithout{footnote}{chapter}
+
 % Some shorthands for the lazy ones.
 % tex4ht workaround: this needs to happen after loading hyperref
 \g@addto@macro\@documentclasshook{
-- 
cgit v1.2.3-65-gdbad

