SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

This is fig2pstricks, a fig-to-pstricks converter. To compile, simply

make

To install, copy the resulting fig2pstricks anywhere. It is good if you use it to convert xfig files generated by R. It understands fig depths. You can also control depths through text() command from R.

Fig2pstricks is distributed under GPL.

Examples

fig2pstricks ex.fig > ex.tex # or
fig2pstricks -o ex.tex ex.fig
# and then you \input ex from a latex file, or make a complete latex file fig2pstricks -c -o ex.tex ex.fig
# then it's ready to latex.
# If you use prosper, do
fig2pstricks -c --prosper -o ex.tex ex.fig # And if you want to attach opening $ and closing $ for every text, fig2pstricks -c --prosper -o ex.tex ex.fig -m # You can also change the prosper "themes" by -F option, and add title # text by -T option. If you have lots of dots in the fig file (eg # if you used point() function in R, then "-d" option reduces the size # of output latex file.
# You can also do a pdf slide show if you have (i) prosper and (ii) # acroread or xpdf. Find it out yourself. "-h" or "--help"

TODO

The actions of -u and -s options should be clarified. I think -u option sets \psunit and -s option scales the numbers up/down hardcoded.

Enjoy.
Chirok Han (beanerjo@yahoo.com)


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.