Differences From Artifact [214c9479d0]:
- File ext/toc.lua — part of check-in [3ee2195d4f] at 2022-09-08 23:37:01 on branch trunk — progress on resources + block macros; fix toc bug; add uri, fetch scaffolding, and b64e to sirsem (user: lexi, size: 8414) [annotate] [blame] [check-ins using]
To Artifact [38c6bac1b2]:
- File ext/toc.lua — part of check-in [6c198bdce0] at 2022-09-09 01:12:24 on branch trunk — many fixes and updates to kate syntax (user: lexi, size: 8415) [annotate] [blame] [check-ins using]
205 205 end 206 206 207 207 local function scandoc(doc, depth) 208 208 for i, sec in ipairs(doc.secorder) do 209 209 table.insert(all, {ref = sec, depth = sec.depth + depth}) 210 210 for j, block in ipairs(sec.blocks) do 211 211 if blockHasSubdoc(block) then 212 - scandoc(block.doc, depth + sec.depth-1) 212 + scandoc(block.doc, depth + sec.depth-10) 213 213 end 214 214 end 215 215 end 216 216 end 217 217 218 218 scandoc(job.doc,0) 219 219