Add info about depencies #85

pull/86/head
Matti Pastell 2017-03-14 18:08:15 +02:00
parent 1a54d6a557
commit 5513656f35
2 changed files with 15 additions and 3 deletions

View File

@ -3,6 +3,7 @@
[![Build Status](https://travis-ci.org/mpastell/Weave.jl.svg?branch=master)](https://travis-ci.org/mpastell/Weave.jl)
[![Build status](https://ci.appveyor.com/api/projects/status/r97pwi9x8ard6xk6/branch/master?svg=true)](https://ci.appveyor.com/project/mpastell/weave-jl/branch/master)
[![Coverage Status](https://img.shields.io/coveralls/mpastell/Weave.jl.svg)](https://coveralls.io/r/mpastell/Weave.jl?branch=master)
[![](https://img.shields.io/badge/docs-stable-blue.svg)](https://mpastell.github.io/Weave.jl/stable)
Weave is a scientific report generator/literate programming tool
@ -23,6 +24,10 @@ and figures.
* Simple caching of results
* Convert to and from IJulia notebooks
**Note about Julia 0.6**: Weave has been updated to support 0.6, but most of the depencies and plotting libraries have not. Plotting currently (14th March 2017) only works using PyPlot master.
![Weave code and output](http://mpastell.com/images/weave_demo.png)
## Installation
You can install the latest release using Julia package manager:
@ -36,6 +41,9 @@ Pkg.add("Weave")
Run from julia using Gadfly for plots:
```julia
#First add depencies for the example
Pkg.add.(["Cairo", "Fontconfig", "Gadfly"])
#Use Weave
using Weave
weave(Pkg.dir("Weave","examples","gadfly_sample.mdw"))
```
@ -47,8 +55,6 @@ weave(Pkg.dir("Weave","examples","gadfly_md_sample.jmd"), informat="markdown",
out_path = :pwd, doctype = "md2html")
```
![Weave code and output](http://mpastell.com/images/weave_demo.png)
## Documentation
Documenter.jl with MKDocs generated documentation:

View File

@ -14,7 +14,13 @@ output in different formats:
*Producing pdf output requires that you have pdflatex installed.*
You can Weave the files to your working directory using:
Add depencies for the example if needed:
```julia
Pkg.add.(["Cairo", "Fontconfig", "Gadfly"])
```
Weave the files to your working directory using:
```julia
using Weave