← Back to team overview

ubuntustudio-bugs team mailing list archive

[Bug 1417470] Re: PDF+Latex export creates multipage pdf, pages missing

 

I developed a fix in lp:~mgmax/inkscape/pdf-tex-fix-group , feedback is
appreciated.

Basically, that cairo_push_group() is active, suppresses the
noneffective cairo_show_page() and after the next successful page it
adds blank pages to the PDF so that the page numbers match again.

As far as I tested, there is no difference for cases where it worked
before. In the cases where it didn't work before ("decelresults" and
"rotspectrum" attached to this bugreport), the TeX now compiles and the
output looks correct. The Z-ordering is not perfect, but I'm afraid
there is no better solution which is not horribly complicated.

-- 
You received this bug notification because you are a member of Ubuntu
Studio Bugs, which is subscribed to inkscape in Ubuntu.
Matching subscriptions: Ubuntu Studio Bugs
https://bugs.launchpad.net/bugs/1417470

Title:
  PDF+Latex export creates multipage pdf, pages missing

Status in Inkscape:
  Confirmed
Status in inkscape package in Ubuntu:
  Confirmed
Status in inkscape package in Debian:
  Confirmed

Bug description:
  In 0.91 the z-order information in svg is used to create multipage
  PDF+LaTeX documents as per bug 771957. However, for the SVGs I have
  been converting to PDF+LaTeX in this way, the TeX-file instructs to
  load more pages than the PDF has, for example the PDF has only three
  pages and the TeX file also includes page=4. This basically breaks the
  PDF+LaTeX export for me and I have to use EPS+LaTeX + epstopdf
  package.

  The bug occurs on OpenSuse 13.1 and Windows 8.1.

  Attached a zip file with two svg files and their broken PDF+LaTeX
  counterparts.

To manage notifications about this bug go to:
https://bugs.launchpad.net/inkscape/+bug/1417470/+subscriptions