I have two levels of footnotes, one for regular footnotes and one for special editor's footnotes. I would like to put a longer text in an editor's footnote with two paragraphs, however this does not work.
MWE:
\documentclass{memoir}\usepackage{xcolor}\newfootnoteseries{E}\renewcommand\thefootnoteE{\textcolor{red}{\Roman{footnoteE}}}\let\editornote=\footnoteE\begin{document}Text%\footnote{Footnote paragrah 1.% -- removing this is fineFootnote paragraph 2.}%\editornote{Editor paragraph 1.% -- removing this breaksEditor paragraph 2.}\end{document}
I get the following error when removing the second %
:
Runaway argument?{\rule \z@ \footnotesep \ignorespaces {\@nameuse {foottextfontE}Edito\ETC../editornotes.tex:17: Paragraph ended before \@makefntextE was complete.<to be read again> \par l.17 Editor paragraph 2.}?
Strangely, multiple paragraphs work fine in the regular footnote.