summary refs log tree commit diff
path: root/doc/user/char.skb
diff options
context:
space:
mode:
authorLudovic Courtes2006-03-19 20:08:40 +0000
committerLudovic Courtes2006-03-19 20:08:40 +0000
commitd43ab320c8c711aef6417d33a33d0b3d2058f690 (patch)
tree7b86cb9f15836f8193a398891a13a9455918e385 /doc/user/char.skb
parent8335269810c4de308aa5b8bfd9c1d8300fd280e1 (diff)
downloadskribilo-d43ab320c8c711aef6417d33a33d0b3d2058f690.tar.gz
skribilo-d43ab320c8c711aef6417d33a33d0b3d2058f690.tar.lz
skribilo-d43ab320c8c711aef6417d33a33d0b3d2058f690.zip
Various documentation fixes + completed the doc automake stuff.
* doc/user/Makefile.am (%.html): Added `-P ../img'.
  (%.lout): Likewise.
  (SUBDIRS): New.

* doc/user/char.skb (Some characters): Use the Lout-specific example for
  `!' when relevant.

* doc/user/figure.skb (The figure markup): Avoid using `example-produce'.

* doc/user/slide.skb (dummy-slide-set-output): New.
  (dummy-slide-output): New.
  (dummy-slide-vspace-output): New.
  (dummy-slide-embed-output): New.
  (Example of Skribilo Slides): Use a processor, as in `document.skb', in
  order to use the dummy output functions.

git-archimport-id: lcourtes@laas.fr--2005-mobile/skribilo--devel--1.2--patch-50
Diffstat (limited to 'doc/user/char.skb')
-rw-r--r--doc/user/char.skb9
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/user/char.skb b/doc/user/char.skb
index 85409f0..fe15831 100644
--- a/doc/user/char.skb
+++ b/doc/user/char.skb
@@ -49,9 +49,12 @@ without any transformation from the engine.])
 (p [The sequences ,(code "$1"), ,(code "$2"), ... in the ,(param 'format)
 are replaced with the actual values of the arguments ,(param 'node).])
 
-(example-produce
- (example :legend "Some characters" (prgm :file "src/api20.skb"))
- (disp (include "src/api20.skb"))))
+(let ((file (if (engine-format? "lout")
+	        "src/api20-lout.skb"
+	        "src/api20-html.skb")))
+  (example-produce
+   (example :legend "Some characters" (prgm :file file))
+   (disp (include file)))))
 
 ;*--- Symbols ---------------------------------------------------------*/
 (subsection :title "Symbols"