aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Court`es2007-03-13 18:56:05 +0000
committerLudovic Court`es2007-03-13 18:56:05 +0000
commit902c2a96f182722572664374f133bc6b7cfe43b2 (patch)
tree82b4a4797af7e69cc619ca7337a31f31456d8d94
parent2233d3e5e8e87601205a89131cd342014d990db0 (diff)
downloadskribilo-902c2a96f182722572664374f133bc6b7cfe43b2.tar.gz
skribilo-902c2a96f182722572664374f133bc6b7cfe43b2.tar.lz
skribilo-902c2a96f182722572664374f133bc6b7cfe43b2.zip
`lout' engine: Skip lines in `color'.
* src/guile/skribilo/engine/lout.scm (color): Skip a line at the end. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-24
-rw-r--r--src/guile/skribilo/engine/lout.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/guile/skribilo/engine/lout.scm b/src/guile/skribilo/engine/lout.scm
index 43aa356..f71566f 100644
--- a/src/guile/skribilo/engine/lout.scm
+++ b/src/guile/skribilo/engine/lout.scm
@@ -1567,10 +1567,11 @@
:before (lambda (n e)
(let* ((w (markup-option n :width))
(fg (markup-option n :fg)))
- (printf "{ ~a } @Color { " (lout-color-specification fg))))
+ (printf "{ { ~a } @Color { " (lout-color-specification fg))))
:after (lambda (n e)
- (display " }")))
+ ;; Skip a line to avoid hitting Basser Lout's length limit.
+ (display " } }\n")))
;*---------------------------------------------------------------------*/
;* frame ... */