File: test_preprocessor.rst

package info (click to toggle)
rst2pdf 0.103.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 26,860 kB
  • sloc: python: 10,342; sh: 95; makefile: 25
file content (52 lines) | stat: -rw-r--r-- 959 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52

This file tests the preprocesor extension ("-e preprocess").

This is one paragraph.

This is the next paragraph.  Now, we will test that we can add a
bit of space using the new syntax:

.. space::  40

Now, we're going to test that we can use the syntax to include
both restructured text and stylesheets:

.. include:: test_style_width.rst
.. include:: test_style_width.yaml

Now we're going to try to do a pagebreak:

.. page::

Now, we're going to test the single word styling:

.. style::

    foobar: {something: something_else}

    singleword: {parent: base, fontSize: 24}

SingleWord

this is a paragraph

AnotherSingleWord

Another paragraph

Finally, we're going to try setting table widths to 20%, 80%, and then the other way around:

.. widths::  20 80

======  ==================
Hi      there
How     are you?
======  ==================

.. widths::  80 20

======  ==================
Hi      there
How     are you?
======  ==================