On Fri, 2008-06-20 at 08:55 +0000, rhenwood User wrote:
Hi Folks,
I'm running the Inkscape distributed with Ubuntu 8.04 [Inkscape 0.46, built Apr 7 2008] and PDFLatex included with the distribution.
When I save a drawing from Inkscape as 'Cairo PDF' I am unable to include it into my document with pdflatex:
PDF inclusion: Page Group detected which pdfTeX can't handle. Ignoring it.
I suspect Cairo export is configured to export page groups in anticipation of multi-page Inkscape in the future.... but this is speculation on my part.
What is apparent, however, is that Inkscape cannot be used as a drawing companion with pdfLatex out-of-the-box on the latest Ubuntu.
This is (for me at least) a break in my workflow. Any suggestions for a workaround?
I have been playing around with PS and PDF from Inkscape v0.46.
Are you using the "Save" dialog or the "Print" dialog? They use different routines to produce PDF files.
The PDF and PS files from the "Print" dialog with the "Vector" option have an extra blank page at the end. There is a program called pdftk that can extract pages from PDF files.
Other possibilities:
The Cairo based "Save" dialog PDF export doesn't seem to add an extra page at the end. It doesn't support Patterns, Clipping, and Masks and evince won't display the gradients with transparency correctly but Acroread will.
You could print to a PS file, remove the extra page in a text editor, and then use a program like ps2pdf to convert the file to PDF. You might have to also remove the "%%Pages" and "%Page" lines. One problem with this method is that on my test file (which has images, gradients, clips, and masks) the output is completely rasterized.
Another method would be to "Save" a PS file with the old (non-Cairo) exporter and then convert the file to PDF. This keeps most of the drawing in vector form.
The Cairo based "Save" dialog PS export crashes on my test file.
Tav