Warning
This documentation is for an old version of IPython. You can find docs for newer versions here.
Module: nbconvert.filters.citation
¶
Citation handling for LaTeX output.
1 Class¶
1 Function¶
-
IPython.nbconvert.filters.citation.
citation2latex
(s)¶ Parse citations in Markdown cells.
This looks for HTML tags having a data attribute names
data-cite
and replaces it by the call to LaTeX cite command. The tranformation looks like this:<cite data-cite="granger">(Granger, 2013)</cite>
Becomes
cite{granger}
Any HTML tag can be used, which allows the citations to be formatted in HTML in any manner.