Reputation: 29519
I want to create a PDF where a single page contains multiple EPS(AI) files. Are there any libraries that can do this?
Upvotes: 1
Views: 1937
Reputation: 609
Is generating a .tex file with the figures included and then compiling it using the latex, dvipdf with the subprocess module enough?
The good thing would be that you may use the powerful tex formatting to place it on the page wherever you want etc..
The latex file would not need to be really complicated:
\documentclass[12pt,notitlepage]{report}
\pagestyle{plain}
\usepackage[top=30mm, bottom=30mm, paperwidth=170mm, paperheight=220mm]{geometry}
\usepackage[dvips]{graphicx}
\begin{document}
\centering
\includegraphics[height=60mm]{myfig.eps}
\vspace{10mm}
\includegraphics[height=60mm]{myfig.eps}
\end{document}
Upvotes: 2