[svn r37264] create the new development trunk
--HG-- branch : trunk
This commit is contained in:
3
py/rest/testing/data/example.rst2pdfconfig
Normal file
3
py/rest/testing/data/example.rst2pdfconfig
Normal file
@@ -0,0 +1,3 @@
|
||||
rest_sources = ['part1.txt', 'part2.txt']
|
||||
|
||||
rest_options = ["--use-latex-toc", "--generator"] # generator is easy to test
|
||||
3
py/rest/testing/data/example1.dot
Normal file
3
py/rest/testing/data/example1.dot
Normal file
@@ -0,0 +1,3 @@
|
||||
digraph G {
|
||||
a -> b -> c -> d;
|
||||
}
|
||||
8
py/rest/testing/data/formula.txt
Normal file
8
py/rest/testing/data/formula.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
Euklids proof about the infinitude of primes
|
||||
============================================
|
||||
|
||||
If there were only a finite amount of primes then there would be a largest
|
||||
prime :latexformula:`p`. However, the number :latexformula:`p! + 1` is not
|
||||
divisible by any number :latexformula:`1, ..., p`. Therefore, a prime dividing
|
||||
:latexformula:`p! + 1` has to be bigger than :latexformula:`p`. Therefore there
|
||||
is an infinite number of primes.
|
||||
2
py/rest/testing/data/formula1.txt
Normal file
2
py/rest/testing/data/formula1.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
this formula contains a fraction, that means it also contains a backslash:
|
||||
:latexformula:`$\frac{x^2}{y^2}$`
|
||||
7
py/rest/testing/data/graphviz.txt
Normal file
7
py/rest/testing/data/graphviz.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
This tests the graphviz directive
|
||||
=================================
|
||||
|
||||
let's embed the cool graphviz example:
|
||||
|
||||
.. graphviz:: example1.dot
|
||||
:scale: 50
|
||||
19
py/rest/testing/data/part1.txt
Normal file
19
py/rest/testing/data/part1.txt
Normal file
@@ -0,0 +1,19 @@
|
||||
.. contents::
|
||||
|
||||
This is the first part of the example rest file
|
||||
===============================================
|
||||
|
||||
|
||||
some content.
|
||||
|
||||
fancy subsection heading
|
||||
-------------------------
|
||||
|
||||
some more content.
|
||||
|
||||
really stupid document
|
||||
------------------------
|
||||
|
||||
we are all thankful that it ends now.
|
||||
|
||||
|
||||
7
py/rest/testing/data/part2.txt
Normal file
7
py/rest/testing/data/part2.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
This is the second part of the test file
|
||||
=========================================
|
||||
|
||||
.. contents::
|
||||
|
||||
the text in it is not much more interesting.
|
||||
|
||||
5
py/rest/testing/data/tocdepth.rst2pdfconfig
Normal file
5
py/rest/testing/data/tocdepth.rst2pdfconfig
Normal file
@@ -0,0 +1,5 @@
|
||||
rest_sources = ['part1.txt', 'part2.txt']
|
||||
|
||||
rest_options = ["--use-latex-toc", "--generator"] # generator is easy to test
|
||||
|
||||
toc_depth = 1
|
||||
Reference in New Issue
Block a user