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
|
||||
texminted: Latex using minted for highlighting
|
||||
github: Github markdown
|
||||
md2html: Markdown to HTML (requires Pandoc)
|
||||
md2pdf: Markdown to pdf (requires Pandoc and xelatex)
|
||||
asciidoc: AsciiDoc
|
||||
tex: Latex with custom code environments
|
||||
```
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
Functions:
|
||||
|
||||
~~~~{.julia}
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
|
||||
|
||||
~~~~{.julia}
|
||||
julia> y= [2, 5, 12]
|
||||
3-element Array{Int64,1}:
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
|
||||
|
||||
.. code-block:: julia
|
||||
|
||||
julia> y= [2, 5, 12]
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
|
||||
|
||||
\begin{juliaterm}
|
||||
julia> y= [2, 5, 12]
|
||||
3-element Array{Int64,1}:
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
|
||||
|
||||
\begin{minted}[fontsize=\footnotesize, xleftmargin=0.5em, mathescape]{julia}
|
||||
julia> y= [2, 5, 12]
|
||||
3-element Array{Int64,1}:
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
|
||||
|
||||
|
||||
\begin{juliacode}
|
||||
using Gadfly
|
||||
print(1:10)
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
|
||||
|
||||
|
||||
````julia
|
||||
using Gadfly
|
||||
x = linspace(0, 2π, 200)
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
|
||||
|
||||
|
||||
~~~~{.julia}
|
||||
using Gadfly
|
||||
x = linspace(0, 2π, 200)
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
|
||||
|
||||
|
||||
\begin{juliacode}
|
||||
using Gadfly
|
||||
x = linspace(0, 2π, 200)
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
|
||||
|
||||
|
||||
.. code-block:: julia
|
||||
|
||||
using Gadfly
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
|
||||
|
||||
|
||||
\begin{juliacode}
|
||||
using Gadfly
|
||||
x = linspace(0, 2π, 200)
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
|
||||
|
||||
|
||||
~~~~{.julia}
|
||||
using Gadfly
|
||||
x = linspace(0, 2π, 200)
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
|
||||
|
||||
|
||||
\begin{juliacode}
|
||||
using Gadfly
|
||||
x = linspace(0, 2π, 200)
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
|
||||
|
||||
# Gadfly
|
||||
|
||||
````julia
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
|
||||
|
||||
|
||||
[source,julia]
|
||||
--------------------------------------
|
||||
using Gadfly
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
````julia
|
||||
using PyPlot
|
||||
x = linspace(0, 2π, 200)
|
||||
|
@ -29,13 +28,13 @@ linspace(0.0,6.283185307179586,200)
|
|||
julia> plot(x, sin(x))
|
||||
|
||||
1-element Array{Any,1}:
|
||||
PyObject <matplotlib.lines.Line2D object at 0x7f11ccf03a10>
|
||||
PyObject <matplotlib.lines.Line2D object at 0x7fe56d2dfef0>
|
||||
julia> y = 20
|
||||
|
||||
20
|
||||
julia> plot(x, cos(x))
|
||||
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
|
||||
|
||||
using PyPlot
|
||||
|
@ -41,13 +40,13 @@ linspace(0.0,6.283185307179586,200)
|
|||
julia> plot(x, sin(x))
|
||||
|
||||
1-element Array{Any,1}:
|
||||
PyObject <matplotlib.lines.Line2D object at 0x7f995cdeae90>
|
||||
PyObject <matplotlib.lines.Line2D object at 0x7fe5a9e74b70>
|
||||
julia> y = 20
|
||||
|
||||
20
|
||||
julia> plot(x, cos(x))
|
||||
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}
|
||||
using PyPlot
|
||||
x = linspace(0, 2π, 200)
|
||||
|
@ -36,13 +35,13 @@ linspace(0.0,6.283185307179586,200)
|
|||
julia> plot(x, sin(x))
|
||||
|
||||
1-element Array{Any,1}:
|
||||
PyObject <matplotlib.lines.Line2D object at 0x7f84f5e74750>
|
||||
PyObject <matplotlib.lines.Line2D object at 0x7fe56f7ac978>
|
||||
julia> y = 20
|
||||
|
||||
20
|
||||
julia> plot(x, cos(x))
|
||||
1-element Array{Any,1}:
|
||||
PyObject <matplotlib.lines.Line2D object at 0x7f84f5e74950>
|
||||
PyObject <matplotlib.lines.Line2D object at 0x7fe56f7b29b0>
|
||||
\end{juliaterm}
|
||||
\includegraphics[width=\linewidth]{figures/pyplot_formats_4_1.pdf}
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
|
||||
|
||||
# Default
|
||||
|
||||
~~~~{.julia}
|
||||
|
|
Loading…
Reference in New Issue