diff options
Diffstat (limited to 'doc/user/src/prgm2.skb')
-rw-r--r-- | doc/user/src/prgm2.skb | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/doc/user/src/prgm2.skb b/doc/user/src/prgm2.skb index 2996cc8..8ba1bc3 100644 --- a/doc/user/src/prgm2.skb +++ b/doc/user/src/prgm2.skb @@ -1,7 +1,11 @@ +(use-modules (skribilo source lisp)) + +(linebreak) (frame :width 100. - (prog (source :language bigloo :file "prgm.skb" :definition 'fib))) + (prog (source :language scheme :file "prgm.skb" :definition 'fib))) -(p [The Fibonacci function is defined line ,(ref :line "fib").]) +(p [The Fibonacci function is defined on line ,(ref :line "fib").]) +(linebreak) ;!start (frame :width 100. @@ -10,9 +14,10 @@ ;!stop (p [Here is the source of the frame above:]) +(linebreak) (frame :width 100. (prog :line 30 :mark #f (source :language skribe :file "src/prgm2.skb" - :start ";!start" - :stop ";!stop"))) + :start (string-append ";" "!start") ;; trick! + :stop (string-append ";" "!stop")))) |