aboutsummaryrefslogtreecommitdiff
path: root/tests/writer.latex
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2006-12-21 19:33:57 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2006-12-21 19:33:57 +0000
commitd2105f66930f4d14bbeabe2bbbe4f764bb9cb10f (patch)
treeb214e05ce9ddb0fe3330174946318fb56f7e884d /tests/writer.latex
parent48b8267126fc82aadf289762718b8c01e5331e4c (diff)
downloadpandoc-d2105f66930f4d14bbeabe2bbbe4f764bb9cb10f.tar.gz
+ Added regression tests with footnotes in quote blocks and lists.
+ This uncovered an existing bug in the RTF writer, which got indentation wrong on footnotes occuring in indented blocks like lists. Fixed this bug. git-svn-id: https://pandoc.googlecode.com/svn/trunk@263 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'tests/writer.latex')
-rw-r--r--tests/writer.latex7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/writer.latex b/tests/writer.latex
index c813f511d..dec35635a 100644
--- a/tests/writer.latex
+++ b/tests/writer.latex
@@ -576,6 +576,13 @@ Subsequent blocks are indented to show that they belong to the footnote (as with
\end{verbatim}
If you want, you can indent every line, but you can also be lazy and just indent the first line of each block.} This should \emph{not} be a footnote reference, because it contains a space.[\^{}my note] Here is an inline note.\footnote{This is \emph{easier} to type. Inline notes may contain \href{http://google.com}{links} and \verb!]! verbatim characters.}
+\begin{quote}
+Notes can go in quotes.\footnote{In quote.}
+
+\end{quote}
+\begin{enumerate}
+\item And in list items.\footnote{In list.}
+\end{enumerate}
This paragraph should not be part of the note, as it is not indented.