diff options
author | Ludovic Court`es | 2007-03-27 16:52:07 +0000 |
---|---|---|
committer | Ludovic Court`es | 2007-03-27 16:52:07 +0000 |
commit | 68f5f2d6cf0b3a7b2a56c4fe68e9ad1cf47133bc (patch) | |
tree | 9c39c37aeae2ece9862312409bf1554f138334a9 /src | |
parent | 6e123c4365429b3c80aa540ff7bc6b230a011bf0 (diff) | |
download | skribilo-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')
-rw-r--r-- | src/guile/skribilo/engine/lout.scm | 6 |
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 ... */ |