[comp.windows.x] Xfig 2.0 and transfig 2.1.1

edr@CARMEL.TECHNION.AC.IL (Ehud Reshef) (02/26/91)

Hi.
We are using Xfig 2.0 and transfig 2.1.1
and there are several problems.

when someone wants to print, form xfig, using the laserwriter icon,
xfig apparently expects f2ps of some version we don't have as the format of
the f2ps comand is unlike version 1.0 ( that we also have ) and of course not th
at of
transfig / fig2dev

another thing in fig2dev 2.1.1
is that when I do  : fig2dev -L ps figure.fig > figure.ps
the postscript file has some erors :
it says
%%Pages: 0
        instead of 1
%EndProlog
        line is indented with a tab
and worst of all, there is no
showpage
command at the end of the file.
after correcting that, I can print the files on a LaserWriter, but it seems
easier to fix it in the fig2dev file and not to do it every time I want to
print something ...

did I do something wrong in the translation using fig2dev
or is there a patch for transfig available ?

Ehud Rehsef                     edr@techunix.technion.ac.il
                                edr@carmel.technion.ac.il

envbvs@epb2.lbl.gov (Brian V. Smith) (02/27/91)

In article <9901@discus.technion.ac.il>, edr@CARMEL.TECHNION.AC.IL (Ehud Reshef)
writes:
|> 
|> Hi.
|> We are using Xfig 2.0 and transfig 2.1.1
|> and there are several problems.
|> 
|> when someone wants to print, form xfig, using the laserwriter icon,
|> xfig apparently expects f2ps of some version we don't have as the format of
|> the f2ps comand is unlike version 1.0 ( that we also have ) and of course not
|> th
|> at of
|> transfig / fig2dev

You must use the version of f2ps that comes with xfig 2.0.  It is distributed
with xfig.

|> 
|> another thing in fig2dev 2.1.1
|> is that when I do  : fig2dev -L ps figure.fig > figure.ps
|> the postscript file has some erors :
|> it says
|> %%Pages: 0
|>         instead of 1
|> %EndProlog
|>         line is indented with a tab
|> and worst of all, there is no
|> showpage
|> command at the end of the file.
|> after correcting that, I can print the files on a LaserWriter, but it seems
|> easier to fix it in the fig2dev file and not to do it every time I want to
|> print something ...
|> 
|> did I do something wrong in the translation using fig2dev
|> or is there a patch for transfig available ?

lease tead the manual entry for fig2dev under the section that says
POSTSCRIPT OPTIONS:

     -P   indicates that the figure describes a full page which
          will not necessarily be inserted into a document, but
          can be sent directly to a PS printer.  This ensures
          that a showpage command is inserted at the end of the
          figure, and inhibits translation of the figure coordi-
          nate system.

|> 
|> Ehud Rehsef                     edr@techunix.technion.ac.il
|>                                 edr@carmel.technion.ac.il

-- 
Brian V. Smith    (bvsmith@lbl.gov)
Lawrence Berkeley Laboratory
I don't speak for LBL; they don't pay me enough for that.