From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-660670-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id C945D138247 for <garchives@archives.gentoo.org>; Sun, 19 Jan 2014 13:13:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E81A8E0BE3; Sun, 19 Jan 2014 13:13:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 83E0CE0BE3 for <gentoo-commits@lists.gentoo.org>; Sun, 19 Jan 2014 13:13:39 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7E10E33F972 for <gentoo-commits@lists.gentoo.org>; Sun, 19 Jan 2014 13:13:38 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 3A44A1807D for <gentoo-commits@lists.gentoo.org>; Sun, 19 Jan 2014 13:13:37 +0000 (UTC) From: "Ulrich Müller" <ulm@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" <ulm@gentoo.org> Message-ID: <1390137419.b5657f975040842733b8214527789faef377684b.ulm@gentoo> Subject: [gentoo-commits] proj/pms:master commit in: / X-VCS-Repository: proj/pms X-VCS-Files: Makefile pms.cls X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: b5657f975040842733b8214527789faef377684b X-VCS-Branch: master Date: Sun, 19 Jan 2014 13:13:37 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 87218f63-565f-49be-ab30-0d5c47daed4d X-Archives-Hash: d2ef9de48f51e1f509bdc988a95e4655 commit: b5657f975040842733b8214527789faef377684b Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Sun Jan 19 13:16:59 2014 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Sun Jan 19 13:16:59 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=b5657f97 Inline footnotes in HTML output, and number them consecutively. --- Makefile | 4 ++-- pms.cls | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index a3598cb..45a4ab1 100644 --- a/Makefile +++ b/Makefile @@ -22,8 +22,8 @@ pms.pdf: $(SOURCEFILES) pms.bbl vc.tex eapi-cheatsheet.pdf pms.html: $(SOURCEFILES) pms.bbl @# need to do it twice to make the big env var table work - mk4ht xhlatex pms - mk4ht xhlatex pms + mk4ht xhlatex pms xhtml,fn-in + mk4ht xhlatex pms xhtml,fn-in @# some www servers ignore meta tags, resulting in a wrong charset. @# therefore recode the very few non-ascii characters recode -d l1..h3 pms.html 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{