summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLudovic Courtès2007-11-22 09:59:29 +0100
committerLudovic Courtès2007-11-22 09:59:29 +0100
commit05de61db85c657c7cdfe053cb7837eaf79dc9f85 (patch)
tree27047d5b20f01e7f3c778772ef28938429f06ffa /src
parentdd05f0a8dffa6710ac887427e2086b7602fb5f41 (diff)
downloadskribilo-05de61db85c657c7cdfe053cb7837eaf79dc9f85.tar.gz
skribilo-05de61db85c657c7cdfe053cb7837eaf79dc9f85.tar.lz
skribilo-05de61db85c657c7cdfe053cb7837eaf79dc9f85.zip
slide: Set up an environment suitable for `eq'.
* src/guile/skribilo/package/slide.scm (slide): Add `env' with `equation-counter' and `equation-env'. This allows the use of non-inline equations in slides.
Diffstat (limited to 'src')
-rw-r--r--src/guile/skribilo/package/slide.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/guile/skribilo/package/slide.scm b/src/guile/skribilo/package/slide.scm
index 3195515..b00efa2 100644
--- a/src/guile/skribilo/package/slide.scm
+++ b/src/guile/skribilo/package/slide.scm
@@ -1,7 +1,7 @@
;;; slide.scm -- Overhead transparencies.
;;;
;;; Copyright 2003, 2004 Manuel Serrano
-;;; Copyright 2006, 2007 Ludovic Courtès <ludovic.courtes@laas.fr>
+;;; Copyright 2006, 2007 Ludovic Courtès <ludo@gnu.org>
;;;
;;;
;;; This program is free software; you can redistribute it and/or modify
@@ -85,7 +85,9 @@
,@(the-options opt :ident :class :vspace :toc)))
(body (if vspace
(list (slide-vspace vspace) (the-body opt))
- (the-body opt))))))
+ (the-body opt)))
+ (env (list (list 'equation-counter 0)
+ (list 'equation-env '()))))))
(set! %slide-the-slides (cons s %slide-the-slides))
s))