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 25 : 42
Automation of routine tasks

Many tedious tasks can be solved directly by pieces of programs embedded in an LAML document

  • Verbatim HTML documents

    • Manual escaping of tag characters '<' and '>' is tedious

includes/automations/d1-with.lamlAn example of programmed HTML escaping - external HTML

An example of programmed HTML escaping - external HTML

includes/automations/d1-without.htmlThe example html document with manual escaping - inlined HTML

The example html document with manual escaping - inlined HTML

../../lib4/html4.0-loose/convenience.scmThe html-protect function from the HTML4.0 convenience library.

The html-protect function from the HTML4.0 convenience library.

  • Insertion of textual material

    • Copying of textual material into slide presentations leaves us with two copies

    • The 'HTML verbatim example' illustrate the LAML approach to inclusion of textual material

  • URL Checking

    • Check of valid URLs by manual clicking takes long time - and you easily forget to check some links

    • It is attractive to try out the targets of URLs when they appear as href attributes in anchor tags

includes/automations/d3-with.lamlAn example with automated URL checking

An example with automated URL checking