I am using inkscape 0.91 on kubuntu. In a script (that I created some time ago) I use the following command line:
inkscape -z -D --file=input.svg --export-pdf="output.pdf" --export-latex
It generates two files: output.pdf and output.pdf_tex (then I can add the image in a tex file with \input{output.pdf_tex}).
Unfortunately, it does not work anymore. The .pdf_tex file now contains several lines mentioning other pages (page=1, page=2, ...). Example:
\begin{picture}(1,1.07214514)%
\put(0.84154257,0.80899201){\color[rgb]{0,0,0}\makebox(0,0)[lb]{\smash{text1}}}%
\put(0,0){\includegraphics[width=\unitlength,page=1]{output.pdf}}%
\put(0.84228219,0.13316749){\color[rgb]{0,0,0}\makebox(0,0)[lb]{\smash{text2}}}%
\put(0,0){\includegraphics[width=\unitlength,page=2]{output.pdf}}%
\end{picture}%
Here is a picture of the corresponding svg file (and a link):
The second \includegraphics mention a second page and if I remove its line, it works fine.
Do you know why the command line behave like this with inkscape 0.91? I can remove the additional lines manually, but there can be many of them and I often use the command (each time I modify the .svg file and want to see how it looks in my pdf file) so it is quite time consuming...
Thanks in advance.