[IPython-dev] \citep and \citet for markdown latex citations

Thomas Kluyver takowl at gmail.com
Mon Mar 17 15:51:19 EDT 2014

Hi John,

On 17 March 2014 07:56, John Griffiths <j.davidgriffiths at gmail.com> wrote:

> @takluyver suggests making a modified the citation filter to do this.
> Looking at the nbconvert code this looks like it should be quite simple.
> But what I'm not sure about is what the the data-cite  attribute is doing
> here. Would someone mind explaining this a little?
> In particular, would e.g. a data-citet attribute need to be explicitly
> defined somewhere, and would that be a non-trivial exercise?

HTML 5 allows any data-something attributes: there's no need to define it
explicitly, and it doesn't have a fixed meaning. data-cite is just the name
we chose - you can parse other names just the same way.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140317/02651fa2/attachment.html>

More information about the IPython-dev mailing list