aboutsummaryrefslogtreecommitdiff
path: root/doc/user/start.skb
diff options
context:
space:
mode:
authorLudovic Courtès2008-04-07 22:22:16 +0200
committerLudovic Courtès2008-04-07 22:22:16 +0200
commit9745ff5744d97fa66b42587e6a304d3bdf8054ab (patch)
treeb807c4ce5c4532b8ee351a8c0a24e34e28936c70 /doc/user/start.skb
parentf8afeb805f2409283dc37d4e0a16e01303a4f5aa (diff)
downloadskribilo-9745ff5744d97fa66b42587e6a304d3bdf8054ab.tar.gz
skribilo-9745ff5744d97fa66b42587e6a304d3bdf8054ab.tar.lz
skribilo-9745ff5744d97fa66b42587e6a304d3bdf8054ab.zip
doc: Use the native API instead of `--compat=skribe'.
* doc/user/Makefile.am (skrflags): Remove `--compat=skribe'. * doc/user/*.skb: Trivial API update.
Diffstat (limited to 'doc/user/start.skb')
-rw-r--r--doc/user/start.skb8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/user/start.skb b/doc/user/start.skb
index addb51c..0776799 100644
--- a/doc/user/start.skb
+++ b/doc/user/start.skb
@@ -135,12 +135,12 @@ presents here the kind of documents that can be created with Skribilo.])
(p [In this section we present how to introduce a simple
computation into a document. For instance, the following sentence
-,(disp [
-Document creation date: ,(date)])
-is generated with the following piece of code
+,(disp [Document creation date: ,(date->string (current-date))])
+
+is generated with the following piece of code (using ,(srfi-ref 19)):
,(prgm :language skribe [
-\[Document creation date: \,(date)\]
+\[Document creation date: \,(date->string (current-date))\]
])
Here, we use the Skribilo function ,(code "date") to compute the date to