Skip to content

Commit a4891b0

Browse files
committed
Fix format tests
1 parent 96f4fd0 commit a4891b0

21 files changed

+19
-223
lines changed

test/documents/default_opts_ref.tex

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1-
2-
31
\begin{juliacode}
42
using Gadfly
53
print(1:10)
6-
74
\end{juliacode}
85
\begin{juliaout}
96
1:10
@@ -14,8 +11,6 @@
1411
\end{juliacode}
1512
\includegraphics[width=\linewidth]{figures/default_opts_1_1.pdf}
1613

17-
18-
1914
\begin{juliacode}
2015
import Weave
2116
Weave.set_chunk_defaults(Dict{Symbol, Any}(
@@ -24,11 +19,8 @@
2419
))
2520
\end{juliacode}
2621

27-
28-
2922
\begin{juliacode}
3023
print(1:10)
31-
3224
\end{juliacode}
3325
1:10
3426

@@ -38,14 +30,8 @@
3830
\includegraphics[width=\0.5linewidth]{figures/default_opts_3_1.pdf}
3931

4032

41-
42-
43-
44-
45-
4633
\begin{juliacode}
4734
print(1:10)
48-
4935
\end{juliacode}
5036
\begin{juliaout}
5137
1:10

test/documents/gadfly_formats_test_jssvg_ref.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
2-
31
````julia
42
using Gadfly
53
x = linspace(0, 2π, 200)
@@ -9,16 +7,10 @@ plot(x=x, y = sin(x), Geom.line)
97

108
![sin(x) function.](figures/gadfly_formats_test_sin_fun_1.js.svg)
119

12-
13-
1410
![cos(x) function.](figures/gadfly_formats_test_2_1.js.svg)
1511

16-
17-
1812
![](figures/gadfly_formats_test_cos2_fun_1.js.svg)
1913

20-
21-
2214
````julia
2315
julia> x = linspace(0, 2π, 200)
2416

@@ -41,12 +33,9 @@ julia> plot(x=x, y = cos(x), Geom.line)
4133

4234
![](figures/gadfly_formats_test_4_2.js.svg)
4335

44-
45-
4636
````julia
4737
x = linspace(0, 2π, 200)
4838
plot(x=x, y = sin(x), Geom.line)
49-
5039
````
5140

5241

test/documents/gadfly_formats_test_mmd_ref.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
2-
31
````julia
42
using Gadfly
53
x = linspace(0, 2π, 200)
@@ -11,20 +9,14 @@ plot(x=x, y = sin(x), Geom.line)
119

1210
[figures/gadfly_formats_test_sin_fun_1.png]: figures/gadfly_formats_test_sin_fun_1.png
1311

14-
15-
1612
![cos(x) function.][figures/gadfly_formats_test_2_1.png]
1713

1814
[figures/gadfly_formats_test_2_1.png]: figures/gadfly_formats_test_2_1.png
1915

20-
21-
2216
![][figures/gadfly_formats_test_cos2_fun_1.png]
2317

2418
[figures/gadfly_formats_test_cos2_fun_1.png]: figures/gadfly_formats_test_cos2_fun_1.png
2519

26-
27-
2820
````julia
2921
julia> x = linspace(0, 2π, 200)
3022

@@ -51,12 +43,9 @@ julia> plot(x=x, y = cos(x), Geom.line)
5143

5244
[figures/gadfly_formats_test_4_2.png]: figures/gadfly_formats_test_4_2.png
5345

54-
55-
5646
````julia
5747
x = linspace(0, 2π, 200)
5848
plot(x=x, y = sin(x), Geom.line)
59-
6049
````
6150

6251

test/documents/gadfly_formats_test_pandoc_ref.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
2-
31
~~~~{.julia}
42
using Gadfly
53
x = linspace(0, 2π, 200)
@@ -9,17 +7,11 @@ plot(x=x, y = sin(x), Geom.line)
97
108
![sin(x) function.](figures/gadfly_formats_test_sin_fun_1.png)
119
12-
13-
1410
![cos(x) function.](figures/gadfly_formats_test_2_1.png)
1511
16-
17-
1812
![](figures/gadfly_formats_test_cos2_fun_1.png)\
1913
2014
21-
22-
2315
~~~~{.julia}
2416
julia> x = linspace(0, 2π, 200)
2517
@@ -44,12 +36,9 @@ julia> plot(x=x, y = cos(x), Geom.line)
4436
![](figures/gadfly_formats_test_4_2.png)\
4537
4638
47-
48-
4939
~~~~{.julia}
5040
x = linspace(0, 2π, 200)
5141
plot(x=x, y = sin(x), Geom.line)
52-
5342
~~~~~~~~~~~~~
5443
5544

test/documents/gadfly_formats_test_ps_ref.tex

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
2-
31
\begin{juliacode}
42
using Gadfly
53
x = linspace(0, 2π, 200)
@@ -12,20 +10,14 @@
1210
\label{fig:sin_fun}
1311
\end{figure}
1412

15-
16-
1713
\begin{figure}[htpb]
1814
\center
1915
\includegraphics[width=\linewidth]{figures/gadfly_formats_test_2_1.ps}
2016
\caption{cos(x) function.}
2117
\end{figure}
2218

23-
24-
2519
\includegraphics[width=\linewidth]{figures/gadfly_formats_test_cos2_fun_1.ps}
2620

27-
28-
2921
\begin{juliaterm}
3022
julia> x = linspace(0, 2π, 200)
3123

@@ -44,12 +36,9 @@
4436
\end{juliaterm}
4537
\includegraphics[width=\linewidth]{figures/gadfly_formats_test_4_2.ps}
4638

