From 1e59414742f80bd77e499fa13792c94aeecf6cd2 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Thu, 29 Nov 2012 23:22:18 +0100 Subject: html: Emit each footnote only once. * src/guile/skribilo/engine/html.scm (&html-generic-document): When matching a container list, don't add N to CONTAINERS since it's already there. Reported by Klaus Schilling . --- src/guile/skribilo/engine/html.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/guile/skribilo/engine/html.scm b/src/guile/skribilo/engine/html.scm index c7484b2..3a58084 100644 --- a/src/guile/skribilo/engine/html.scm +++ b/src/guile/skribilo/engine/html.scm @@ -1211,7 +1211,7 @@ n) ((containers ...) (reverse - (let loop ((subsections (cons n containers)) + (let loop ((subsections containers) (footnotes '())) (match subsections ((subsections ...) -- cgit v1.2.3