Update build

gh-pages
Matti Pastell 2017-03-15 17:31:13 +02:00
parent 2dde5a0280
commit 853b28ade4
17 changed files with 63 additions and 52 deletions

View File

@ -4,7 +4,7 @@
<meta charset="UTF-8">
</script>
<title>Weave.jl</title>
<meta http-equiv="refresh" content="0; url=http://weavejl.mpastell.com/stable" />
<meta http-equiv="refresh" content="0; url=http://weavejl.mpastell.com/stable/" />
</head>
<body>
</body>

View File

@ -135,7 +135,7 @@
<strong>
Weave.jl
<span class="version">
v0.4.0
v0.4.1
</span>
</strong>
@ -151,7 +151,7 @@
<ul class="repo">
<li class="repo-download">
<a href="https://github.com/mpastell/Weave.jl/archive/v0.4.0.zip" target="_blank" title="Download" data-action="download">
<a href="https://github.com/mpastell/Weave.jl/archive/v0.4.1.zip" target="_blank" title="Download" data-action="download">
<i class="icon icon-download"></i> Download
</a>
</li>

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 50 KiB

File diff suppressed because one or more lines are too long

View File

@ -4,6 +4,8 @@ author : Matti Pastell
date : 13th December 2016
---
# Intro
This a sample [Julia](http://julialang.org/) markdown document that can
be executed using [Weave.jl](https://github.com/mpastell/Weave.jl).
@ -35,7 +37,7 @@ weave(Pkg.dir("Weave","examples","gadfly_md_sample.jmd"), informat="markdown",
The documents will be written to the Julia working directory when you
use the `out_path = :pwd`.
## Capturing code
# Capturing code
The basic code chunk will be run with default options and the code and
output will be captured.
@ -64,7 +66,7 @@ syntax from the source document):
plot(y = cumsum(randn(1000, 1)), Geom.line)
```
## Whats next
# Whats next
Read the documentation:

Binary file not shown.

View File

@ -1,3 +1,11 @@
---
title : Intro to Weave.jl with Gadfly
author : Matti Pastell
date : 13th December 2016
---
# Intro
This a sample [Julia](http://julialang.org/) markdown document that can
be executed using [Weave.jl](https://github.com/mpastell/Weave.jl).
@ -11,6 +19,7 @@ You can create markdown output or pdf (with xelatex) and HTML directly using
the weave command as follows:
~~~~{.julia}
using Weave
#Markdown
weave(Pkg.dir("Weave","examples","gadfly_md_sample.jmd"), informat="markdown",
@ -32,7 +41,7 @@ weave(Pkg.dir("Weave","examples","gadfly_md_sample.jmd"), informat="markdown",
The documents will be written to the Julia working directory when you
use the `out_path = :pwd`.
## Capturing code
# Capturing code
The basic code chunk will be run with default options and the code and
output will be captured.
@ -65,17 +74,18 @@ using chunk options. Here is an example of a chunk that behaves like a repl.
~~~~{.julia}
julia> x = 1:10
1:10
julia> d = Dict("Weave" => "testing")
julia> d = Dict("Weave" => "testing")
Dict{String,String} with 1 entry:
"Weave" => "testing"
julia> y = [2, 4 ,8]
3-element Array{Int64,1}:
2
4
8
~~~~~~~~~~~~~
@ -90,7 +100,7 @@ syntax from the source document):
## Whats next
# Whats next
Read the documentation:

View File

@ -135,7 +135,7 @@
<strong>
Weave.jl
<span class="version">
v0.4.0
v0.4.1
</span>
</strong>
@ -151,7 +151,7 @@
<ul class="repo">
<li class="repo-download">
<a href="https://github.com/mpastell/Weave.jl/archive/v0.4.0.zip" target="_blank" title="Download" data-action="download">
<a href="https://github.com/mpastell/Weave.jl/archive/v0.4.1.zip" target="_blank" title="Download" data-action="download">
<i class="icon icon-download"></i> Download
</a>
</li>

View File

@ -135,7 +135,7 @@
<strong>
Weave.jl
<span class="version">
v0.4.0
v0.4.1
</span>
</strong>
@ -151,7 +151,7 @@
<ul class="repo">
<li class="repo-download">
<a href="https://github.com/mpastell/Weave.jl/archive/v0.4.0.zip" target="_blank" title="Download" data-action="download">
<a href="https://github.com/mpastell/Weave.jl/archive/v0.4.1.zip" target="_blank" title="Download" data-action="download">
<i class="icon icon-download"></i> Download
</a>
</li>
@ -269,7 +269,12 @@
<li>pdf: <a href="../examples/gadfly_md_sample.pdf">gadfly_md_sample.pdf</a></li>
</ul>
<p><em>Producing pdf output requires that you have pdflatex installed.</em></p>
<p>You can Weave the files to your working directory using:</p>
<p>Add depencies for the example if needed:</p>
<div class="code"><pre><span></span><span class="n">Pkg</span><span class="o">.</span><span class="n">add</span><span class="o">.</span><span class="p">([</span><span class="s">&quot;Cairo&quot;</span><span class="p">,</span> <span class="s">&quot;Fontconfig&quot;</span><span class="p">,</span> <span class="s">&quot;Gadfly&quot;</span><span class="p">])</span>
</pre></div>
<p>Weave the files to your working directory using:</p>
<div class="code"><pre><span></span><span class="k">using</span> <span class="n">Weave</span>
<span class="c">#Markdown</span>
<span class="n">weave</span><span class="p">(</span><span class="n">Pkg</span><span class="o">.</span><span class="n">dir</span><span class="p">(</span><span class="s">&quot;Weave&quot;</span><span class="p">,</span><span class="s">&quot;examples&quot;</span><span class="p">,</span><span class="s">&quot;gadfly_md_sample.jmd&quot;</span><span class="p">),</span> <span class="n">out_path</span> <span class="o">=</span> <span class="o">:</span><span class="n">pwd</span><span class="p">,</span>

View File

@ -135,7 +135,7 @@
<strong>
Weave.jl
<span class="version">
v0.4.0
v0.4.1
</span>
</strong>
@ -151,7 +151,7 @@
<ul class="repo">
<li class="repo-download">
<a href="https://github.com/mpastell/Weave.jl/archive/v0.4.0.zip" target="_blank" title="Download" data-action="download">
<a href="https://github.com/mpastell/Weave.jl/archive/v0.4.1.zip" target="_blank" title="Download" data-action="download">
<i class="icon icon-download"></i> Download
</a>
</li>
@ -276,7 +276,7 @@
<ul>
<li>Noweb, markdown or script syntax for input documents.</li>
<li>Execute code as terminal or "script" chunks.</li>
<li>Capture Plots, Gadfly, PyPlot and Winston figures.</li>
<li>Capture Plots, Gadfly and PyPlot figures.</li>
<li>Supports LaTex, Pandoc, Github markdown, MultiMarkdown, Asciidoc and reStructuredText output</li>
<li>Publish markdown directly to html and pdf using julia or Pandoc markdown.</li>
<li>Simple caching of results</li>

File diff suppressed because one or more lines are too long

View File

@ -135,7 +135,7 @@
<strong>
Weave.jl
<span class="version">
v0.4.0
v0.4.1
</span>
</strong>
@ -151,7 +151,7 @@
<ul class="repo">
<li class="repo-download">
<a href="https://github.com/mpastell/Weave.jl/archive/v0.4.0.zip" target="_blank" title="Download" data-action="download">
<a href="https://github.com/mpastell/Weave.jl/archive/v0.4.1.zip" target="_blank" title="Download" data-action="download">
<i class="icon icon-download"></i> Download
</a>
</li>

View File

@ -135,7 +135,7 @@
<strong>
Weave.jl
<span class="version">
v0.4.0
v0.4.1
</span>
</strong>
@ -151,7 +151,7 @@
<ul class="repo">
<li class="repo-download">
<a href="https://github.com/mpastell/Weave.jl/archive/v0.4.0.zip" target="_blank" title="Download" data-action="download">
<a href="https://github.com/mpastell/Weave.jl/archive/v0.4.1.zip" target="_blank" title="Download" data-action="download">
<i class="icon icon-download"></i> Download
</a>
</li>

View File

@ -4,7 +4,7 @@
<url>
<loc>/</loc>
<lastmod>2017-03-06</lastmod>
<lastmod>2017-03-15</lastmod>
<changefreq>daily</changefreq>
</url>
@ -12,7 +12,7 @@
<url>
<loc>/getting_started/</loc>
<lastmod>2017-03-06</lastmod>
<lastmod>2017-03-15</lastmod>
<changefreq>daily</changefreq>
</url>
@ -20,7 +20,7 @@
<url>
<loc>/usage/</loc>
<lastmod>2017-03-06</lastmod>
<lastmod>2017-03-15</lastmod>
<changefreq>daily</changefreq>
</url>
@ -28,7 +28,7 @@
<url>
<loc>/publish/</loc>
<lastmod>2017-03-06</lastmod>
<lastmod>2017-03-15</lastmod>
<changefreq>daily</changefreq>
</url>
@ -36,7 +36,7 @@
<url>
<loc>/chunk_options/</loc>
<lastmod>2017-03-06</lastmod>
<lastmod>2017-03-15</lastmod>
<changefreq>daily</changefreq>
</url>
@ -44,7 +44,7 @@
<url>
<loc>/notebooks/</loc>
<lastmod>2017-03-06</lastmod>
<lastmod>2017-03-15</lastmod>
<changefreq>daily</changefreq>
</url>
@ -52,7 +52,7 @@
<url>
<loc>/function_index/</loc>
<lastmod>2017-03-06</lastmod>
<lastmod>2017-03-15</lastmod>
<changefreq>daily</changefreq>
</url>

View File

@ -135,7 +135,7 @@
<strong>
Weave.jl
<span class="version">
v0.4.0
v0.4.1
</span>
</strong>
@ -151,7 +151,7 @@
<ul class="repo">
<li class="repo-download">
<a href="https://github.com/mpastell/Weave.jl/archive/v0.4.0.zip" target="_blank" title="Download" data-action="download">
<a href="https://github.com/mpastell/Weave.jl/archive/v0.4.1.zip" target="_blank" title="Download" data-action="download">
<i class="icon icon-download"></i> Download
</a>
</li>
@ -355,7 +355,7 @@
<li><code>doctype</code>: :auto = set based on file extension or specify one of the supported formats. See <code>list_out_formats()</code></li>
<li><code>plotlib</code>: <code>"PyPlot"</code>, <code>"Gadfly"</code> or <code>nothing</code></li>
<li><code>informat</code>: :auto = set based on file extension or set to <code>"noweb"</code>, <code>"markdown"</code> or <code>script</code></li>
<li><code>out_path</code>: Path where the output is generated. Can be: <code>:doc</code>: Path of the source document, <code>:pwd</code>: Julia working directory, <code>"somepath"</code>: output directory as a String e.g <code>"/home/mpastell/weaveout"</code> or filename as string e.g. ~/outpath/outfile.tex.</li>
<li><code>out_path</code>: Path where the output is generated. Can be: <code>:doc</code>: Path of the source document, <code>:pwd</code>: Julia working directory, <code>"somepath"</code>: output directory as a String e.g <code>"/home/mpastell/weaveout"</code> or filename as string e.g. ~/outpath/outfile.tex.</li>
<li><code>args</code>: dictionary of arguments to pass to document. Available as WEAVE_ARGS</li>
<li><code>fig_path</code>: where figures will be generated, relative to out_path</li>
<li><code>fig_ext</code>: Extension for saved figures e.g. <code>".pdf"</code>, <code>".png"</code>. Default setting depends on <code>doctype</code>.</li>