Meta Lecture Notes

Kurt Normark ©
Department of Computer Science, Aalborg University, Denmark


Abstract

Index References Contents
This set of lecture notes illustrate each of the means of expressions in LENO by giving access to the LAML source in a very convenient way. As a distinguished feature you can access the LAML form which created the HTML page(s). The source-program clause is used to read the LENO LAML source in a novel way. Also notice the cross references to the relevant manual clauses in the LENO XML-in-LAML Reference Manual. The Scheme suffix file of this lecture is post-notes.scm.


LENO Front matters

leno-front-matters
Slide Note Contents Index
References 
This pages gives access to the LENO front matters, which is a very important part of a LENO LAML file.

Program: The LAML source of the LENO front matters.
(leno-front-matters
  (front-title "Meta Lecture Notes")           
  (front-subtitle "")   
  (front-author "Kurt Normark")           
  (front-affiliation "Department of Computer Science, Aalborg University, Denmark")  
  (front-abstract (con "This set of lecture notes illustrate each of the means of expressions in LENO
    by giving access to the LAML source in a very convenient way. As a distinguished feature you 
    can access the LAML form which created the HTML page(s). The source-program clause is used
    to read the LENO LAML source in a novel way. Also notice the cross references to the relevant manual
    clauses in the " (a-tag "../../lecture-notes.html" "LENO XML-in-LAML Reference Manual") ". "
    "The Scheme suffix file of this lecture is " (a 'href "../post-notes.scm" "post-notes.scm") "." ))  

  'scheme-suffix "post-notes.scm"
  'course-home-url "../../lecture-notes.html"
  'author-home-url "http://www.cs.auc.dk/~normark/"   
  'note-download-url ""   
  'logo-url "http://www.auc.dk/"  
  'note-contents-description ""    
  'slide-header "normal"  ; minimal/normal/none 
  'trail-of-lecture "false"  
  'language "english"      
  'show-and-speak "true" 
    'default-showing-time "2"    
    'additional-showing-time "0" 
    'sound-source "wave-file" 
    'speak-url-prefix "../../speak/"
  'exercise-model "make-indexes-and-solutions-per-lecture"   
  'mouse-advancement "double-press" 
  'word-index "true"  
  'apply-css-styling "false"
  'news-flash-string  "This is a meta level LENO demo"  
  'news-flash-level   "2"
  'quiz-support "true"   
  'verbosity-level "1"
) ; end leno-front-matters

Reference


This is a section title - goto next page to see source

This is a title
Slide Note Contents Index
References 
This is an annotation or comment of the title

Program: The LAML source of the previous page.
(note-page 'id "section-title"
 
  (section-title "This is a section title - goto next page to see source")

) ; end note-page

Program: The LAML source of this page.
(note-page 'id "title"
  (title (main-text "This is a title")
         (annotation "This is an annotation or comment of the title")
  )

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

  (source-program
   'src "meta-lecture-notes.laml"
   'from-mark "(note-page 'id \"title\""
   '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 "title")
   (main-text "Manual entry")))


) ; end note-page

Reference

Text
Slide Note Contents Index
References 
A note page that illustrate the text clause

Primary text
Secondary text

Program: The LAML source of this page.
(note-page 'id "text"
  (title (main-text "Text")
         (annotation "A note page that illustrate the text clause")
  )

  (text
   (main-text
    "Primary text"
    )
   (annotation
    "Secondary text"
    )
  )

  (source-program
   'src "meta-lecture-notes.laml"
   'from-mark "(note-page 'id \"text\""
   '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 "text")
   (main-text "Manual entry")))

) ; end note-page

Reference

Slide-text
Slide Note Contents Index
References 
An illustration of the slide-text clause

Program: The LAML source of this page.
(note-page 'id "slide-text"
  (title (main-text "Slide-text")
         (annotation "An illustration of the slide-text clause")
  )

  (slide-text
   "Slide text - no annotation possible"
  )

 (source-program
   'src "meta-lecture-notes.laml"
   'from-mark "(note-page 'id \"slide-text\""
   '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 "slide-text")
   (main-text "Manual entry")))

) ; end note-page

Reference

Note-text
Slide Note Contents Index
References 
An illustration of note-text

Note text - does not affect slide view

Program: The LAML source of this page.
(note-page 'id "note-text"
  (title (main-text "Note-text")
         (annotation "An illustration of note-text")
  )

  (note-text
   "Note text - does not affect slide view"
  )

  (source-program
   'src "meta-lecture-notes.laml"
   'from-mark "(note-page 'id \"note-text\""
   '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 "note-text")
   (main-text "Manual entry")))

) ; end note-page

Reference

Theme-text
Slide Note Contents Index
References 
An illustration of theme-text. A theme-text clause contributes with textual contents to the theme view. As such, the theme-text clause does not leave any trace in slide/note/book view.

