Lecture overview -- Keyboard shortcut: 'u'  Previous page: Programmatic authoring -- Keyboard shortcut: 'p'  Next page: The HTML Mirrors [Section] -- Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  Annotated slide -- Keyboard shortcut: 't'  Alphabetic index  Help page about these notes  Course home    Slide 6 : 19

An example of programmatic authoring 

initial-document.htmlA very simple HTML document.
 

(load (string-append laml-dir "laml.scm"))
(style "simple-html4.01-transitional-validating")

(write-html '(raw prolog epilog)
 (html
  (head 
   (title "This is the document title")
   )

  (body 
   (h1 "Document title")

   (p "Here is the first paragraph of the document")

   (p "The second paragraph has an" (em "emphasized item")
      "and a" (b "bold face item")_".")
   ))
)     
  
 

doc4.lamlAn extended LAML counterpart.