Updated Readme

pull/17/head
Matti Pastell 2014-12-05 18:58:15 +02:00
parent e6c7d5b59d
commit 99d7a5ebb7
2 changed files with 40 additions and 28 deletions

View File

@ -46,4 +46,16 @@ Using Gadfly (Julia 0.3 only):
weave(Pkg.dir("JuliaReport","examples","gadfly_sample.mdw"), plotlib="Gadfly")
The signature of weave functions is:
function weave(source ; doctype = "pandoc", plotlib="PyPlot", informat="noweb", fig_path = "figures", fig_ext = nothing)
**Note:** Run JuliaReport from terminal and not using IJulia, Juno or ESS, they tend to mess with capturing output.
## Contributing
I will probably add new features to JuliaReport when I need them myself or if they are requested and not too difficult to implement. You can contribute by opening issues on Github or implementing things yourself and making a pull request. I'd also appreciate example documents written using JuliaReport to add to examples.
## Contributors
Douglas Bates has contributed a number of important fixes and comments.

View File

@ -1,33 +1,33 @@
const rcParams =
@compat Dict{Symbol,Any}(
:plotlib => "PyPlot",
:storeresults => false,
:chunk_defaults =>
@compat Dict{Symbol,Any}(:plotlib => "PyPlot",
:storeresults => false,
:chunk_defaults =>
Dict{Symbol,Any}(
:echo=> true,
:results=> "markup",
:fig=> true,
:include=> true,
:eval => true,
:fig_cap=> false,
#Size in inches
:fig_width => 6,
:fig_height => 4,
:fig_path=> "figures",
:dpi => 96,
:term=> false,
:name=> nothing,
:wrap=> true,
:engine=> "julia",
:option_string=> ""
#Defined in formats
:fig_ext => nothing,
:fig_pos=> nothing,
:fig_env=> nothing,
:out_width=> nothing,
:out_height=> nothing,
)
)
:echo=> true,
:results=> "markup",
:fig=> true,
:include=> true,
:eval => true,
:fig_cap=> false,
#Size in inches
:fig_width => 6,
:fig_height => 4,
:fig_path=> "figures",
:dpi => 96,
:term=> false,
:name=> nothing,
:wrap=> true,
:engine=> "julia",
:option_string=> "",
#Defined in formats
:fig_ext => nothing,
:fig_pos=> nothing,
:fig_env=> nothing,
:out_width=> nothing,
:out_height=> nothing,
)
)