sample.lua: add SingleQuoted, DoubleQuoted.

Closes #5104.
This commit is contained in:
John MacFarlane 2018-11-29 10:42:05 -08:00
parent 77a40d6f34
commit 642c022d81

View file

@ -164,6 +164,14 @@ function DisplayMath(s)
return "\\[" .. escape(s) .. "\\]"
end
function SingleQuoted(s)
return "‘" .. s .. "’"
end
function DoubleQuoted(s)
return "“" .. s .. "”"
end
function Note(s)
local num = #notes + 1
-- insert the back reference right before the final closing tag.