After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 166136 - Export to tex pstricks fails with tex-package graphicx
Export to tex pstricks fails with tex-package graphicx
Status: RESOLVED DUPLICATE of bug 143414
Product: dia
Classification: Other
Component: exports
0.94
Other All
: Normal normal
: ---
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2005-02-03 08:49 UTC by Emanuel Kapfinger
Modified: 2005-11-15 15:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
example files (1.91 KB, application/x-compressed-tar)
2005-02-15 16:48 UTC, Emanuel Kapfinger
Details

Description Emanuel Kapfinger 2005-02-03 08:49:22 UTC
Please describe the problem:
I'm using Dia with export to .tex-pstricks. Then I include the image with 
\input{filname.tex}. 
When using the package "graphicx", latex states

(/usr/share/texmf/tex/latex/graphics/dvips.def))) (./test.aux) (./Diagram1.tex
! Illegal unit of measure (pt inserted).
<to be read again> 
                   -
l.52 }
      \endpspicture

I don't know how to correct the .tex from Dia, so perhaps you can help me? 
Perhaps you can correct this in the Dia code itself. 

I am using Debian Sarge, with latex and Dia from its testing release about 
Octobre 2004. 

Steps to reproduce:
\usepackage{graphicx} in latex
include pstricks dia-export

Actual results:


Expected results:


Does this happen every time?
yes

Other information:
no
Comment 1 Lars Clausen 2005-02-06 08:37:28 UTC
Could you provide us with the diagram you're exporting and/or the tex code
generated for it?  I have failed to reproduce the problem with a few sample
files, including one with an image.
Comment 2 Emanuel Kapfinger 2005-02-15 16:48:33 UTC
Created attachment 37500 [details]
example files
Comment 3 Lars Clausen 2005-11-15 15:27:17 UTC

*** This bug has been marked as a duplicate of 143414 ***