summary refs log tree commit diff
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
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
-rw-r--r--ChangeLog18
-rw-r--r--src/guile/skribilo/engine/lout.scm1
2 files changed, 19 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index fd687ae..1ed7ea4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,24 @@
 # arch-tag: automatic-ChangeLog--skribilo@sv.gnu.org--2006/skribilo--devo--1.2
 #
 
+2007-08-28 14:40:03 GMT	Ludovic Court`es <ludovic.courtes@laas.fr>	patch-152
+
+    Summary:
+      lout: Use `@OnePage' for `figure'.
+    Revision:
+      skribilo--devo--1.2--patch-152
+
+    * 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.
+
+    modified files:
+     ChangeLog src/guile/skribilo/engine/lout.scm
+
+    new patches:
+     lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-94
+
+
 2007-08-24 17:38:53 GMT	Ludovic Court`es <ludovic.courtes@laas.fr>	patch-151
 
     Summary:
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")