aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/modules/skribilo/documentation/api.scm2
-rw-r--r--doc/user/Makefile.am16
2 files changed, 13 insertions, 5 deletions
diff --git a/doc/modules/skribilo/documentation/api.scm b/doc/modules/skribilo/documentation/api.scm
index 9007610..757cafb 100644
--- a/doc/modules/skribilo/documentation/api.scm
+++ b/doc/modules/skribilo/documentation/api.scm
@@ -727,7 +727,7 @@
(resolve (lambda (n e env)
(cond
((engine-format? "latex" e)
- (skribe-warning "`doc-engine' not rendered in LaTeX")
+ (skribe-warning 3 "`doc-engine' not rendered in LaTeX")
#f)
((engine-format? "lout" e)
(list (map (lambda (c)
diff --git a/doc/user/Makefile.am b/doc/user/Makefile.am
index 201a116..f1f44a3 100644
--- a/doc/user/Makefile.am
+++ b/doc/user/Makefile.am
@@ -65,10 +65,6 @@ ps_DATA = user.ps
CLEANFILES += $(ps_DATA)
endif !HAVE_PS2PDF
-.skb.lout:
- GUILE_LOAD_PATH=$(load_path):$$GUILE_LOAD_PATH \
- $(skribilo) $(skrflags) --target=lout -o $@ $<
-
.lout.ps:
$(LOUT) -r4 -I$(srcdir)/lout -I$(builddir)/lout \
-c $(@:%.ps=%) -o $@ $<
@@ -88,6 +84,18 @@ if HAVE_PS2PDF
$(PS2PDF) -sPAPERSIZE=a4 -dPDFSETTINGS=/prepress $(@:%.pdf=%.ps)
endif
+.skb.lout:
+ GUILE_LOAD_PATH=$(load_path):$$GUILE_LOAD_PATH \
+ $(skribilo) $(skrflags) --target=lout -o $@ $<
+
+.skb.tex:
+ GUILE_LOAD_PATH=$(load_path):$$GUILE_LOAD_PATH \
+ $(skribilo) $(skrflags) --target=latex -o $@ $<
+
+.skb.ctx:
+ GUILE_LOAD_PATH=$(load_path):$$GUILE_LOAD_PATH \
+ $(skribilo) $(skrflags) --target=context -o $@ $<
+
# Install/uninstall files not listed in `html_DATA'.
install-data-hook: