diff options
author | Ludovic Courtès | 2008-02-05 10:36:06 +0100 |
---|---|---|
committer | Ludovic Courtès | 2008-02-05 10:36:06 +0100 |
commit | 98182136994de2b437feb0c37592aeb95aba3c9e (patch) | |
tree | 4bd1442e5d166df12b986d9e7182b9f0e9a9d7a9 /doc/user/start.skb | |
parent | ea059c854083159bcd336ab29cba4936870b1c9f (diff) | |
download | skribilo-98182136994de2b437feb0c37592aeb95aba3c9e.tar.gz skribilo-98182136994de2b437feb0c37592aeb95aba3c9e.tar.lz skribilo-98182136994de2b437feb0c37592aeb95aba3c9e.zip |
doc: Fix compilation example in "Getting Started".
Diffstat (limited to 'doc/user/start.skb')
-rw-r--r-- | doc/user/start.skb | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/doc/user/start.skb b/doc/user/start.skb index 814ba5d..cea5417 100644 --- a/doc/user/start.skb +++ b/doc/user/start.skb @@ -199,18 +199,21 @@ are put in italics in an itemize.]) ;*--- Compiling documents --------------------------------------*/ (section :title "Compiling Skribilo Documents" - (p [There are several ways to render a Skribilo document. It can be -statically compiled by the ,(tt "skribe") compiler to various formats -such as HTML, LaTeX, man and so on. In this section we only present + (p [There are several ways to render a Skribilo document. It can be +statically compiled by the ,(tt "skribilo") compiler to various formats +such as HTML, LaTeX, Lout and so on. In this section we only present static ``document compilation''.]) (p [Let us suppose a Skribilo text located in a file ,(tt "file.skb"). In order to compile to various formats one must type in:] (disp :verb #t [ -$ skribilo file.skb -o file.html ,(char 35) ,(it "This produces an HTML file.") -$ skribilo file.skb -o file.tex ,(char 35) ,(it "This produces a TeX file.") -$ skribilo file.skb -o file.lout ,(char 35) ,(it "This produces a Lout file.")])))) +$ skribilo --target=html file.skb -o file.html ,(char 35) ,(it "This produces an HTML file.") +$ skribilo -t latex file.skb -o file.tex ,(char 35) ,(it "This produces a TeX file.") +$ skribilo -t lout file.skb -o file.lout ,(char 35) ,(it "This produces a Lout file.")]) + + [The reference of the ,(tt [skribilo]) compiler is given in +,(numref :text [Chapter] :ident "compiler").]))) ;; Local Variables: |