aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-04-07 22:05:17 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-04-07 22:07:38 -0700
commit28497d484e85fd495e92f06416f978763f333518 (patch)
tree9b25c035bb7277158b3cb22b6d93d37685e3f564 /tests
parentca6a8d62f28a54f739a9fc8a09d813157ee808ea (diff)
downloadpandoc-28497d484e85fd495e92f06416f978763f333518.tar.gz
RST writer: better handling of raw latex inline.
We use `` :raw-latex:`...` `` and add a definition for this role to the template. Closes #1961.
Diffstat (limited to 'tests')
-rw-r--r--tests/writer.rst6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/writer.rst b/tests/writer.rst
index f09871a34..1aeeacacb 100644
--- a/tests/writer.rst
+++ b/tests/writer.rst
@@ -10,6 +10,10 @@ Pandoc Test Suite
:format: html latex
..
+.. role:: raw-latex(raw)
+ :format: latex
+..
+
This is a set of tests for pandoc. Most of them are adapted from John Gruber’s
markdown test suite.
@@ -657,7 +661,7 @@ Ellipses…and…and….
LaTeX
=====
--
+- :raw-latex:`\cite[22-23]{smith.1899}`
- :math:`2+2=4`
- :math:`x \in y`
- :math:`\alpha \wedge \omega`