summaryrefslogtreecommitdiff
path: root/docutils/test/functional/input/data/standard.txt
diff options
context:
space:
mode:
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2010-10-11 12:32:33 +0000
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2010-10-11 12:32:33 +0000
commit0ac9411fdf556611215e5ddb1e5054b76609f959 (patch)
treee3612c35822eb745c0a8aa27152e13903fab3b74 /docutils/test/functional/input/data/standard.txt
parentf5baaccd9ea50f2cd6e2ac39f2fb8ed3e5975c71 (diff)
downloaddocutils-0ac9411fdf556611215e5ddb1e5054b76609f959.tar.gz
Support language specification for document objects.
Class arguments in the form "language-<language tag>", e.g. ``.. class:: language-el-polyton`` for a quote in polytonic Greek are handled by the html and latex writers to set the language of the "classified" object. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@6443 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test/functional/input/data/standard.txt')
-rw-r--r--docutils/test/functional/input/data/standard.txt35
1 files changed, 34 insertions, 1 deletions
diff --git a/docutils/test/functional/input/data/standard.txt b/docutils/test/functional/input/data/standard.txt
index 37efd1036..0c7c972a5 100644
--- a/docutils/test/functional/input/data/standard.txt
+++ b/docutils/test/functional/input/data/standard.txt
@@ -310,6 +310,30 @@ Take it away, Eric the Orchestra Leader!
|
| Singing...
+A poem by Christian Morgenstern:
+
+.. class:: language-de align-center
+
+
+| Das æsthetische Wiesel
+|
+| Ein Wiesel
+| saß auf einem Kiesel
+| inmitten Bachgeriesel.
+|
+| Wißt ihr
+| weshalb?
+|
+| Das Mondkalb
+| verriet es mir
+| im Stillen:
+|
+| Das raffinier-
+| te Tier
+| tat's um des Reimes willen.
+|
+
+
Block Quotes
------------
@@ -323,6 +347,15 @@ Block quotes consist of indented body elements:
-- Anne Elk (Miss)
+The language of a quote (like any other object) can be specified by
+a class attribute:
+
+.. class:: language-fr
+..
+
+ ReStructuredText est un langage de balisage léger utilisé
+ notamment dans la documentation du langage Python.
+
Doctest Blocks
--------------
@@ -529,7 +562,7 @@ A left-aligned figure:
The legend may consist of several paragraphs.
-This paragraph might flow around the figure.
+This paragraph might flow around the figure.
The specific behavior depends upon the style sheet and the browser or
rendering software used.