Lecture overview
Keyboard shortcut: 'u'  Previous slide in this lecture
Keyboard shortcut: 'p'  Next slide in this lecture
Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  Annotated slide
Keyboard shortcut: 't'  Alphabetic index  Help page about these notes  Course home    source-programSlide 6 : 24

Source program
meta-lecture-notes.laml
Explanation of an external program.
 

(note-page 'source-program
  (title "Source program"
         "Source program is used to present a piece of program in the lecture notes.
          It is possible to select part of a program only, and it is possible to 
          colorize and font decorate substrings of the chosen selection. Here we demonstrate
          these features on the LENO Scheme source file, on which this demo is based.
         "
  )

  (source-program this-source-file  (list "(note-page 'source-program" end-marker)
       (list
         (list "source-program" "" red 'italic) 
         (list "(index-words" ")" blue 'bold)
       )
       '(slide-external book-external)
       "Explanation of an external program. For illustration purposes we show the LAML fragments producing
        this page (This is done on each page in this collection). We also illustrate the possibility of fonting and coloring."

  )

  (source-program this-source-file  (list "(note-page 'source-program" end-marker)
       (list
         (list "source-program" "" red 'italic) 
         (list "(index-words" ")" blue 'bold)
       )
       '(slide-inline book-inline)
       "Explanation of an inlined program. For illustration purposes we show the LAML fragments producing
        this page (This is done on each page in this collection). We also illustrate the possibility of fonting and coloring."

  )  

  (index-words "source-file")

) ; end page