Play audio slide show -- Keyboard shortcut: 'x'  Back to notes -- Keyboard shortcut: 'u'                Slide 24 : 38
Program 1
 

(note-page 'id "source-program"
  (title (main-text "Source-program and its subclauses")
         (annotation "An illustration of the important source-program clause")
  )

  (source-program
   'src "includes/source-demo.scm"
   'from-mark ";start here"
   'to-mark ";end here"
   'slide-mode "inline"
   'book-mode "inline"
   'background-color (rgb-color-encoding 200 200 200)
   (color-decorations 
     (color-decoration 'from-mark "document" 'to-mark "" 'color "red" 'face "bold" )
     (color-decoration 'from-mark "(define validate-html? #t)" 
                        'to-mark "(define check-element-prohibitions? #t)"
                        'color (rgb-color-encoding 0 0 255) 'face "italic" )
   )
   (main-text
    "An excerpt of a skeleton LAML document" )
   (annotation
    "We have illustrate both seletion of a source program, a coloring of the inserted part." )
  )

  (source-program
   'src "meta-lecture-notes.laml"
   'from-mark "(note-page 'id \"source-program\""
   'to-mark end-mark 
   'slide-mode "external"
   'book-mode "inline"
   (color-decorations
   )
   (main-text
    "The LAML source of this page")
  )

  (cross-references
   (internet-reference 'href (man-entry "source-program")
   (main-text "Manual entry")))

) ; end note-page