aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Court`es2006-10-25 13:03:46 +0000
committerLudovic Court`es2006-10-25 13:03:46 +0000
commitc63e6405a4e1b5d28a2a69b4623263dc37cbd4f2 (patch)
tree4c1e7218f45c4412192cd00f4706ce19ab4fda5d
parent43d1ade366511da4dfd6af3f507a6713fb1ef0e7 (diff)
downloadskribilo-c63e6405a4e1b5d28a2a69b4623263dc37cbd4f2.tar.gz
skribilo-c63e6405a4e1b5d28a2a69b4623263dc37cbd4f2.tar.lz
skribilo-c63e6405a4e1b5d28a2a69b4623263dc37cbd4f2.zip
slide/html: Issue only one anchor per slide.
* src/guile/skribilo/package/slide/html.scm (%slide-html-initialize!)[slide]: Issue only one anchor per slide. git-archimport-id: lcourtes@laas.fr--2005-libre/skribilo--devo--1.2--patch-70
-rw-r--r--src/guile/skribilo/package/slide/html.scm6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/guile/skribilo/package/slide/html.scm b/src/guile/skribilo/package/slide/html.scm
index 8fcbfed..024e1fd 100644
--- a/src/guile/skribilo/package/slide/html.scm
+++ b/src/guile/skribilo/package/slide/html.scm
@@ -50,8 +50,8 @@
(markup-writer 'slide he
:options '(:title :number :transition :toc :bg)
:before (lambda (n e)
- (format #t "<a name=\"~a\">" (markup-ident n))
- (display "<br>\n"))
+ (display "<br>\n")
+ (format #t "<a name=\"~a\">" (markup-ident n)))
:action (lambda (n e)
(let ((nb (markup-option n :number))
(t (markup-option n :title))
@@ -61,8 +61,6 @@
;; When a class is specified, let the user play
;; with CSS.
(format #t "\n<div class=\"~a\">" class)
- (format #t "\n<a name=\"~a\"></a>\n"
- (markup-ident n))
(format #t "<div class=\"~a\">" title-class)
(format #t "~a / ~a -- " nb (slide-number))
(output t e)