# .*(slides|teaching)/.*html
BEGIN {
usesMEL()
#
# Elements, dependent (and semidependent) on available font size
#
fontSizes[1] = "18"
fontSizes[2] = "20"
fontSizes[3] = "22"
fontSizes[4] = "25"
fontSizes[5] = "27"
fontSizes[6] = "35"
# Certain tags can exist without explicitly defining the font size
# while others cannot
# fontSizes[0] is used for simpler code for the tags which don't
# require font size
fontSizes[0] = ""
# Tags which can exist without specified font-size
for (ind in fontSizes) {
fontClass = (ind != 0) ? " font" fontSizes[ind] : ""
MEL["slide" fontSizes[ind], MELOPEN] = "
"
MEL["slide" fontSizes[ind], MELCLOSE] = "
"
MEL["middle" fontSizes[ind], MELOPEN] = "
"
MEL["middle" fontSizes[ind], MELCLOSE] = "
"
MEL["title" fontSizes[ind], MELOPEN] = "
"
MEL["title" fontSizes[ind], MELCLOSE] = "
"
MEL["centered" fontSizes[ind], MELOPEN] = "
"
MEL["centered" fontSizes[ind], MELCLOSE] = "
"
}
# refer to definition of fontSizes[0]
delete fontSizes[0]
# Tags which cannot exist without specified font-size
for (ind in fontSizes) {
standardPresentationTag("font" fontSizes[ind])
}
#
# Special cases
#
MEL["presentation", MELINSERT] = ORS \
"
" ORS \
" "
MEL["row", MELOPEN] = "
" #
(layout-row > * is td)
MEL["row", MELCLOSE] = "" #