summaryrefslogtreecommitdiff
path: root/doc/user/eq.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/eq.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/eq.skb')
-rw-r--r--doc/user/eq.skb7
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/user/eq.skb b/doc/user/eq.skb
index ed11f66..91faf11 100644
--- a/doc/user/eq.skb
+++ b/doc/user/eq.skb
@@ -1,7 +1,7 @@
;;; eq.skb -- Equation formatting.
;;; -*- coding: iso-8859-1 -*-
;;;
-;;; Copyright 2006, 2007, 2008, 2009 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright 2006, 2007, 2008, 2009, 2012 Ludovic Courtès <ludo@gnu.org>
;;;
;;;
;;; This file is part of Skribilo.
@@ -32,7 +32,10 @@ may be loaded by adding the following form at the top of your document:]
[It allows the inclusion of (complex) equations in your documents,
such as, for example, the following:]
- (disp (eq :renderer (if (engine-format? "html") 'lout #f)
+ (disp (eq :renderer (if (and %have-lout?
+ (engine-format? "html"))
+ 'lout
+ #f)
:ident "eq-disponibilite"
`(= (apply A D)
(sum :from (= i b) :to (* S b)