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)

edit retag close merge delete

I get this quite a bit with SageTeX as well. It never seems to cause problems.

( 2016-07-23 12:48:53 -0500 )edit

Sort by » oldest newest most voted

See this tex.SX question and answer, perhaps?

more