From d2105f66930f4d14bbeabe2bbbe4f764bb9cb10f Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Thu, 21 Dec 2006 19:33:57 +0000 Subject: + 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 --- tests/writer.latex | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tests/writer.latex') 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. -- cgit v1.2.3