Lecture overview
Keyboard shortcut: 'u'  Previous page
Keyboard shortcut: 'p'  Next page
Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  slide
Keyboard shortcut: 't'  Help page about these notes  Alphabetic index  Course home    Slide 6 : 19
An example of programmatic authoring

includes/initial-example/initial-document.htmlA very simple HTML document.

A 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")_".")
   ))
)     
  

The LAML counterpart.

includes/initial-example/doc4.lamlAn extended LAML counterpart.

An extended LAML counterpart.