fletcher / MultiMarkdown-4

This project is now deprecated. Please use MultiMarkdown-6 instead!
https://github.com/fletcher/MultiMarkdown-5
Other
307 stars 59 forks source link

mmd2tex empty bibliography with beamer #83

Closed antonyeagle closed 10 years ago

antonyeagle commented 10 years ago

I just downloaded multimarkdown-4, and am having trouble getting bibliographies to work in beamer. I try this minimal example:

LaTeX mode: beamer  

[][#rock]

[#rock]: scissors, paper.

If I then run mmd2tex, I get this output:

\def\latexmode{beamer}

~\citep{rock}

\part{Bibliography}
\begin{frame}[allowframebreaks]
\frametitle{Bibliography}
\def\newblock{}
\begin{thebibliography}{0}

\bibitem{rock}

\end{thebibliography}
\end{frame}

\mode<all>

\end{document}\mode*

As you can see, nothing appears in the \bibitem entry except the citekey. (If I try, by comparison, mmd demo.md on the same file, I get the expected output.)

Weirdly, if I change the minimal example by selecting the memoir class instead of beamer, things work: running mmd2tex on this example:

LaTeX mode: memoir  

[][#rock]

[#rock]: scissors, paper.

produces the following desired output:

\def\latexmode{memoir}

~\citep{rock}

\begin{thebibliography}{0}

\bibitem{rock}
scissors, paper.

\end{thebibliography}
\end{document}
fletcher commented 10 years ago

Thanks for pointing this out!