diff options
author | Ludovic Courtes | 2006-01-16 22:33:10 +0000 |
---|---|---|
committer | Ludovic Courtes | 2006-01-16 22:33:10 +0000 |
commit | 36a235bc558321245eb410633c314b03e5bb9f81 (patch) | |
tree | 56d287670d9ce43285e8e961f9f443dd74751317 /doc/user | |
parent | f66ef36a1c5a8c28e6a95ec9f6b19e20e914e42a (diff) | |
parent | 2d8fa88ef04b3a6141a2b03a9671a7dd0fcc1f60 (diff) | |
download | skribilo-36a235bc558321245eb410633c314b03e5bb9f81.tar.gz skribilo-36a235bc558321245eb410633c314b03e5bb9f81.tar.lz skribilo-36a235bc558321245eb410633c314b03e5bb9f81.zip |
More SRFI-3[45] enhancements; first stab at the user documentation.
* src/guile/skribilo/biblio.scm (skribe-open-bib-file): Raise a
`&file-search-error' when needed.
* src/guile/skribilo/runtime.scm (convert-image): Likewise.
* src/guile/skribilo/source.scm (source-read-lines): Likewise.
(source-read-definition): Likewise.
* src/guile/skribilo/utils/compat.scm (skribe-load): Only look up
`%skribe-known-files' when `load-document' failed.
(find-file/path): Use `search-path'.
(find-runtime-type): Implemented.
* doc/skr/api.skr: Use `(ice-9 match)'. Use `match' instead of
`match-case'.
(api-search-definition): Search in `%load-path' and `(skribe-path)'.
(define-markup?): First stab at getting the `match' syntax right.
* doc/user/src/start[3-5].skb: Small fixes.
git-archimport-id: lcourtes@laas.fr--2004-libre/skribilo--devel--1.2--patch-28
Diffstat (limited to 'doc/user')
-rw-r--r-- | doc/user/src/start3.skb | 4 | ||||
-rw-r--r-- | doc/user/src/start4.skb | 8 | ||||
-rw-r--r-- | doc/user/src/start5.skb | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/doc/user/src/start3.skb b/doc/user/src/start3.skb index 0705966..65fa738 100644 --- a/doc/user/src/start3.skb +++ b/doc/user/src/start3.skb @@ -1,9 +1,9 @@ (document :title [Hello World!] -(section :title [A first Section] [ +(chapter :title [A first Section] [ This is a ,(bold [very]) ,(it [simple]) ,(color :fg [red] [text]).]) -(section :title [A second Section] [ +(chapter :title [A second Section] [ That section contains an ,(bold itemize) construction: ,(itemize (item [first item]) (item [second item]) diff --git a/doc/user/src/start4.skb b/doc/user/src/start4.skb index 3311925..31fba0c 100644 --- a/doc/user/src/start4.skb +++ b/doc/user/src/start4.skb @@ -1,13 +1,13 @@ -(document :title [Various links] [ +(document :title [Various links] -(section :title "A Section" [ + (chapter :title "A Section" [ The first link points to an external web page. Here we point to a ,(ref :url [http://slashdot.org/] [Slashdot]) web page. The second one points to the second ,(ref :section [A second Section] [Section]) of that document.]) -(section :title [A second Section] [ + (chapter :title [A second Section] [ The last links points to the first ,(ref :scribe [user.scr] :figure [A simple web page] [Figure]) -of the Scribe User Manual.])]) +of the Scribe User Manual.])) diff --git a/doc/user/src/start5.skb b/doc/user/src/start5.skb index 9e6b877..6977608 100644 --- a/doc/user/src/start5.skb +++ b/doc/user/src/start5.skb @@ -6,4 +6,4 @@ (itemize (map (lambda (x) (item (it (markup-option x :title)))) - sects)))))
\ No newline at end of file + sects))))) |