aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLudovic Court`es2006-10-16 18:18:40 +0000
committerLudovic Court`es2006-10-16 18:18:40 +0000
commitf87559762f5faa6ce3ff093bfdd1e823a416676f (patch)
tree8d52ffb01ca2344b7a1497c6937ba31084612be0 /src
parent8704dcc76f1419fe915b53d574bf2f8e72a28be8 (diff)
downloadskribilo-f87559762f5faa6ce3ff093bfdd1e823a416676f.tar.gz
skribilo-f87559762f5faa6ce3ff093bfdd1e823a416676f.tar.lz
skribilo-f87559762f5faa6ce3ff093bfdd1e823a416676f.zip
Lout engine: Honor `inline-definitions-proc'.
* src/guile/skribilo/engine/lout.scm (document): Invoke the procedure defined by the `inline-definitions-proc' rather than directly invoking `lout-definitions'. git-archimport-id: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-5
Diffstat (limited to 'src')
-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 f087d55..82e98d7 100644
--- a/src/guile/skribilo/engine/lout.scm
+++ b/src/guile/skribilo/engine/lout.scm
@@ -558,7 +558,7 @@
;; also honor this custom for `doc' documents.
(cover-sheet? #t)
- ;; For reports, the date line.
+ ;; For reports and slides, the date line.
(date-line #t)
;; For reports, an abstract.
@@ -604,7 +604,7 @@
(use-skribe-footnote-numbers? #t)
;; A procedure that is passed the engine
- ;; and produces Lout definitions.
+ ;; and returns Lout definitions (a string).
(inline-definitions-proc ,lout-definitions)
;; A procedure that takes a URL `ref' markup and
@@ -1012,7 +1012,7 @@
(display "@SysInclude { tbl }\n"))
;; Write additional Lout definitions
- (display (lout-definitions e))
+ (display ((engine-custom e 'inline-definitions-proc) e))
(case doc-type
((report) (display "@Report\n"))