Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

pdfTeX warning: multiple pdfs with page group included in a single page

Hello!

I try to add two PDF plots made in Sage on a single page and pdflatex gives me the following warning:

pdfTeX warning: pdflatex (file ./sage2.pdf): PDF inclusion: multiple pdfs with 
page group included in a single page

The plots are produced with:

plot(sin, 0, 4 * pi).save(r'/tmp/sage1.pdf', figsize=(2, 2))
plot(cos, 0, 4 * pi).save(r'/tmp/sage2.pdf', figsize=(2, 2))

And the LaTeX document is:

\documentclass[12pt]{article}

\usepackage{graphicx}

\begin{document}

\includegraphics{sage1}
\includegraphics{sage2}

\end{document}

The resulting document is OK, but the warning is pretty annoying. Is there any way to get rid of this warning? (Except putting plots on a separate pages)