home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / vol_300 / 334_02 / readme.trs < prev    next >
Text File  |  1991-02-05  |  1KB  |  26 lines

  1. gnut2p translator - David Kotz January 1990
  2.  
  3. This program converts gnutex files to gnuplot files.  It does its
  4. best, but is not perfect. Most of gnutex will translate directly, some
  5. things will translated easily (such as 'set size'), but some things
  6. cannot be translated (such as 'set style'). One thing this program
  7. does is to move plot commands down past the 'label' and 'key' commands
  8. (which change into 'set label' and 'set key' commands). This may move
  9. it past other commands. If it moves past variable or function
  10. definitions, 'set' commands, or other commands which affect the plot
  11. command's execution, then the new version will be incorrect. I expect
  12. this case to be rare; indeed, I generally expect the last lines in
  13. GnuTeX input files used with LaTeX to consist of 'plot, label,' and
  14. 'key' commands.
  15.  
  16. The usage of this program is simple: 
  17.  
  18.    gnut2p infile outfile
  19.  
  20. 'infile' is an existing GnuTeX file, and 'outfile' will be created as
  21. the GNUPLOT equivalent. The errors, warnings, and explanatory comments
  22. appear on stderr. Any use of line continuation will be lost, and some
  23. instances of the input style (eg, white space) may be changed.
  24.  
  25. To build this program, see the Makefile. It is fairly straightforward.
  26.