summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLudovic Court`es2007-08-28 14:40:03 +0000
committerLudovic Court`es2007-08-28 14:40:03 +0000
commit85fc6c18201084839339584ad458f6c4ce1a1ffb (patch)
tree6594e442fce78d9558e4259a0eef1ddddb64ef40 /src
parentd5be82fa1fd04dabe8a37358ca6a21c2ebf89564 (diff)
parentafeaa06961bbcf7ae766981b0a3670368d46c2f2 (diff)
downloadskribilo-85fc6c18201084839339584ad458f6c4ce1a1ffb.tar.gz
skribilo-85fc6c18201084839339584ad458f6c4ce1a1ffb.tar.lz
skribilo-85fc6c18201084839339584ad458f6c4ce1a1ffb.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: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-152
Diffstat (limited to 'src')
-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")