-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
incompatibility with pandoc citations #53
Comments
Yes this will be an issue due to the way that knirBootstrap adds the wrapping divs. I know a way to fix this by using a rmarkdown template, just haven't had the time to actually do so. Thanks for reporting the bug! |
I would also really appreciate this fix. Thanks for starting it! |
I've managed to bypass this issue by injecting a bit of javascript into the document using the custom.header option as a temporary fix. <script> window.onload = function() { x = document.getElementsByClassName('references') document.getElementById('References').parentNode.insertBefore(x[x.length-1], document.getElementById('References').nextSibling); } </script> |
Note this should be fixed in pull request #68 if you wanted to try it out with that. (Note it is not quite ready for release) |
Thank you very much! That version actually fixed the problem I was originally searching for in It seems as if the TOC is gone, though - is that something that's been On Thu, Oct 9, 2014 at 11:51 AM, Jim Hester [email protected]
|
Ah no it's not gone, it is just not on by default (just like the default On Thu, Oct 9, 2014 at 12:56 PM, Susan VanderPlas [email protected]
|
Ok, I figured that part out. Twas a bit harder to find the documentation It does seem like some of the previous highlighting has disappeared, Thanks for the help, btw. knitrBootstrap is awesome. On Thu, Oct 9, 2014 at 12:06 PM, Jim Hester [email protected]
|
@srvanderplas There were two bugs with the |
has this issue been fixed maybe? I just tried out knitr bootstrap. Very nice! But I won't write citations by hand from now again. Would be cool if citations will be supported! |
With the minimal .Rmd file below, the div in which the references are placed floats off below the final knitrBookstrap credit at the bottom. (Note that to reproduce the problem, you have to actually have @kellogg_logic_2004 in the .bib file for the reference to be produced.)
The bottom of the resulting html file looks like this:
The text was updated successfully, but these errors were encountered: