cboettig / knitcitations

:package: Generate citations for knitr markdown and html files
http://carlboettiger.info
Other
220 stars 28 forks source link

Latex conversion in references #80

Open martinschmelzer opened 9 years ago

martinschmelzer commented 9 years ago

Hi there,

thank you for the awesome knitcitations package. Really enjoy working with it.

Though I have one problem. Assume the following code inside of a rmarkdown presentation:

  library(knitcitations)
  cleanbib()
  options("citation_format" = "pandoc")

SOME SLIDES INBETWEEN

Taken from r citep("10.1007/978-1-4614-6868-4 8“)

bibliogrpahy()

When I knit this presentation, I end up with a inline citation and the reference

[1] D. Eddelbuettel. Seamless R and C\mathplus\mathplus Integration with Rcpp. Springer New York, 2013. DOI: 10.1007/978-1-4614-6868-4. .

at the end of the document. As you can see the \mathplus code is not getting converted.