summaryrefslogtreecommitdiff
path: root/doc/user/start.skb
diff options
context:
space:
mode:
Diffstat (limited to 'doc/user/start.skb')
-rw-r--r--doc/user/start.skb17
1 files changed, 8 insertions, 9 deletions
diff --git a/doc/user/start.skb b/doc/user/start.skb
index f3c1e28..d478a7e 100644
--- a/doc/user/start.skb
+++ b/doc/user/start.skb
@@ -14,13 +14,12 @@
;*---------------------------------------------------------------------*/
(chapter :title "Getting Started"
-(p [
-In this chapter, the syntax of a Skribe text is presented ,(emph "informally").
-In particular, the Skribe syntax is compared to the HTML syntax. Then,
-it is presented how one can use Skribe to make dynamic text
-(i.e texts which are generated by the system rather than entered-in by hand.
-Finally, It is also
-presented how Skribe source files can be processed.])
+(p [ In this chapter, the syntax of a Skribe text is presented ,(emph
+"informally"). In particular, the Skribe syntax is compared to the HTML
+syntax. Then, it is presented how one can use Skribe to make dynamic
+text (i.e texts which are generated by the system rather than entered-in
+by hand). Finally, It is also presented how Skribe source files can be
+processed.])
;*--- Hello world -----------------------------------------------------*/
(section :title "Hello World!" [
@@ -148,7 +147,8 @@ often need to generate some repetitive text. Skribe programming skills
can be used to ease the construction of such documents as illustrated below.
,(disp
(itemize
- (map (lambda (x) (item [The square of ,(bold x) is ,(bold (* x x))]))
+ (map (lambda (x)
+ (item [The square of ,(bold x) is ,(bold (* x x))]))
'(1 2 3 4 5 6 7 8 9))))
This text has been generated with the following piece of code
,(prgm :language skribe [
@@ -192,6 +192,5 @@ In order to compile to various formats one must type in:])
,(disp :verb #t [
$ skribe file.skb -o file.html ,(char 35) ,(it "This produces an HTML file.")
$ skribe file.skb -o file.tex ,(char 35) ,(it "This produces a TeX file.")
-$ skribe file.skb -o file.man ,(char 35) ,(it "This produces a man page.")
$ skribe file.skb -o file.info ,(char 35) ,(it "This produces an info page.")
$ skribe file.skb -o file.mgp ,(char 35) ,(it "This produces a MagicPoint document")])]))