2014-12-08 09:25:57 +01:00
|
|
|
using Weave
|
2014-11-24 23:08:25 +01:00
|
|
|
using Base.Test
|
2014-12-06 18:16:45 +01:00
|
|
|
|
2014-12-09 10:34:26 +01:00
|
|
|
include("chunk_options.jl")
|
2014-12-09 21:17:20 +01:00
|
|
|
#include("pyplot_formats.jl") cause segfaults, but OK if run by itself
|
2014-12-06 18:16:45 +01:00
|
|
|
|
2014-12-22 15:52:52 +01:00
|
|
|
weave("documents/gadfly_markdown_test.jmd", doctype="github",plotlib="gadfly", informat="markdown")
|
|
|
|
result = readall(open("documents/gadfly_markdown_test.md"))
|
|
|
|
ref = readall(open("documents/gadfly_markdown_test_ref.md"))
|
|
|
|
@test result == ref
|
2014-12-08 22:51:27 +01:00
|
|
|
|
2014-12-22 15:52:52 +01:00
|
|
|
#Test winston only for 0.3
|
|
|
|
if VERSION.minor == 3
|
2014-12-09 09:35:38 +01:00
|
|
|
include("winston_formats.jl")
|
2014-12-06 23:19:08 +01:00
|
|
|
end
|
2014-12-22 15:52:52 +01:00
|
|
|
|
|
|
|
include("gadfly_formats.jl")
|