export to eps/ps/pdf+LaTeX - unexpected width of figure in LaTeXed document (0.48.0)

Bug #643849 reported by Peter Kobel
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Low
Johan Engelen

Bug Description

By using \input{file.xxx_tex} in LaTeX, there appeares some additional space before the figure. This is easy to see, by drawing a rectangle in inkscape and puting an fbox around it in LaTeX: \fbox{\input{rect.xxx_tex}}.

This can be avoided by adding % at every end-of-line of the .xxx_tex-file. Some lines already end with %, but all should do.

(Since it is not necessary to specify the file extension in LaTeX, i think it would increase the usability, if inkscape produces a file.xyz and file.tex (wherein the graphic-file is also included withour specifieing the file extension), so you can use LaTeX and pdfLaTeX without any changes in your LaTeX-source.)

(I'm using Inkscape 0.48.0 r9654 and MikTeX 2.8 on Windows 7 Professional 32bit)

su_v (suv-lp)
tags: added: exporting latex
Revision history for this message
su_v (suv-lp) wrote :

@Johan - could you take a look?

Changed in inkscape:
assignee: nobody → Johan Engelen (johanengelen)
Revision history for this message
Johan Engelen (johanengelen) wrote :

added lots of % in r10154. Please test again.

Regarding you comment in parens about the extension: please have a look at bug 595312 and re-open if you don't agree.

Changed in inkscape:
importance: Undecided → Low
milestone: none → 0.48.2
status: New → Fix Committed
Ted Gould (ted)
Changed in inkscape:
status: Fix Committed → Fix Released
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.