Motivation-and-Behaviour / tidyMB

Templates, utilities, and style guides for use in Motivation and Behaviour Research Program
Other
0 stars 0 forks source link

Add docx to pdf converter #12

Closed conig closed 3 years ago

conig commented 3 years ago

To facilitate pdf page look-ups it would be useful to include a docx to PDF conversion function. Perhaps we could use pandoc?

conig commented 3 years ago

Have added support for windows requiring a separate install of docto. Will also need a solution for mac users.

pdparker commented 3 years ago

The current template can be knit to a word doc. We currently knit the template to html and pdf. @tarensanders should not be too hard to add knit to word doc in the yaml also?

conig commented 3 years ago

Currently it's only possible to automatically detect page numbers for quotes if PDFs are provided. I was thinking having a function to convert word docs to pdf would help make workflows a bit easier, but as I can't support mac I've relegated it to be an internal function.