mirror of https://github.com/mpastell/Weave.jl
Fix changes to tests caused by whitespace fix in reader
parent
65a10335a3
commit
1d2c108fa9
|
@ -72,6 +72,8 @@ pandoc: Pandoc markdown
|
||||||
rst: reStructuredText and Sphinx
|
rst: reStructuredText and Sphinx
|
||||||
texminted: Latex using minted for highlighting
|
texminted: Latex using minted for highlighting
|
||||||
github: Github markdown
|
github: Github markdown
|
||||||
|
md2html: Markdown to HTML (requires Pandoc)
|
||||||
|
md2pdf: Markdown to pdf (requires Pandoc and xelatex)
|
||||||
asciidoc: AsciiDoc
|
asciidoc: AsciiDoc
|
||||||
tex: Latex with custom code environments
|
tex: Latex with custom code environments
|
||||||
```
|
```
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
Functions:
|
Functions:
|
||||||
|
|
||||||
~~~~{.julia}
|
~~~~{.julia}
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
|
|
||||||
|
|
||||||
~~~~{.julia}
|
~~~~{.julia}
|
||||||
julia> y= [2, 5, 12]
|
julia> y= [2, 5, 12]
|
||||||
3-element Array{Int64,1}:
|
3-element Array{Int64,1}:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
|
|
||||||
|
|
||||||
.. code-block:: julia
|
.. code-block:: julia
|
||||||
|
|
||||||
julia> y= [2, 5, 12]
|
julia> y= [2, 5, 12]
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
|
|
||||||
|
|
||||||
\begin{juliaterm}
|
\begin{juliaterm}
|
||||||
julia> y= [2, 5, 12]
|
julia> y= [2, 5, 12]
|
||||||
3-element Array{Int64,1}:
|
3-element Array{Int64,1}:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
|
|
||||||
|
|
||||||
\begin{minted}[fontsize=\footnotesize, xleftmargin=0.5em, mathescape]{julia}
|
\begin{minted}[fontsize=\footnotesize, xleftmargin=0.5em, mathescape]{julia}
|
||||||
julia> y= [2, 5, 12]
|
julia> y= [2, 5, 12]
|
||||||
3-element Array{Int64,1}:
|
3-element Array{Int64,1}:
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
\begin{juliacode}
|
\begin{juliacode}
|
||||||
using Gadfly
|
using Gadfly
|
||||||
print(1:10)
|
print(1:10)
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
````julia
|
````julia
|
||||||
using Gadfly
|
using Gadfly
|
||||||
x = linspace(0, 2π, 200)
|
x = linspace(0, 2π, 200)
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
~~~~{.julia}
|
~~~~{.julia}
|
||||||
using Gadfly
|
using Gadfly
|
||||||
x = linspace(0, 2π, 200)
|
x = linspace(0, 2π, 200)
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
\begin{juliacode}
|
\begin{juliacode}
|
||||||
using Gadfly
|
using Gadfly
|
||||||
x = linspace(0, 2π, 200)
|
x = linspace(0, 2π, 200)
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.. code-block:: julia
|
.. code-block:: julia
|
||||||
|
|
||||||
using Gadfly
|
using Gadfly
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
\begin{juliacode}
|
\begin{juliacode}
|
||||||
using Gadfly
|
using Gadfly
|
||||||
x = linspace(0, 2π, 200)
|
x = linspace(0, 2π, 200)
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
~~~~{.julia}
|
~~~~{.julia}
|
||||||
using Gadfly
|
using Gadfly
|
||||||
x = linspace(0, 2π, 200)
|
x = linspace(0, 2π, 200)
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
\begin{juliacode}
|
\begin{juliacode}
|
||||||
using Gadfly
|
using Gadfly
|
||||||
x = linspace(0, 2π, 200)
|
x = linspace(0, 2π, 200)
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
|
|
||||||
|
|
||||||
# Gadfly
|
# Gadfly
|
||||||
|
|
||||||
````julia
|
````julia
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[source,julia]
|
[source,julia]
|
||||||
--------------------------------------
|
--------------------------------------
|
||||||
using Gadfly
|
using Gadfly
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
````julia
|
````julia
|
||||||
using PyPlot
|
using PyPlot
|
||||||
x = linspace(0, 2π, 200)
|
x = linspace(0, 2π, 200)
|
||||||
|
@ -29,13 +28,13 @@ linspace(0.0,6.283185307179586,200)
|
||||||
julia> plot(x, sin(x))
|
julia> plot(x, sin(x))
|
||||||
|
|
||||||
1-element Array{Any,1}:
|
1-element Array{Any,1}:
|
||||||
PyObject <matplotlib.lines.Line2D object at 0x7f11ccf03a10>
|
PyObject <matplotlib.lines.Line2D object at 0x7fe56d2dfef0>
|
||||||
julia> y = 20
|
julia> y = 20
|
||||||
|
|
||||||
20
|
20
|
||||||
julia> plot(x, cos(x))
|
julia> plot(x, cos(x))
|
||||||
1-element Array{Any,1}:
|
1-element Array{Any,1}:
|
||||||
PyObject <matplotlib.lines.Line2D object at 0x7f11ccf03410>
|
PyObject <matplotlib.lines.Line2D object at 0x7fe56d2e4fd0>
|
||||||
````
|
````
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.. code-block:: julia
|
.. code-block:: julia
|
||||||
|
|
||||||
using PyPlot
|
using PyPlot
|
||||||
|
@ -41,13 +40,13 @@ linspace(0.0,6.283185307179586,200)
|
||||||
julia> plot(x, sin(x))
|
julia> plot(x, sin(x))
|
||||||
|
|
||||||
1-element Array{Any,1}:
|
1-element Array{Any,1}:
|
||||||
PyObject <matplotlib.lines.Line2D object at 0x7f995cdeae90>
|
PyObject <matplotlib.lines.Line2D object at 0x7fe5a9e74b70>
|
||||||
julia> y = 20
|
julia> y = 20
|
||||||
|
|
||||||
20
|
20
|
||||||
julia> plot(x, cos(x))
|
julia> plot(x, cos(x))
|
||||||
1-element Array{Any,1}:
|
1-element Array{Any,1}:
|
||||||
PyObject <matplotlib.lines.Line2D object at 0x7f995cdf9b90>
|
PyObject <matplotlib.lines.Line2D object at 0x7fe5a9e7acf8>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
\begin{juliacode}
|
\begin{juliacode}
|
||||||
using PyPlot
|
using PyPlot
|
||||||
x = linspace(0, 2π, 200)
|
x = linspace(0, 2π, 200)
|
||||||
|
@ -36,13 +35,13 @@ linspace(0.0,6.283185307179586,200)
|
||||||
julia> plot(x, sin(x))
|
julia> plot(x, sin(x))
|
||||||
|
|
||||||
1-element Array{Any,1}:
|
1-element Array{Any,1}:
|
||||||
PyObject <matplotlib.lines.Line2D object at 0x7f84f5e74750>
|
PyObject <matplotlib.lines.Line2D object at 0x7fe56f7ac978>
|
||||||
julia> y = 20
|
julia> y = 20
|
||||||
|
|
||||||
20
|
20
|
||||||
julia> plot(x, cos(x))
|
julia> plot(x, cos(x))
|
||||||
1-element Array{Any,1}:
|
1-element Array{Any,1}:
|
||||||
PyObject <matplotlib.lines.Line2D object at 0x7f84f5e74950>
|
PyObject <matplotlib.lines.Line2D object at 0x7fe56f7b29b0>
|
||||||
\end{juliaterm}
|
\end{juliaterm}
|
||||||
\includegraphics[width=\linewidth]{figures/pyplot_formats_4_1.pdf}
|
\includegraphics[width=\linewidth]{figures/pyplot_formats_4_1.pdf}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
|
|
||||||
|
|
||||||
# Default
|
# Default
|
||||||
|
|
||||||
~~~~{.julia}
|
~~~~{.julia}
|
||||||
|
|
Loading…
Reference in New Issue