diff options
author | Ludovic Courtes | 2007-06-24 19:52:01 +0000 |
---|---|---|
committer | Ludovic Courtes | 2007-06-24 19:52:01 +0000 |
commit | 40220a2365104a2807caf2fcf895f83e1a21539a (patch) | |
tree | f6765f373989c7c8a6807ba22ecf1ffc4c32614a /src/guile/skribilo/package/base.scm | |
parent | 7fcc1f288b8f7a1b2f1c3a16fcba581cd7a9884b (diff) | |
download | skribilo-40220a2365104a2807caf2fcf895f83e1a21539a.tar.gz skribilo-40220a2365104a2807caf2fcf895f83e1a21539a.tar.lz skribilo-40220a2365104a2807caf2fcf895f83e1a21539a.zip |
eq: Implemented equation numbering.
* src/guile/skribilo/package/base.scm (chapter): Augmented environment to
include `equation-env' and `equation-counter'.
* src/guile/skribilo/package/eq.scm: Use `(skribilo resolve)'.
(equation-number-string): New.
(eq)[:number]: New option.
Handle it.
* src/guile/skribilo/package/eq/lout.scm (eq): Prepare to handle
`:number'.
git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-118
Diffstat (limited to 'src/guile/skribilo/package/base.scm')
-rw-r--r-- | src/guile/skribilo/package/base.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/guile/skribilo/package/base.scm b/src/guile/skribilo/package/base.scm index 29eb2df..28cd0fb 100644 --- a/src/guile/skribilo/package/base.scm +++ b/src/guile/skribilo/package/base.scm @@ -203,7 +203,8 @@ ,@(the-options opts :ident :class))) (body (the-body opts)) (env (list (list 'section-counter 0) (list 'section-env '()) - (list 'footnote-counter 0) (list 'footnote-env '()))))) + (list 'footnote-counter 0) (list 'footnote-env '()) + (list 'equation-counter 0) (list 'equation-env '()))))) ;*---------------------------------------------------------------------*/ ;* section-number ... */ |