[kramdown-users] LaTeX Footnote inside of emphasized text

Michael Franzl michaelfranzl at gmx.at
Sat Jul 17 11:12:02 EDT 2010

I think I've found a bug. Kramdown source:

     This is *bold text[^note] with a footnote*.

     [^note]: A footnote.

Translates into

     This is \emph{bold text\footnote{A footnote.

     } with a footnote}.

LaTeX doesn't allow a new paragraph within `emph` and similar commands. 
It outputs the error: "Runaway argument? ! Paragraph ended before 
\text at command was complete."

Removing the line feeds solves the problem.


More information about the kramdown-users mailing list