aboutsummaryrefslogtreecommitdiff
path: root/src/guile
diff options
context:
space:
mode:
authorLudovic Court`es2007-03-27 16:52:07 +0000
committerLudovic Court`es2007-03-27 16:52:07 +0000
commit68f5f2d6cf0b3a7b2a56c4fe68e9ad1cf47133bc (patch)
tree9c39c37aeae2ece9862312409bf1554f138334a9 /src/guile
parent6e123c4365429b3c80aa540ff7bc6b230a011bf0 (diff)
downloadskribilo-68f5f2d6cf0b3a7b2a56c4fe68e9ad1cf47133bc.tar.gz
skribilo-68f5f2d6cf0b3a7b2a56c4fe68e9ad1cf47133bc.tar.lz
skribilo-68f5f2d6cf0b3a7b2a56c4fe68e9ad1cf47133bc.zip
`lout' engine: Fixed space handling with `color'.
* src/guile/skribilo/engine/lout.scm (color): Insert the linebreak between the left parameter of `@Color' and `@Color' itself, so as to never insert additional spaces. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-32
Diffstat (limited to 'src/guile')
-rw-r--r--src/guile/skribilo/engine/lout.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/guile/skribilo/engine/lout.scm b/src/guile/skribilo/engine/lout.scm
index f71566f..b9b4812 100644
--- a/src/guile/skribilo/engine/lout.scm
+++ b/src/guile/skribilo/engine/lout.scm
@@ -1567,11 +1567,11 @@
:before (lambda (n e)
(let* ((w (markup-option n :width))
(fg (markup-option n :fg)))
- (printf "{ { ~a } @Color { " (lout-color-specification fg))))
+ ;; Skip a line to avoid hitting Basser Lout's length limit.
+ (printf "{ { ~a }\n@Color { " (lout-color-specification fg))))
:after (lambda (n e)
- ;; Skip a line to avoid hitting Basser Lout's length limit.
- (display " } }\n")))
+ (display " } }")))
;*---------------------------------------------------------------------*/
;* frame ... */