File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -85,6 +85,7 @@ import("./layout/latex.lua")
8585import (" ./layout/html.lua" )
8686import (" ./layout/wp.lua" )
8787import (" ./layout/docx.lua" )
88+ import (" ./layout/jats.lua" )
8889import (" ./layout/odt.lua" )
8990import (" ./layout/pptx.lua" )
9091import (" ./layout/table.lua" )
Original file line number Diff line number Diff line change @@ -800,12 +800,12 @@ function jatsCallout(node)
800800 local contents = resolveCalloutContents (node , true )
801801
802802 local boxedStart = ' <boxed-text>'
803- if div .attr .identifier and div .attr .identifier ~= ' ' then
804- boxedStart = " <boxed-text id='" .. div .attr .identifier .. " '>"
803+ if node .attr .identifier and node .attr .identifier ~= ' ' then
804+ boxedStart = " <boxed-text id='" .. node .attr .identifier .. " '>"
805805 end
806-
807806 contents :insert (1 , pandoc .RawBlock (' jats' , boxedStart ))
808807 contents :insert (pandoc .RawBlock (' jats' , ' </boxed-text>' ))
808+
809809 return pandoc .Div (contents )
810810end
811811
You can’t perform that action at this time.
0 commit comments