r if (grepl('html|epub', knitr:::pandoc_to())) '# References{-#references}' r if (grepl('doc', knitr:::pandoc_to())) '# References'

### Needed to incldue Bosman_2016 here because only used in block2 where 
### execution of R code, i.e. calling: knitcitations::citep() is not possible!
all_citations <- c(knitcitations:::get_bib(), manual["Bosman_2016"])
knitcitations::write.bibtex(entry = all_citations, 
                            file = "references.bib")


KWB-R/fakin.doc documentation built on Sept. 27, 2019, 9:53 p.m.