From 98182136994de2b437feb0c37592aeb95aba3c9e Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Tue, 5 Feb 2008 10:36:06 +0100 Subject: doc: Fix compilation example in "Getting Started". --- doc/user/start.skb | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'doc/user/start.skb') 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: -- cgit v1.2.3