47-
48-
4939
\begin{juliacode}
5040
x = linspace(0, 2π, 200)
5141
plot(x=x, y = sin(x), Geom.line)
52-
5342
\end{juliacode}
5443
\includegraphics[width=15cm]{figures/gadfly_formats_test_5_1.ps}
5544

test/documents/gadfly_formats_test_ref.rst

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
2-
31
.. code-block:: julia
42
53
using Gadfly
@@ -14,22 +12,16 @@
1412
sin(x) function.
1513

1614

17-
18-
1915
.. figure:: figures/gadfly_formats_test_2_1.png
2016
:width: 15 cm
2117

2218
cos(x) function.
2319

2420

25-
26-
2721
.. image:: figures/gadfly_formats_test_cos2_fun_1.png
2822
:width: 15 cm
2923

3024

31-
32-
3325
.. code-block:: julia
3426
3527
julia> x = linspace(0, 2π, 200)
@@ -58,13 +50,10 @@ julia> plot(x=x, y = cos(x), Geom.line)
5850
:width: 15 cm
5951

6052

61-
62-
6353
.. code-block:: julia
6454
6555
x = linspace(0, 2π, 200)
6656
plot(x=x, y = sin(x), Geom.line)
67-
6857
6958
7059

test/documents/gadfly_formats_test_ref.tex

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
2-
31
\begin{juliacode}
42
using Gadfly
53
x = linspace(0, 2π, 200)
@@ -12,20 +10,14 @@
1210
\label{fig:sin_fun}
1311
\end{figure}
1412

15-
16-
1713
\begin{figure}[htpb]
1814
\center
1915
\includegraphics[width=\linewidth]{figures/gadfly_formats_test_2_1.pdf}
2016
\caption{cos(x) function.}
2117
\end{figure}
2218

23-
24-
2519
\includegraphics[width=\linewidth]{figures/gadfly_formats_test_cos2_fun_1.pdf}
2620

27-
28-
2921
\begin{juliaterm}
3022
julia> x = linspace(0, 2π, 200)
3123

@@ -44,12 +36,9 @@
4436
\end{juliaterm}
4537
\includegraphics[width=\linewidth]{figures/gadfly_formats_test_4_2.pdf}
4638

47-
48-
4939
\begin{juliacode}
5040
x = linspace(0, 2π, 200)
5141
plot(x=x, y = sin(x), Geom.line)
52-
5342
\end{juliacode}
5443
\includegraphics[width=15cm]{figures/gadfly_formats_test_5_1.pdf}
5544

test/documents/gadfly_formats_test_svg_ref.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
2-
31
~~~~{.julia}
42
using Gadfly
53
x = linspace(0, 2π, 200)
@@ -9,17 +7,11 @@ plot(x=x, y = sin(x), Geom.line)
97
108
![sin(x) function.](figures/gadfly_formats_test_sin_fun_1.svg)
119
12-
13-
1410
![cos(x) function.](figures/gadfly_formats_test_2_1.svg)
1511
16-
17-
1812
![](figures/gadfly_formats_test_cos2_fun_1.svg)\
1913
2014
21-
22-
2315
~~~~{.julia}
2416
julia> x = linspace(0, 2π, 200)
2517
@@ -44,12 +36,9 @@ julia> plot(x=x, y = cos(x), Geom.line)
4436
![](figures/gadfly_formats_test_4_2.svg)\
4537
4638
47-
48-
4939
~~~~{.julia}
5040
x = linspace(0, 2π, 200)
5141
plot(x=x, y = sin(x), Geom.line)
52-
5342
~~~~~~~~~~~~~
5443
5544

test/documents/gadfly_formats_test_tikz_ref.tex

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
2-
31
\begin{juliacode}
42
using Gadfly
53
x = linspace(0, 2π, 200)
@@ -12,20 +10,14 @@
1210
\label{fig:sin_fun}
1311
\end{figure}
1412

15-
16-
1713
\begin{figure}[htpb]
1814
\center
1915
\resizebox{\linewidth}{!}{\input{figures/gadfly_formats_test_2_1.tex}}
2016
\caption{cos(x) function.}
2117
\end{figure}
2218

23-
24-
2519
\resizebox{\linewidth}{!}{\input{figures/gadfly_formats_test_cos2_fun_1.tex}}
2620

27-
28-
2921
\begin{juliaterm}
3022
julia> x = linspace(0, 2π, 200)
3123

@@ -44,12 +36,9 @@
4436
\end{juliaterm}
4537
\resizebox{\linewidth}{!}{\input{figures/gadfly_formats_test_4_2.tex}}
4638

47-
48-
4939
\begin{juliacode}
5040
x = linspace(0, 2π, 200)
5141
plot(x=x, y = sin(x), Geom.line)
52-
5342
\end{juliacode}
5443
\resizebox{15cm}{!}{\input{figures/gadfly_formats_test_5_1.tex}}
5544

test/documents/gadfly_markdown_test_ref.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ julia> plot(x=x, y = cos(x), Geom.line)
2525

2626
![](figures/gadfly_markdown_test_1_2.png)
2727

28-
29-
30-
3128
````julia
3229
x = linspace(0, 200)
3330
println(x)
@@ -40,9 +37,6 @@ linspace(0.0,200.0,50)
4037

4138

4239

43-
44-
45-
4640
````julia
4741
julia> using Gadfly
4842

@@ -67,8 +61,6 @@ julia> plot(x=x, y = cos(x), Geom.line)
6761

6862
![](figures/gadfly_markdown_test_3_2.png)
6963

70-
71-
7264
````julia
7365
x = linspace(0, 200)
7466
println(x)

0 commit comments

Comments
 (0)