missing "%" characters in pdf_tex file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Low
|
Johan Engelen |
Bug Description
inkscape version: 0.48
operating system: Fedora 14
Some of the LaTeX commands in pdf_tex files are not terminated by "%" characters. LaTeX therefore adds unwanted space characters to its output.
Example 1:
* Open box.svg
* Save as pdf to generate box.pdf and box.pdf_tex
* Include box.pdf_tex in a LaTeX file (example: test.tex) and draw an fbox around it.
* Process test.tex to obtain test.pdf.
* There will be a gap between the fbox and the figure (see test.pdf).
* Add some "%" charaters to box.pdf_tex as in box+.pdf_tex
* Including box+.pdf_tex in the LaTeX file will give the desired result.
Example 2:
* Open tree.svg
* Save as pdf to generate tree.pdf and tree.pdf_tex
* Include tree.pdf_tex in a LaTeX file (example: test.tex).
* Process test.tex to obtain test.pdf.
* Lines A-E will be centered, but lines F-H won't (see test.pdf).
* Add some "%" charaters to tree.pdf_tex as in tree+.pdf_tex
* Including tree+.pdf_tex in the LaTeX file will give the desired result.
The "%" characters added manually in the above examples should be added automatically by inkscape when generating the pdf_tex files.
tags: | added: exporting latex pdf |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
Is this the same as bug #643849 “export to eps/ps/pdf+LaTeX - unexpected width of figure in LaTeXed document (0.48.0)” or a more generic report and bug #643849 describes a sub-set of the same issue?
«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.» /bugs.launchpad .net/inkscape/ +bug/643849>
<https:/