" class))
+
+ ;; the title
+ (if class
+ (format #t "\n
" class)
+ (display "\n
"))
(if (markup-ident n)
- (printf "" (markup-ident n)))
+ (format #t "" (markup-ident n)))
(output title e)
- (display "
\n")
- (display "\n
")
+ (if class
+ (display "
\n")
+ (display "
\n"))
+
+ ;; pointers to the slides
+ (if class
+ (format #t "\n
"
+ class)
+ (display "\n
"))
(for-each (lambda (s)
- (output (markup-option s :title) e)
- (display " -- "))
+ (let* ((title (markup-option s :title))
+ (ident (markup-ident s))
+ (sref (ref :text title :ident ident))
+ (sref* (resolve! sref e `((parent ,n)))))
+ (output sref* e)
+ (display " -- ")))
(filter (lambda (n)
(or (is-markup? n 'slide-subtopic)
(is-markup? n 'slide)))
(markup-body n)))
(display "\n
")
- (display "\n
\n")
+
+ (if class
+ (display "\n
\n")
+ (display "\n
\n"))
;; the slides
(output (markup-body n) e))))
--
cgit v1.2.3