Weave.jl/README.md

46 lines
1.2 KiB
Markdown
Raw Normal View History

2014-12-01 21:41:12 +01:00
# JuliaReport
[![Build Status](https://travis-ci.org/mpastell/JuliaReport.jl.svg?branch=master)](https://travis-ci.org/mpastell/JuliaReport.jl)
JuliaReport is a scientific report generator/literate programming tool
for Julia. It is based on [Pweave](http://mpastell.com/pweave) and
resembles Knitr and Sweave. Actually JuliaReport relies on Pweave for
document parsing and formatting.
You'll need latest Pweave from Github: <https://github.com/mpastell/Pweave.>
**Current features**
* Noweb syntax for documents.
* Execute code as terminal or "script" chunks.
* Capture PyPlot figures.
* All Pweave output formats supported. Including, Latex, Markdown, Sphinx etc.
**Not implemented**
* Script reader
* Inline code
* Caching
## Chunk options
2014-12-02 09:55:32 +01:00
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.
2014-12-01 21:41:12 +01:00
2014-12-02 09:55:32 +01:00
<<term=true; fig=false>>=
2014-12-01 21:41:12 +01:00
## Usage
Run from julia:
using JuliaReport
weave(Pkg.dir("JuliaReport","examples","julia_sample.mdw")
2014-12-02 09:55:32 +01:00
Or using Winston for plots (Julia 0.3 only):
weave(Pkg.dir("JuliaReport","examples","winston_sample.mdw"), plotlib="Winston")