Skip to content
Discussion options

You must be logged in to vote

Since you are using knitr, you can define a function to pass to fig.process option.
The function takes a path and return a path.
In your case input would be "figure-mwe_files/figure-docx/fig-mew-1.pdf" and output would be "figure-mwe_files/figure-docx/figure-1.pdf".

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mcanouil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants