cboettig / knitcitations

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

Putting citations into a xtable-formatted table #100

Closed pschloss closed 7 years ago

pschloss commented 7 years ago

I'm embedding an xtable-formatted table into a paper where I need to include citations. For example, check out this table. In the second row it has "Baxter (23)" where the 23 is the reference number. When we made that table, we hard coded the reference number (code here). Is there a direct way to do this with knitcitations if we put the table inside the manuscript Rmd file? When I do this and instead of the 23 put" [@SchlossXXXX]" it renders as [@SchlossXXXX].

pschloss commented 7 years ago

sorry - i realize now that this is probably more of a knitr question ...