fix: filenames with spaces passed to command line #31

Merged
merged 1 commit into from Jul 28, 2013

Projects

None yet

2 participants

@daroczig
Contributor

see more details @ http://stackoverflow.com/questions/17897359/error-with-tex2docx-function-from-reports-r-package

Demo:

library(reports)
dir.create('foo bar')
DOC <- system.file("extdata/doc_library/apa6.qual_tex/doc.tex", package = "reports")
file.copy(system.file("extdata/docs/example.bib", package = "reports"), 'foo bar/example.bib')
BIB <- 'foo bar/example.bib'
tex2docx(DOC, file.path(getwd(), "test2.docx"), path = NULL, bib.loc = BIB)
@trinker trinker merged commit 223205e into trinker:master Jul 28, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment