summaryrefslogtreecommitdiff
path: root/docutils/test/functional/input
diff options
context:
space:
mode:
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2019-09-14 12:32:44 +0000
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2019-09-14 12:32:44 +0000
commit3cd891abd7a467ec20f33692cb7a0cecdf63f1bf (patch)
treeda16d79e45bc203f6b971512abd37b4e120fc83e /docutils/test/functional/input
parente5f74337332641a5f82fe45efc5bebbf15493c05 (diff)
downloaddocutils-3cd891abd7a467ec20f33692cb7a0cecdf63f1bf.tar.gz
Fix [ 339 ] don't use "alltt" in admonitions and footnotes.
Includes some other minor cleanups for the LaTeX writer. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8391 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test/functional/input')
-rw-r--r--docutils/test/functional/input/latex_literal_block.txt19
1 files changed, 16 insertions, 3 deletions
diff --git a/docutils/test/functional/input/latex_literal_block.txt b/docutils/test/functional/input/latex_literal_block.txt
index f91ccd494..9c7b84c9c 100644
--- a/docutils/test/functional/input/latex_literal_block.txt
+++ b/docutils/test/functional/input/latex_literal_block.txt
@@ -1,6 +1,8 @@
In LaTeX, literal blocks can be customized with the "literal-block-env"
-setting. This test file exists to check the latex writer output compiles and
-looks as expected. Start with a plain literal block::
+setting. This test file exists to check if the LaTeX writer output compiles
+and looks as expected.
+
+Start with a plain literal block::
$\sin^2(x)$ and $\cos^2(x)$ equals one:
@@ -38,6 +40,10 @@ A literal block in a table with auto-width columns:
\sin^2 x
==== =========== ====
+.. note:: A literal block in an admonition::
+
+ \sin^2 x
+
.. role:: custom
.. role:: custom-role
@@ -63,7 +69,14 @@ Parsed literal block with inline markup and leading whitespace:
:custom:`custom` :custom-role:`roles`, and explicit roles for
:title:`Docutils`' :emphasis:`standard` :strong:`inline` :literal:`markup`.
-.. [*] This footnote is referenced in a `parsed literal` block.
+.. [*] This footnote is referenced in a `parsed literal` block.
+
+ It contains a literal block::
+
+ \sin^2 x
+
.. [CIT2002] Sample Citation, 2017.
+
.. _external: http://www.python.org/
+
.. |EXAMPLE| image:: ../../../docs/user/rst/images/biohazard.png