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
945
946
947
948
949
950



951
952
953
954
955
956
957
			flush()
			table.insert(spans,{kind='line-break',origin=ctx:clone()})
		else
			buf = buf .. c
		end
	end
	flush()



	return spans
end

local function
blockwrap(fn)
	return function(l,c,j,d)
		local block = fn(l,c,j,d)







>
>
>







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

local function
blockwrap(fn)
	return function(l,c,j,d)
		local block = fn(l,c,j,d)