summaryrefslogtreecommitdiff
path: root/docutils/test/functional/input/data
diff options
context:
space:
mode:
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2015-03-19 15:54:58 +0000
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2015-03-19 15:54:58 +0000
commit28dbe92ff6aa20c0299e6992c1efe53e6d42b9be (patch)
tree819f19679dfdb467baffacb7ff1e173600999d78 /docutils/test/functional/input/data
parent18d8f8e796ee0083be9529d0bf9ed59e4a7b3b34 (diff)
downloaddocutils-28dbe92ff6aa20c0299e6992c1efe53e6d42b9be.tar.gz
Fix the latest latex writer patch: no "alltt" in parsed literal blocks.
More inline markup examples for functional test of parsed literal blocks. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7849 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test/functional/input/data')
-rw-r--r--docutils/test/functional/input/data/latex_encoding.txt2
-rw-r--r--docutils/test/functional/input/data/standard.txt10
2 files changed, 7 insertions, 5 deletions
diff --git a/docutils/test/functional/input/data/latex_encoding.txt b/docutils/test/functional/input/data/latex_encoding.txt
index 6f148f35d..eefb0b970 100644
--- a/docutils/test/functional/input/data/latex_encoding.txt
+++ b/docutils/test/functional/input/data/latex_encoding.txt
@@ -14,7 +14,7 @@ The special chars verbatim::
However also *square brackets* [] need special care.
- \item and all the other commands with optional arguments check
+ Commands with optional arguments (e.g. ``\item``) check
if the token right after the macro name is an opening bracket.
In that case the contents between that bracket and the following
closing bracket on the same grouping level are taken as the
diff --git a/docutils/test/functional/input/data/standard.txt b/docutils/test/functional/input/data/standard.txt
index ac8ce47b3..d306e5ae1 100644
--- a/docutils/test/functional/input/data/standard.txt
+++ b/docutils/test/functional/input/data/standard.txt
@@ -317,8 +317,8 @@ A line block, like the following poem by Christian Morgenstern, can
also be centre-aligned:
.. class:: language-de align-center
-
-| **Die Trichter**
+
+| **Die Trichter**
|
| Zwei Trichter wandeln durch die Nacht.
| Durch ihres Rumpfs verengten Schacht
@@ -752,7 +752,9 @@ Parsed Literal Blocks
This line is indented. The next line is blank.
Inline markup is supported, e.g. *emphasis*, **strong**, ``literal
- text``, footnotes [1]_, _`hyperlink targets`, and `references
+ text``, :sub:`sub-` and :sup:`super`\ scripts,
+ inline formulas: :math:`A = 2 \pi r^2`,
+ footnotes [1]_, _`hyperlink targets`, and `references
<http://www.python.org/>`_.
Code
@@ -787,7 +789,7 @@ paragraph.
.. role:: tex(code)
:language: tex
-Docutils uses LaTeX syntax for math directives and roles:
+Docutils uses LaTeX syntax for math directives and roles:
:tex:`\alpha = f(x)` prints :math:`\alpha = f(x)`.
The ``:code:`` option of the `include` directive sets the included content