Saving pdf with pdf_tex creates .pdf_tex file with references to pages in the PDF which don't exist

Bug #1445761 reported by Tom
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

The attached SVG file was produced by matplotlib (http://matplotlib.org/). If you save a copy as a .pdf, and select the options to export as PDF+LaTeX and 'Use exported object's size', the ouput .pdf_tex contains lines like this:

    \put(0,0){\includegraphics[width=\unitlength,page=10]{modesolve2.pdf}}%
    \put(0.67302528,0.42407092){\color[rgb]{0.33333333,0.33333333,0.33333333}\makebox(0,0)[b]{\smash{0.05}}}%

Note the 'page=10' after \unitlength - the PDF Inkscape produces only contains one page. It goes on like this, referencing in all 33 non-existent pages, which of course causes a fatal error when trying to compile in LaTeX.

Version: 0.91 r13725

Revision history for this message
Tom (tom-s-robbins+ub1) wrote :
Revision history for this message
su_v (suv-lp) wrote :

Thank you for taking the time to file this report. The issue has been reported before and is tracked in
* Bug #1417470 “PDF+Latex export creates multipage pdf, pages missing”
  https://bugs.launchpad.net/inkscape/+bug/1417470

Linking as duplicate to bug #1417470.

tags: added: exporting latex pdf
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.