mirror of https://github.com/mpastell/Weave.jl
e20025315d
* Implemented dpi and fig_witdth and fig_height for Gadfly and Winston |
||
---|---|---|
examples | ||
src | ||
test | ||
.gitignore | ||
.travis.yml | ||
LICENSE.md | ||
README.md | ||
REQUIRE |
README.md
JuliaReport
JuliaReport is a scientific report generator/literate programming tool for Julia. It resembles Pweave and, Knitr and Sweave.
Current features
- Noweb syntax for documents.
- Execute code as terminal or "script" chunks.
- Capture PyPlot, Gadfly or Winston figures.
- Supports latex and pandoc markdown output
Not implemented
- Script reader
- Inline code
- Caching
Chunk options
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
Run from julia:
using JuliaReport
weave(Pkg.dir("JuliaReport","examples","julia_sample.mdw")
Using Winston for plots (Julia 0.3 only):
weave(Pkg.dir("JuliaReport","examples","winston_sample.mdw"),
plotlib="Winston", doctype="pandoc")
Using Gadfly (Julia 0.3 only):
weave(Pkg.dir("JuliaReport","examples","gadfly_sample.mdw"), plotlib="Gadfly")