Program: The LAML source of this page.
(note-page 'id "theme-text"
  (title (main-text "Theme-text")
         (annotation "An illustration of theme-text. A theme-text clause contributes with textual contents to the theme view.
                      As such, the theme-text clause does not leave any trace in slide/note/book view.")
  )

  (theme-text
   "Theme text - does not affect slide/note/book views. Is meant to go directly to the theme view"
  )

  (source-program
   'src "meta-lecture-notes.laml"
   'from-mark "(note-page 'id \"theme-text\""
   '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 "theme-text")
   (main-text "Manual entry")))

) ; end note-page

Reference

Meta-text
Slide Note Contents Index
References 
An illustration of meta-text. A meta-text can be of the types readers-guide or normal (with the latter as the default). The text does not leave any trace in slide view.

Meta text - does not affect slide views.

Meta text - Reader's guide to the material.

Program: The LAML source of this page.
(note-page 'id "meta-text"
  (title (main-text "Meta-text")
         (annotation "An illustration of meta-text. A meta-text can be of the types readers-guide or normal (with the latter as the default).
                      The text does not leave any trace in slide view.")
  )

  (meta-text ; 'type "normal"
   "Meta text - does not affect slide views."
  )

  (meta-text 'type "readers-guide"
   "Meta text - Reader's guide to the material."
  )

  (source-program
   'src "meta-lecture-notes.laml"
   'from-mark "(note-page 'id \"meta-text\""
   '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 "meta-text")
   (main-text "Manual entry")))

) ; end note-page

Reference

Items
Slide Note Contents Index
References 
An illutration of items and item

  • Item 1

    • Sub item 1

    • Sub item 2

    • Sub item 3

Item 1 annotation

Sub item 1 annotation

Sub item 2 annotation

Sub item 3 annotation

Program: The LAML source of this page.
(note-page 'id "items"
  (title (main-text "Items")
         (annotation "An illutration of items and item")
  )

  (items 
   (item 
    (main-text "Item 1"
               ) 
    (annotation "Item 1 annotation"
                )
    (items 
     (item 
      (main-text "Sub item 1"
                 ) 
      (annotation "Sub item 1 annotation"
                  ))
     (item 
      (main-text "Sub item 2"
                 ) 
      (annotation "Sub item 2 annotation"
                  ))
     (item 
      (main-text "Sub item 3"
                 ) 
      (annotation "Sub item 3 annotation"
  )))))

 (source-program
   'src "meta-lecture-notes.laml"
   'from-mark "(note-page 'id \"items\""
   '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 "items")
   (main-text "Manual entry")))

)  ; end note-page

Reference

Point
Slide Note Contents Index
References 
Illustraion of a point clause

Primary point

Secondary point

Program: The LAML source of this page.
(note-page 'id "point"
  (title (main-text "Point")
         (annotation "Illustraion of a point clause")
  )

  (point
   (main-text
    "Primary point"
    )
   (annotation
    "Secondary point"
    )
  )

  (source-program
   'src "meta-lecture-notes.laml"
   'from-mark "(note-page 'id \"point\""
   '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 "point")
   (main-text "Manual entry")))

)  ; end note-page

Reference

Example
Slide Note Contents Index
References 
An illustration of example

Eksempel. Example textAnnotation of the example
 

Program: The LAML source of this page.
(note-page 'id "example"
  (title (main-text "Example")
         (annotation "An illustration of example")
  )

  (example
   (main-text
    "Example text"
    )
   (annotation
    "Annotation of the example"
    )
  )

  (source-program
   'src "meta-lecture-notes.laml"
   'from-mark "(note-page 'id \"example\""
   '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 "example")
   (main-text "Manual entry")))

) ; end note-page

Reference

Opposing items and its subclauses
Slide Note Contents Index
References 
An illustration of opposing items

Left item 1

Right item 1

Left item 2

Right item 2

Program: The LAML source of this page.
(note-page 'id "opposing"
  (title (main-text "Opposing items and its subclauses")
         (annotation "An illustration of opposing items")
  )

  (opposing
   (opposing-item 
    (left-item "Left item 1"
               ) 
    (right-item "Right item 1"
                ))
   (opposing-item 
    (left-item "Left item 2"
               ) 
    (right-item "Right item 2"
  )))

  (source-program
   'src "meta-lecture-notes.laml"
   'from-mark "(note-page 'id \"opposing\""
   '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 "opposing")
   (main-text "Manual entry")))

) ; end note-page

Reference

Comment
Slide Note Contents Index
References 
An illustration of comment

Internal commentThe comment text 

Program: The LAML source of this page.
(note-page 'id "comment"
  (title (main-text "Comment")
         (annotation "An illustration of comment")
  )

  (comment
   "The comment text"
  )

  (source-program
   'src "meta-lecture-notes.laml"
   'from-mark "(note-page 'id \"comment\""
   '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 "comment")
   (main-text "Manual entry")))

) ; end note-page

Reference

