From 0fbac293a5b3ab2e1360d8dc2743c1ae71bc128f Mon Sep 17 00:00:00 2001 From: Syndamia Date: Mon, 18 Aug 2025 19:02:23 +0300 Subject: chore: Remove outdated files --- awk-edits/MEL-Presentation.awk | 94 ------------------------------------------ 1 file changed, 94 deletions(-) delete mode 100644 awk-edits/MEL-Presentation.awk (limited to 'awk-edits/MEL-Presentation.awk') diff --git a/awk-edits/MEL-Presentation.awk b/awk-edits/MEL-Presentation.awk deleted file mode 100644 index cabc928..0000000 --- a/awk-edits/MEL-Presentation.awk +++ /dev/null @@ -1,94 +0,0 @@ -# .*(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] = "
" - - standardPresentationTag("centered" fontSizes[ind], "centered" fontClass) - } - - # 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] = "" #
- - MEL["sqrow", MELOPEN] = "
" #
(layout-row > * is td) - MEL["sqrow", MELCLOSE] = "" - - MEL["newrow", MELINSERT] = "
" #
- - # - # Generated tags - # - - for (i = 1; i <= 9; i++) { - MEL["br" i, MELINSERT] = "
" - } - for (i = 5; i <= 95; i++) { - standardPresentationTag("width" i "%", "width" i "per") - } - - # - # Ordinary - # - - standardPresentationTag("fright", "float-right") - standardPresentationTag("column") -} - -function standardPresentationTag(name, class) { - if (class == "") class = name - MEL[name, MELOPEN] = "
" - MEL[name, MELCLOSE] = "
" -} - -/\[SLIDEID\]/ { - sub(/\[SLIDEID\]/, "slide-" slideIndex++) -} -- cgit v1.3.1-26-gb76a