JeffRush ReStructuredTextDemo

From Wiki

Jump to: navigation, search

This is the support page for Jeff Rush's A Demonstration of ReStructured Text screencast.

This is the reStructuredText document that resulted at the end of the incremental building during the talk. Nothing special but it shows the result

There are more substantial examples in the Python Slideshow Repository.


reST-demo.txt

=================================
The Title of a Document Goes Here
=================================

:Author: Jeff Rush
:Date: July 6, 2007

.. contents::

.. |apple| image:: /home/caster/notes/presentations/demofiles/apple.png


About Hand Waving
=================

Be *careful*. If you **wave your hands** around wildly like
that for too long, you're likely to fly up into the
air and bump your head against the ceiling.

.. class:: handout

   Hi, these are notes for my students about this slide.  They don't show up
   on the slides, but do print out and can be viewed with a hotkey during a
   talk.

Subsection One
--------------

This is a subsection.

 ======  ==========  ======
 Fruits  Vegetables  Grains
 ======  ==========  ======
 apples  potatos     corn
 apples  potatos     corn
 apples  potatos     corn
 apples  potatos     corn
 ======  ==========  ======


Definition of Success
=====================

.. sidebar:: Info in a Sidebar

   This is a small box off to the right in which you can cover out of line
   material like definitions or pointers to information.

To laugh often and much; to win the respect of
intelligent people and affection of children; to
earn the appreciation of honest critics and endure
the betrayal of false friends; to appreciate beauty,
to find the best in others; to leave the world a bit
better, whether by a healthy child, a garden patch
or a redeemed social condition; to know even one
life has breathed easier because you have
lived. This is to have succeeded.

 + apples |apple|
 + oranges
 + lemons

  +---------+------------+--------+
  | Fruits  | Vegetables | Grains |
  +=========+============+========+
  | apples  | potatos    | corn   |
  +---------+------------+--------+

Section Three
=============

The posthuman_ drive...  to reach intellectual
heights as far above any current human genius as
humans are above other primates; to be resistant to
disease and impervious to aging; to have unlimited
youth and vigor; to exercise control over their own
desires, moods, and mental states; to be able to
avoid feeling tired, hateful, or irritated about
petty things; to have an increased capacity for
pleasure, love, artistic appreciation, and serenity;
to experience novel states of consciousness that
current human brains cannot access.

 #. do this
 #. then do this
 #. and last do this

.. _posthuman: http://www.python.org

..
   Local Variables:
   mode: rst
   mode: outline-minor
   End:
Personal tools