Fix #3594: LaTeX: single raw directive has been considereed as block level element

This commit is contained in:
Takeshi KOMIYA
2017-04-04 10:44:53 +09:00
parent fc41f43a70
commit 939f01eae3
6 changed files with 77 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
# -*- coding: utf-8 -*-
master_doc = 'index'

View File

@@ -0,0 +1,40 @@
test-directives-raw
===================
HTML
----
standard
^^^^^^^^
.. raw:: html
standalone raw directive (HTML)
with substitution
^^^^^^^^^^^^^^^^^
HTML: abc |HTML_RAW| ghi
.. |HTML_RAW| raw:: html
def
LaTeX
-----
standard
^^^^^^^^
.. raw:: latex
standalone raw directive (LaTeX)
with substitution
^^^^^^^^^^^^^^^^^
LaTeX: abc |LATEX_RAW| ghi
.. |LATEX_RAW| raw:: latex
def