Skip to content
Snippets Groups Projects
Commit d20b2ea9 authored by phuyalu's avatar phuyalu
Browse files

Add the option --nocopyright in mscgenToPng

parent 7885a01d
No related branches found
No related tags found
1 merge request!2Skip copyright in mscgen figs
......@@ -4,7 +4,7 @@
local function mscgenToPng(mscgen, charttype)
local fname = "tmp.png"
local png = pandoc.pipe("mscgen", {"-T", "png", "-q", "-o", fname, "-S", charttype}, mscgen)
local png = pandoc.pipe("mscgen", {"-T", "png", "-q", "-o", fname, "-S", charttype, "--nocopyright"}, mscgen)
local f = io.open(fname, "rb")
local contents = f:read "*a"
f:close()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment