Skip to content

rticles output in *.docx format #283

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
gtalckmin opened this issue Mar 18, 2020 · 5 comments
Closed

rticles output in *.docx format #283

gtalckmin opened this issue Mar 18, 2020 · 5 comments

Comments

@gtalckmin
Copy link

Hello,

Is there a way to output a rticles Journal formatted file? I am happy with the PDF but my supervisors/reviewers are requesting *docx format.

I tried this, but it does not work.

output:
bookdown::word_document2:
base_format: rticles::springer_article
number_sections: no

@gtalckmin
Copy link
Author

13.4 LaTeX content
As the only output format of the rticles formats is PDF
https://bookdown.org/yihui/rmarkdown/rticles-latex.html

@VEZY
Copy link

VEZY commented May 6, 2020

I know this issue is closed, but you can still output docx documents (if you didn't put LaTeX in the doc though) by modifying the output such as:

output: 
  rticles::springer_article: default
  word_document: default

NB: you can do it for any format, e.g. HTML.
You can also use Pandoc with a custom template for your word.

Another solution is to open your PDF using word, and to save the document as docx. This works perfectly.

@gtalckmin
Copy link
Author

Salut @VEZY,
Thanks for your reply.
I am aware I could output to a doc file by using a standard template. However, I am unaware that it is possible using the rticles "template". It would be great though.

Until now, my best solution, as you mentioned, was exporting from PDF to docx. However, whenever I tried to export a PDF as a word document, most times, the Fonts were not correct.

The best option, in my experience, is to export the document without any Figures. Otherwise, the whole page layout is compromised. fonts are mixed etc.
Thanks for your input. Cheers

@alapo
Copy link

alapo commented Oct 27, 2020

This same comment was brought up on the officedown GitHub. I am attempting to get this working using that package. You can view my post here

@github-actions
Copy link

This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 26, 2021
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants