blob: e9add5a8ac144f72365a6e38877729e54c4e75f9 (
plain)
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
.. include:: <s5defs.txt>
=====================
rst2odp Slide Shows
=====================
:Author: Matt Harrison
:Date: 2008-12-17
Intro to rst and the odp converter
.. class:: handout
Everything that is in this block will only be in the notes.
You can put these on each slide.
Simple Slides
-------------
Here's how to make easy slideshows in rst. Here's a list:
* Part
* of
* a
* list
Image
-----
.. image:: img/test.png
--------
.. class:: center huge
A slide with centered, huge text and no title
Source code
-----------
.. code-block:: python
def foo(bar, baz):
fizzle(bar, baz)
Incremental Text
----------------
Due to "feature" in ODT spec, it only works (by clicks) on a paragraph or outline level.
.. class:: incremental
* foo
* bar
* baz
Text styling
------------
:tiny:`Some tiny text` (can also do ``small``, ``big``, or ``huge``)
Some *strong text* and **emphasized text**
:orange:`s5defs.txt Colors are also supported`
Creating slides
---------------
* install ``rst2odp``
* plain : ``rst2odp slides.rst output.odp``
* template : ``rst2odp slides.rst --template-file template/darkGradient.otp output.odp``
Thanks
------
Send feedback/suggestions my way
matthewharrison@gmail.com
|