summaryrefslogtreecommitdiff
path: root/doc/user/loute.skb
diff options
context:
space:
mode:
authorLudovic Courtès2012-07-07 13:06:29 +0200
committerLudovic Courtès2012-07-07 13:21:37 +0200
commit5571cad0d19af06e98e89254de110d9a4dcde159 (patch)
tree4b8b86392ee8d19200f3b080fb4e0611745489be /doc/user/loute.skb
parentbe2162ada207514c673afcb467097889170a8020 (diff)
downloadskribilo-5571cad0d19af06e98e89254de110d9a4dcde159.tar.gz
skribilo-5571cad0d19af06e98e89254de110d9a4dcde159.tar.lz
skribilo-5571cad0d19af06e98e89254de110d9a4dcde159.zip
Fix build without Lout.
Reported by rvclayton@verizon.net (R. Clayton). * doc/user/Makefile.am (BUILT_SOURCES): Leave empty when !HAVE_LOUT. (skrflags): Add `-e "(define %have-lout? ...)". * doc/user/loute.skb (Additional Markup): Don't evaluate `src/lout-illustration.skb' when not %HAVE-LOUT?. * doc/user/eq.skb (Equation Formatting): Use 'lout as the renderer only when %HAVE-LOUT?. * doc/user/src/eq3.skb: Likewise.
Diffstat (limited to 'doc/user/loute.skb')
-rw-r--r--doc/user/loute.skb10
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/user/loute.skb b/doc/user/loute.skb
index ecfef34..4f0b27f 100644
--- a/doc/user/loute.skb
+++ b/doc/user/loute.skb
@@ -227,10 +227,12 @@ is ,(tt [#f]).]))
When using other engines, it is integrated using ,(markup-ref
"image").])
- (example-produce
- (example :legend "A Lout illustration"
- (prgm :file "src/lout-illustration.skb"))
- (disp (include "src/lout-illustration.skb")))))
+ (let ((e (example :legend "A Lout illustration"
+ (prgm :file "src/lout-illustration.skb"))))
+ (if %have-lout?
+ (example-produce e
+ (disp (include "src/lout-illustration.skb")))
+ e))))
;;; Local Variables:
;;; ispell-local-dictionary: "american"