aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLudovic Court`es2007-03-16 17:09:41 +0000
committerLudovic Court`es2007-03-16 17:09:41 +0000
commit1ebc6400a3b1ba3e6111745ae95fcd858749f258 (patch)
tree9ad77357f9008b354ff64290b0729d4f69a32bb9 /src
parentafeb61b2bc69cd7b39aa1d27e840055bd07d13a2 (diff)
parent902c2a96f182722572664374f133bc6b7cfe43b2 (diff)
downloadskribilo-1ebc6400a3b1ba3e6111745ae95fcd858749f258.tar.gz
skribilo-1ebc6400a3b1ba3e6111745ae95fcd858749f258.tar.lz
skribilo-1ebc6400a3b1ba3e6111745ae95fcd858749f258.zip
`lout' engine: Skip lines in `color'.
* src/guile/skribilo/engine/lout.scm (color): Skip a line at the end. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-65
Diffstat (limited to 'src')
-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 ... */