diff --git a/.gitignore b/.gitignore index 3fd8669..dd2907c 100644 --- a/.gitignore +++ b/.gitignore @@ -3,5 +3,6 @@ test.jl examples/*/*.png examples/*.md examples/*.html +tmp/ .idea *.*~ diff --git a/README.md b/README.md index 284e58a..aff4372 100644 --- a/README.md +++ b/README.md @@ -24,11 +24,11 @@ You'll need latest Pweave from Github: ## Chunk options -You can use the same chunk options as for Pweave, but the format is different. -The syntax needs to be valid for creating a dictionary in Julia -without the `{}`. e.g: +You can use the same chunk options as for Pweave, but the format is different. Options are separated +using ";" and need to be valid Julia expressions. e.g. - <<"term"=>true, "fig"=>false>>= + + <>= ## Usage @@ -37,3 +37,9 @@ Run from julia: using JuliaReport weave(Pkg.dir("JuliaReport","examples","julia_sample.mdw") + +Or using Winston for plots (Julia 0.3 only): + + weave(Pkg.dir("JuliaReport","examples","winston_sample.mdw"), plotlib="Winston") + + diff --git a/examples/winston_sample.pdf b/examples/winston_sample.pdf new file mode 100644 index 0000000..fd9a48c Binary files /dev/null and b/examples/winston_sample.pdf differ