diff options
author | Ludovic Courtès | 2008-04-07 22:22:16 +0200 |
---|---|---|
committer | Ludovic Courtès | 2008-04-07 22:22:16 +0200 |
commit | 9745ff5744d97fa66b42587e6a304d3bdf8054ab (patch) | |
tree | b807c4ce5c4532b8ee351a8c0a24e34e28936c70 /doc/user/start.skb | |
parent | f8afeb805f2409283dc37d4e0a16e01303a4f5aa (diff) | |
download | skribilo-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.skb | 8 |
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 |