Latex with pstricks saves incorrect dimension values

Bug #242877 reported by Karadomos
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
Undecided
Unassigned

Bug Description

When saving a document in .tex with pstricks and comping it afterwards with a latexcompiler, the resulting objects are of incorrect sizes.

Two Reasons:
1) the pstrick macros contain the line:
\psset{xunit=.5pt,yunit=.5pt,runit=.5pt}
However, the graphic's values are not doubled
2) The saved dimensions of the objects are the pixel sizes not the pt sizes.

Narrowed down to example:
(tried on windows xp, with inkscape 0.46 on A4 paper )
- create a square of size 5cmx5cm and saving it as .tex
- resulting tex file contains the picture dimensions: \begin{pspicture}(744.09448242,1052.36218262), which are the px-values and shoud be the pt-values (595.28,841.89) or doubled if considering 1).
- the dimensions of the square are incorrect in the same manner

Revision history for this message
Vincent Garibal (vincent-garibal) wrote :

Same thing with inkscape 0.46 on ubuntu 8.04

Changed in inkscape:
status: New → Confirmed
Revision history for this message
Carlos Marcelo de Oliveira Stein (carlos-stein) wrote :

Same thing here.
Inkscape 0.48 windows

And it affects other drawings placed after the inclusion of the tex file.

I have to use:

\input{name_of_tex_file} %file saved in inkscape
\psset{unit=1cm}

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.