cortav  Check-in [bb010e612e]

Overview
Comment:fix untransmogrified footnotes begot by absent hook call
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: bb010e612e8f3d7586033e6c8a9e996af8862e375e3c3ed7683c0ec1931d8beb
User & Date: lexi on 2024-07-18 18:36:20
Other Links: manifest | tags
Context
2024-07-18
21:43
fix definition-form deref rendering, fix exns, add debug mechanism for printing stacktraces, alleviate multifarious dimbulbery Leaf check-in: 0042f47e35 user: lexi tags: trunk
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
Changes

Modified cortav.lua from [b9282cddb6] to [3e270c2a7b].

   944    944   			flush()
   945    945   			table.insert(spans,{kind='line-break',origin=ctx:clone()})
   946    946   		else
   947    947   			buf = buf .. c
   948    948   		end
   949    949   	end
   950    950   	flush()
          951  +	for hk, ext in ctx.doc.docjob:each('hook', 'doc_macro_expand_span') do
          952  +		hk(ctx.doc.docjob:delegate(ext), spans, {origin=ctx})
          953  +	end
   951    954   	return spans
   952    955   end
   953    956   
   954    957   local function
   955    958   blockwrap(fn)
   956    959   	return function(l,c,j,d)
   957    960   		local block = fn(l,c,j,d)