aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Court`es2007-08-27 09:09:52 +0000
committerLudovic Court`es2007-08-27 09:09:52 +0000
commitafeaa06961bbcf7ae766981b0a3670368d46c2f2 (patch)
tree3435fa238dcb889f5e1d28b08533ced1faa051ba
parentc97f7cfe7137da1f91b4db94a00ce71a96adec62 (diff)
downloadskribilo-afeaa06961bbcf7ae766981b0a3670368d46c2f2.tar.gz
skribilo-afeaa06961bbcf7ae766981b0a3670368d46c2f2.tar.lz
skribilo-afeaa06961bbcf7ae766981b0a3670368d46c2f2.zip
lout: Use `@OnePage' for `figure'.
* src/guile/skribilo/engine/lout.scm (figure): Use "@OnePage { Yes }" so that figure and caption are kept on the same page. This looks like a sane default, since multi-page figures are expected to be rare. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-94
-rw-r--r--src/guile/skribilo/engine/lout.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/guile/skribilo/engine/lout.scm b/src/guile/skribilo/engine/lout.scm
index 954329c..5285c76 100644
--- a/src/guile/skribilo/engine/lout.scm
+++ b/src/guile/skribilo/engine/lout.scm
@@ -1769,6 +1769,7 @@
(cond ((number? number) number)
((not number) "")
(else number)))
+ (display " @OnePage { Yes }\n")
(display " @InitialLanguage { ")
(display (engine-custom e 'initial-language))
(display " }\n")