summary refs log tree commit diff
path: root/doc/user/src
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/src
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/src')
-rw-r--r--doc/user/src/eq3.skb4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/user/src/eq3.skb b/doc/user/src/eq3.skb
index e229b6c..50f5104 100644
--- a/doc/user/src/eq3.skb
+++ b/doc/user/src/eq3.skb
@@ -9,7 +9,7 @@ accordingly.])
 aligned with one another.])
 
    (eq :ident "eq-limit-b-over-l"
-       :renderer 'lout
+       :renderer (and %have-lout? 'lout)
        :align-with '=
        '(= (limit (/ lambda beta) 0
 		  (apply IPL n k))
@@ -26,7 +26,7 @@ aligned with one another.])
    [This equation can be simplified as follows:]
 
    (eq :ident "eq-limit-b-over-l-simplified"
-       :renderer 'lout
+       :renderer (and %have-lout? 'lout)
        :align-with '=
        '(= ;; simplified
 	   (/ (expt (+ alpha beta) k)