I am using Dia to generate a vector based diagram. Then, I export it to PDF, because I want to keep the vector format and want to build my complete document to PDF later on.
When I include my diagram it uses a complete page to include that diagram. How do I import a diagram (PDF) into my document? It only has a single image and I want it to only include that image.
\usepackage{graphicx}
% more bla...
\begin{figure}[H]
\includegraphics[width=1\textwidth]{img/diagram.pdf}
\end{figure}
I was already thinking of generating ps2pdf, but that would still give me a PDF file with the same problems probably.
figureenvironment to use\includegraphics. You only need one if you want the image to float (which you apparently don't if you use[H]) and/or if you want a\caption(which can be included using other means as well). – Martin Scharrer Oct 22 '11 at 08:32pdfcropto generate such a PDF from it. – Martin Scharrer Oct 22 '11 at 08:36captiondocumentation, but it doesn't seem to tell me how to do that. And: Why not use float withH? It works fine... – Marnix Oct 22 '11 at 09:58