From 9745ff5744d97fa66b42587e6a304d3bdf8054ab Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Mon, 7 Apr 2008 22:22:16 +0200 Subject: doc: Use the native API instead of `--compat=skribe'. * doc/user/Makefile.am (skrflags): Remove `--compat=skribe'. * doc/user/*.skb: Trivial API update. --- doc/user/start.skb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/user/start.skb') 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 -- cgit v1.2.3