diff --git a/doc/src/index.md b/doc/src/index.md index 9bee923..305915b 100644 --- a/doc/src/index.md +++ b/doc/src/index.md @@ -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 ``` diff --git a/test/documents/chunk_func_ref.md b/test/documents/chunk_func_ref.md index ce83bf5..f886e6a 100644 --- a/test/documents/chunk_func_ref.md +++ b/test/documents/chunk_func_ref.md @@ -1,4 +1,3 @@ - Functions: ~~~~{.julia} diff --git a/test/documents/chunk_options_ref.md b/test/documents/chunk_options_ref.md index fe1ed18..7e8a653 100644 --- a/test/documents/chunk_options_ref.md +++ b/test/documents/chunk_options_ref.md @@ -1,5 +1,4 @@ - ~~~~{.julia} julia> y= [2, 5, 12] 3-element Array{Int64,1}: diff --git a/test/documents/chunk_options_ref.rst b/test/documents/chunk_options_ref.rst index 274e5e9..074b56b 100644 --- a/test/documents/chunk_options_ref.rst +++ b/test/documents/chunk_options_ref.rst @@ -1,5 +1,4 @@ - .. code-block:: julia julia> y= [2, 5, 12] diff --git a/test/documents/chunk_options_ref.tex b/test/documents/chunk_options_ref.tex index f8a663b..fb0c0b4 100644 --- a/test/documents/chunk_options_ref.tex +++ b/test/documents/chunk_options_ref.tex @@ -1,5 +1,4 @@ - \begin{juliaterm} julia> y= [2, 5, 12] 3-element Array{Int64,1}: diff --git a/test/documents/chunk_options_ref.texminted b/test/documents/chunk_options_ref.texminted index af33f3f..2f31856 100644 --- a/test/documents/chunk_options_ref.texminted +++ b/test/documents/chunk_options_ref.texminted @@ -1,5 +1,4 @@ - \begin{minted}[fontsize=\footnotesize, xleftmargin=0.5em, mathescape]{julia} julia> y= [2, 5, 12] 3-element Array{Int64,1}: diff --git a/test/documents/default_opts_ref.tex b/test/documents/default_opts_ref.tex index b76abf6..ac810e1 100644 --- a/test/documents/default_opts_ref.tex +++ b/test/documents/default_opts_ref.tex @@ -1,6 +1,5 @@ - \begin{juliacode} using Gadfly print(1:10) diff --git a/test/documents/gadfly_formats_test_jssvg_ref.md b/test/documents/gadfly_formats_test_jssvg_ref.md index 655903d..bece159 100644 --- a/test/documents/gadfly_formats_test_jssvg_ref.md +++ b/test/documents/gadfly_formats_test_jssvg_ref.md @@ -1,6 +1,5 @@ - ````julia using Gadfly x = linspace(0, 2π, 200) diff --git a/test/documents/gadfly_formats_test_pandoc_ref.md b/test/documents/gadfly_formats_test_pandoc_ref.md index bbe6db9..2b17609 100644 --- a/test/documents/gadfly_formats_test_pandoc_ref.md +++ b/test/documents/gadfly_formats_test_pandoc_ref.md @@ -1,6 +1,5 @@ - ~~~~{.julia} using Gadfly x = linspace(0, 2π, 200) diff --git a/test/documents/gadfly_formats_test_ps_ref.tex b/test/documents/gadfly_formats_test_ps_ref.tex index eb37a87..a57d4e2 100644 --- a/test/documents/gadfly_formats_test_ps_ref.tex +++ b/test/documents/gadfly_formats_test_ps_ref.tex @@ -1,6 +1,5 @@ - \begin{juliacode} using Gadfly x = linspace(0, 2π, 200) diff --git a/test/documents/gadfly_formats_test_ref.rst b/test/documents/gadfly_formats_test_ref.rst index 08071cf..2730f17 100644 --- a/test/documents/gadfly_formats_test_ref.rst +++ b/test/documents/gadfly_formats_test_ref.rst @@ -1,6 +1,5 @@ - .. code-block:: julia using Gadfly diff --git a/test/documents/gadfly_formats_test_ref.tex b/test/documents/gadfly_formats_test_ref.tex index b308f6d..cb4748a 100644 --- a/test/documents/gadfly_formats_test_ref.tex +++ b/test/documents/gadfly_formats_test_ref.tex @@ -1,6 +1,5 @@ - \begin{juliacode} using Gadfly x = linspace(0, 2π, 200) diff --git a/test/documents/gadfly_formats_test_svg_ref.md b/test/documents/gadfly_formats_test_svg_ref.md index e4bba7f..41fe9b7 100644 --- a/test/documents/gadfly_formats_test_svg_ref.md +++ b/test/documents/gadfly_formats_test_svg_ref.md @@ -1,6 +1,5 @@ - ~~~~{.julia} using Gadfly x = linspace(0, 2π, 200) diff --git a/test/documents/gadfly_formats_test_tikz_ref.tex b/test/documents/gadfly_formats_test_tikz_ref.tex index 40747a4..b688695 100644 --- a/test/documents/gadfly_formats_test_tikz_ref.tex +++ b/test/documents/gadfly_formats_test_tikz_ref.tex @@ -1,6 +1,5 @@ - \begin{juliacode} using Gadfly x = linspace(0, 2π, 200) diff --git a/test/documents/gadfly_markdown_test_ref.md b/test/documents/gadfly_markdown_test_ref.md index 9717f17..a119a46 100644 --- a/test/documents/gadfly_markdown_test_ref.md +++ b/test/documents/gadfly_markdown_test_ref.md @@ -1,5 +1,4 @@ - # Gadfly ````julia diff --git a/test/documents/output/gadfly_formats_test_ref.txt b/test/documents/output/gadfly_formats_test_ref.txt index 3cf7e7d..8c7d0d9 100644 --- a/test/documents/output/gadfly_formats_test_ref.txt +++ b/test/documents/output/gadfly_formats_test_ref.txt @@ -1,6 +1,5 @@ - [source,julia] -------------------------------------- using Gadfly diff --git a/test/documents/pyplot_formats_ref.md b/test/documents/pyplot_formats_ref.md index 656b5a5..a6947a5 100644 --- a/test/documents/pyplot_formats_ref.md +++ b/test/documents/pyplot_formats_ref.md @@ -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 + PyObject julia> y = 20 20 julia> plot(x, cos(x)) 1-element Array{Any,1}: - PyObject + PyObject ```` diff --git a/test/documents/pyplot_formats_ref.rst b/test/documents/pyplot_formats_ref.rst index 2e9373c..9448c87 100644 --- a/test/documents/pyplot_formats_ref.rst +++ b/test/documents/pyplot_formats_ref.rst @@ -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 + PyObject julia> y = 20 20 julia> plot(x, cos(x)) 1-element Array{Any,1}: - PyObject + PyObject diff --git a/test/documents/pyplot_formats_ref.tex b/test/documents/pyplot_formats_ref.tex index 114a06c..5e70b5c 100644 --- a/test/documents/pyplot_formats_ref.tex +++ b/test/documents/pyplot_formats_ref.tex @@ -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 + PyObject julia> y = 20 20 julia> plot(x, cos(x)) 1-element Array{Any,1}: - PyObject + PyObject \end{juliaterm} \includegraphics[width=\linewidth]{figures/pyplot_formats_4_1.pdf} diff --git a/test/documents/test_hold_ref.md b/test/documents/test_hold_ref.md index de8c325..e04356e 100644 --- a/test/documents/test_hold_ref.md +++ b/test/documents/test_hold_ref.md @@ -1,5 +1,4 @@ - # Default ~~~~{.julia}