summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/guile/skribilo/engine/lout.scm16
1 files changed, 11 insertions, 5 deletions
diff --git a/src/guile/skribilo/engine/lout.scm b/src/guile/skribilo/engine/lout.scm
index d40f36a..9b25f30 100644
--- a/src/guile/skribilo/engine/lout.scm
+++ b/src/guile/skribilo/engine/lout.scm
@@ -657,6 +657,10 @@
;; `lout-illustration' on other back-ends.
(lout-program-name "lout")
+ ;; Additional arguments that should be passed to
+ ;; Lout, e.g., `("-I foo" "-I bar")'.
+ (lout-program-arguments '())
+
;; Title and author information in the PDF
;; document information. If `#t', the
;; document's `:title' and `:author' are used.
@@ -2872,11 +2876,13 @@
(gensym 'lout-illustration)))
".eps"))
(port (open-output-pipe
- (string-append (or (engine-custom lout
- 'lout-program-name)
- "lout")
- " -o " output
- " -EPS"))))
+ (apply string-append
+ (or (engine-custom lout 'lout-program-name)
+ "lout")
+ " -o " output
+ " -EPS "
+ (engine-custom lout
+ 'lout-program-arguments)))))
;; send the illustration to Lout's standard input
(display (illustration-header) port)