Put multiple PDFs on none page, and repeat this for a list of files

百般思念 提交于 2020-01-25 08:19:06

问题


I have done 2000 analyses, each named by a string containing spaces, numbers, and parentheses, and every analysis has produced three (vector) pdf files. For example, for analysis John Doe 7 (m) I have the following pdfs: John Doe 7 (m)_upper_left.pdf, John Doe 7 (m)_upper_right.pdf, John Doe 7 (m)_lower.pdf as want to make a one-page pdf file for John Doe 7 (m), where they are arranged as follows in John Doe 7 (m)_whole:

And do this for all other analyses (Jake Levinson 12 (k), ...), and have 2000 single-page, three-panel pdf files. As I asked earlier, I tried doing this in R for one analysis (so I can do it for other files) but the problem is R converts the plots into bitmap while reading them.

I'm on windows and have pdftk on my machine (if that helps). Is there a neat way of doing it using command line or something else? Thanks.

来源:https://stackoverflow.com/questions/57027588/put-multiple-pdfs-on-none-page-and-repeat-this-for-a-list-of-files

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!