Index-words
Slide Note Contents Index
References 
An illustration of index-words and its subclause

Program: The LAML source of this page. The index-word clause leaves no immedate trace in the material, but the words are put in the index. Take a look!.

Reference

Concept-list and its subclause
Slide Note Contents Index
References 
Illustrates the concept-list form and its subclauses

The concept concept: This is the definition of the first conceptHere we explain the first concept
The concept another concept: This is the definition of another conceptHere we explain the anoter concept

Program: The LAML source of this page.
(note-page 'id "concept-list"
  (title (main-text "Concept-list and its subclause")
         (annotation "Illustrates the concept-list form and its subclauses")
  )

  (concept-list
   (concept 'concept-name "concept" 
             (main-text "This is the definition of the first concept") 
             (annotation "Here we explain the first concept"))
   (concept 'concept-name "another concept" 
             (main-text "This is the definition of another concept"
                        ) 
             (annotation "Here we explain the anoter concept")))

  (source-program
   'src "meta-lecture-notes.laml"
   'from-mark "(note-page 'id \"concept-list\""
   '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 "concept-list")
   (main-text "Manual entry")))

) ; end note-page

Reference

Quotation
Slide Note Contents Index
References 
An illustration of a quotation

"Main quotation text"

Comments about quotation

Program: The LAML source of this page.
(note-page 'id "quotation"
  (title (main-text "Quotation")
         (annotation "An illustration of a quotation")
  )

  (quotation
   (main-text
    "Main quotation text"
    )
   (annotation
    "Comments about quotation"
    )
  )

  (source-program
   'src "meta-lecture-notes.laml"
   'from-mark "(note-page 'id \"quotation\""
   '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 "quotation")
   (main-text "Manual entry")))

) ; end note-page

Reference

Image - two instances of image
Slide Note Contents Index
References 
An illustration of an image clause

Figure. The image caption of the first image

Figure. The image caption of the second image

Program: The LAML source of this page.
(note-page 'id "image"
  (title (main-text "Image - two instances of image")
         (annotation "An illustration of an image clause")
  )

  (image
   'src "test-image-1.gif"
   (main-text
    "The image caption of the first image"
   )
  )

  (image
   'src "test-image-2.gif"
   'alignment "vertical"
   'first "picture"
   'second "text"
   (main-text
    "The image caption of the second image"
    )
  )


  (source-program
   'src "meta-lecture-notes.laml"
   'from-mark "(note-page 'id \"image\""
   '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 "image")
   (main-text "Manual entry")))

) ; end note-page

Reference

Svg-image - Scalable Vector Graphics
Slide Note Contents Index
References 
An illustration of an svg-image clause. Svg is the XML language for scalable vector graphics

The SVG image caption
To see this image you must download and install the SVG plugin from Adobe

Program: The LAML source of this page.
(note-page 'id "svg-image"
  (title (main-text "Svg-image - Scalable Vector Graphics")
         (annotation "An illustration of an svg-image clause. Svg is the XML language for scalable vector graphics")
  )

  (svg-image 
   'src "hilbert.svg"
   'width "500" 'height "500"
   (main-text
    "The SVG image caption"
   )
  )


  (source-program
   'src "meta-lecture-notes.laml"
   'from-mark "(note-page 'id \"svg-image\""
   '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 "svg-image")
   (main-text "Manual entry")))

) ; end note-page

Reference

Slide-image
Slide Note Contents Index
References 
This is an illustration of the slide-image clause

Program: The LAML source of this page.
(note-page 'id "slide-image"
  (title (main-text "Slide-image")
         (annotation "This is an illustration of the slide-image clause")
  )

  (slide-image
   'src "test-image-2.gif"
  )

  (source-program
   'src "meta-lecture-notes.laml"
   'from-mark "(note-page 'id \"slide-image\""
   '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 "slide-image")
   (main-text "Manual entry")))
) ; end note-page

Reference

Image-series and subclauses
Slide Note Contents Index
References 
This is an illustration of the image-series element and its subclauses

Image series: This is an image series, which is shown external to the slide viewThis is an image series, which is shown external to the slide view

Image no. 1. This is the caption of the first image in the series
 

Image no. 2. This is the caption of the second image in the series
 

Program: The LAML source of this page.
(note-page 'id "image-series"
  (title (main-text "Image-series and subclauses")
         (annotation "This is an illustration of the image-series element and its subclauses")
  )

  (image-series
   'title "This is an image series, which is shown external to the slide view"
   (image-series-item
    'src "test-image-1.gif"
    "This is the caption of the first image in the series" )
   (image-series-item
    'src "test-image-2.gif"
    "This is the caption of the second image in the series" )
   'slide-mode "external"
   'book-mode "inline"
  )


  (source-program
   'src "meta-lecture-notes.laml"
   'from-mark "(note-page 'id \"image-series\""
   '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 "image-series")
   (main-text "Manual entry")))


) ; end note-page

Reference