10 lines
266 B
Lua
10 lines
266 B
Lua
-- Add a latex insecable space before ":" for words ending with ":"
|
|
-- **not necessary** if french babel is loaded
|
|
function Str(elem)
|
|
if elem.text:sub(-1) == ":" then
|
|
return pandoc.RawInline("latex", elem.text:gsub(":", "~:"))
|
|
else
|
|
return elem
|
|
end
|
|
end
|