summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2014-01-19 14:16:59 +0100
committerUlrich Müller <ulm@gentoo.org>2014-01-19 14:16:59 +0100
commitb5657f975040842733b8214527789faef377684b (patch)
treeacba2b338f06751563e2f06cda160f728ce81f19 /pms.cls
parentFix typo in at-most-one-of dependency specification. (diff)
downloadpms-b5657f975040842733b8214527789faef377684b.tar.gz
pms-b5657f975040842733b8214527789faef377684b.tar.bz2
pms-b5657f975040842733b8214527789faef377684b.zip
Inline footnotes in HTML output, and number them consecutively.
Diffstat (limited to 'pms.cls')
-rw-r--r--pms.cls6
1 files changed, 5 insertions, 1 deletions
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{