|
Figurine 1.0 Manual
Exporting Your File
Printing
Select View->Print (^P) to open the print dialog. Here you can set whether the document should be
centred on the page, or flush left. "Print Command" is the command to which the PostScript is sent; the
default is "lpr", which should work fine if your daemon has a magic filter running for PostScript, or
you have a PostScript printer. Click "Print" to print your file.
Exporting
Eventually, you will want to export the document into a format that can be inserted into LaTeX or word-processing
documents. You can do this with View->Export (^E).
The export feature requires a correctly installed transfig 3.2 package, in particular the program fig2dev. Earlier
versions of fig2dev will not work.
transfig can be downloaded at ftp://ftp.tex.ac.uk/pub/archive/graphics/.
You can export in a variety of different formats. The most useful are :
- LaTeX picture. The standard LaTeX environment, but very restrictive; for example, only certain slopes are allowed.
- Encapsulated PostScript. For use in LaTeX with the epsfig package. The size of the file is the size of
the figure itself, and its co-ordinates are relative. Use this for figures in a normal LaTeX document.
- PostScript. The difference being that this considers the figure to be a full PostScript page rather than just
the figure.
- PostScript/LaTeX split files. Here the PostScript is stored in name.pstex, with corresponding LaTeX in name.pstex_t.
The LaTeX file contains a reference to the PostScript file. This way you can use LaTeX or TeX commands in text (for example, to add a
mathematical equation to a figure, enter $4x+y=6.5$ as the text).
The pstex_t file can be included in a standard LaTeX document
(you will need to add \usepackage{graphics} in the preamble). This
approach combines the flexibility of PostScript for drawing figures with the text processing of LaTeX.
- GIF. The de-facto web standard for graphics.
- MetaPost. If you are using the patch available at http://www-sp.iti.informatik.tu-darmstadt.de/software/xfig/, you can export in this format.
If the export fails for some reason, you will get an error message, and fig2dev will print an error message to standard error on your terminal.
Back
|