Merge remote-tracking branch 'origin/master' into dev

This commit is contained in:
Tom Breloff 2016-11-28 10:13:40 -05:00
commit 8204b51213

View File

@ -52,6 +52,14 @@ function tex(plt::Plot, fn::AbstractString)
end
tex(fn::AbstractString) = tex(current(), fn)
function html(plt::Plot, fn::AbstractString)
fn = addExtension(fn, "html")
io = open(fn, "w")
show(io, MIME("text/html"), plt)
close(io)
end
html(fn::AbstractString) = html(current(), fn)
# ----------------------------------------------------------------
@ -63,6 +71,7 @@ const _savemap = Dict(
"ps" => ps,
"eps" => eps,
"tex" => tex,
"html" => html,
)
function getExtension(fn::AbstractString)