Overview
Comment: | cleanup |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
d85fbc448f1bd9063f5b46c23731c809 |
User & Date: | lexi on 2024-07-17 22:29:55 |
Other Links: | manifest | tags |
Context
2024-07-18
| ||
18:36 | fix untransmogrified footnotes begot by absent hook call check-in: bb010e612e user: lexi tags: trunk | |
2024-07-17
| ||
22:29 | cleanup check-in: d85fbc448f user: lexi tags: trunk | |
22:21 | beginnings of some support for captions/subtitles, excise dumb ideas from readme and fix typo, black pharaoh but this codebase needs a rewrite check-in: 435c29db6b user: lexi tags: trunk | |
Changes
Modified cortav.lua from [f6f6b80f21] to [b9282cddb6].
976 976 977 977 local insert_caption = blockwrap(function(l,c,j,d) 978 978 if next(d) == nil then 979 979 c:fail 'subtitle in an unlabeled section is meaningless' 980 980 end 981 981 982 982 local last = d[#d] 983 + -- make the syntax a bit friendlier in edge cases 984 + if last.kind == 'reference' then last = last.rsrc end 985 + 983 986 local me = { 984 987 kind = 'subtitle'; 985 988 spans = ct.parse_span(l:sub(3):gsub("^%s+",""), c); 986 989 } 987 990 988 991 local captionable = { 989 992 quote=true, aside=true,