From 5571cad0d19af06e98e89254de110d9a4dcde159 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sat, 7 Jul 2012 13:06:29 +0200 Subject: 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. --- doc/user/eq.skb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'doc/user/eq.skb') 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 +;;; Copyright 2006, 2007, 2008, 2009, 2012 Ludovic Courtès ;;; ;;; ;;; 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) -- cgit v1.2.3