Re: PS tricks & dia export



I have had a number of difficulties using PsTricks and dia.

I have now started to use psfrag instead and found it to work pretty
well.  One drawback is that you don't see the result in dia directly and
you may have to manually adjust the size of your boxes etc in your
diagram based on the latex output. 

Nevertheless, psfrag allows you to easily put complex latex parbox quite
easily and allows you to scale and rotate your text.

Have a look at the documentation on CTAN; try it; it might suit you.

Benoit P.

P.S.: I don't think psfrag replaces a good LaTeX integration with dia;
it is just missing now.

On Mon, 2001-11-26 at 08:45, Oleg Mürk wrote:

 Hello!

 I have a problem :)

 When exporting dia diagram to PSTricks, all labels (text)
 are drawn at the wrong place. I have investigated a bit
 and here are my conclusions:

   dia exports diagrams in the following form:
   ----------------------------------------------
      \pspicture(0,0)(10,10)
              \scalebox{1 -1}{
                      \rput(5,-5){\scalebox{1 -1}{Blaaaaaaah}}
              }
      \endpspicture
   ----------------------------------------------
   This is perfectly correct code, but it seems that
   PSTricks has a bug: \scalebox is not applied to
   \rput (at least with my MikTex and PSTricks from CTAN).
   As a result text is drawn at the wrong place.

 I understand that the right place to go to is to the
 maintainers of PSTricks, but if I understand correctly,
 nobody deals with it at the current time. So my proposal
 would be to to get rid of \scalebox{1,-1} transoformations
 and make them on the fly - just multiply $y$ by $-1$ - this
 is what I do currently by hand...

 There is one more problem :) Lines of width 0 become
 very thick when exported to EPS. For this reason such EPS
 becomes pretty useless...

 My environment:
      Ms Windows 2000 SP 2
      MikTEX
      Yapp 0.98n
      Latest PSTricks from CTAN
      Dia 0.88.2 <- dia-installer.sourceforge.net

 With best wishes, Oleg Mürk
 -------------------
 olegm ut ee
 http://www.ut.ee/~olegm

_______________________________________________
Dia-list mailing list
Dia-list gnome org
http://mail.gnome.org/mailman/listinfo/dia-list






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]