Skip to content
Back to formatted view

Raw Message

Message-ID: <16990.6087.145148.389624@galadriel.ci.tuwien.ac.at>
Date: 2005-04-14T07:12:07Z
From: Friedrich Leisch
Subject: pstoedit
In-Reply-To: <XFMail.050413093621.Ted.Harding@nessie.mcc.ac.uk>

>>>>> On Wed, 13 Apr 2005 09:36:21 +0100 (BST),
>>>>> (Ted Harding) ((H) wrote:

  > On 13-Apr-05 Prof Brian Ripley wrote:
  >> On Wed, 13 Apr 2005, BORGULYA [iso-8859-2] G?bor wrote:
  >> 
  >>> Has onyone experience with "pstoedit"
  >>> (http://www.pstoedit.net/pstoedit)
  >>> to convert eps graphs generated by R on Linux to Windows
  >>> formats (WMF or EMF)? Does this way work? Is there an other,
  >>> better way?
  >> 
  >> You can only do that using pstoedit on Windows.
  >> ^^^^^^^^^^

  > Well, I have pstoedit on Linux and with

  >   pstoedit -f emf infile.eps outfile.emf

  > I get what is claimed to be "Enhanced Windows metafile"
  > and which can be imported into Word (though then it is
  > subsequently somewhat resistant to editing operations,
  > such as rotating if it's the wrong way up).

I always use

pstoedit -f xfig $1 $figfile
fig2dev -L emf $figfile $outfile

on Linux (Debian's pstoedit seems not to support emf). Doesn't work
for all graphics, but in most cases it does, and when it works I get
something I can fully edit in Word, i.e., I can change the text of
axis labels, move points etc.

HTH,
Fritz

-- 
-------------------------------------------------------------------
                        Friedrich Leisch 
Institut f?r Statistik                     Tel: (+43 1) 58801 10715
Technische Universit?t Wien                Fax: (+43 1) 58801 10798
Wiedner Hauptstra?e 8-10/1071
A-1040 Wien, Austria             http://www.ci.tuwien.ac.at/~leisch