NMP v1.0 by Peter Blokland  16-3-1998

Well, this is it, version 1.0 of the NEdit macro package for POV-Ray(tm), or
NMP for short.

It requires the following :
	- a *nix machine (I use Linux, but other *nix's should work)
	- NEdit version 5.0 or greater (I made this with 5.0.1)
	- x-povray (I use 3.02, don't know if it'll work with older ones)


What does it do :
	This macro package adds the following functionality to NEdit :
	- a submenu 'POV-Ray' to the 'Macro' menu, containing all
	  POV-Ray commands as in the pull-down menu of the Windoze
	  editor. Just click on one, and the item is inserted in 
	  the open file.
	- A shell-command 'POV-Ray' (alt P), calling x-povray with only
	  three options : input-file, output-file (==input-file with added
	  '.tga' on the end) and the '+D' (display) switch. All other
	  options are read from your '.povrayrc' file.
	- A macro 'Trace' (alt T), prompting for options and then calling
	  x-povray.
	- A macro 'Trace with .INI' (alt I) prompting for the name of an
	  '.ini' file and tracing with the options therein (you have to
	  add the suffix '.ini' or you'll get an error).
	- The macro's and shell_command can also be activated from the
	  'window-background menu' (a right-click on the NEdit background
	  pops-up this menu)
	- All three ways of calling x-povray will open a new NEdit window,
	  showing the parser-output, and of course the x-povray display.
	  This window will stay up after rendering, you'll have to close
	  it yourself.
	- Basic syntax-highlighting for '.pov' and '.inc' files.
	  

Installation :
	- backup your current '.nedit' file, located in your
	  home directory
	- copy 'dot_nedit' to '.nedit' in your home directory
	- if you have POV-Ray installed correctly, it should now work
	- if POV-Ray complains that it cannot find files, check your
	  .povrayrc for the correct path of the povray-files (usually
	  /usr/local/lib/povray3)
	- If x-povray won't start at all, check whether it's location
	  (usually /usr/local/bin) is in your PATH statement. If not,
	  add it to the path-statement in your .cshrc (or .tcshrc or
	  .bashrc, whichever shell you use).
	
Bugs :
	- If you hadn't saved your file before calling x-povray, you'll
	  probably get an error. You won't lose your file, though :-)
	- Output-files are generated in the directory where the input-
	  file is stored (unless you say otherwise), so if you don't
	  have write-permission there, you'll get an error. This is
	  likely going to happen if you try to trace the demo's from
	  /usr/local/lib/povray3.
	- If you had customized your .nedit file already, you'll have
	  to use some cut'n'paste actions to restore those customizations
	  (that's why you have to backup your original .nedit-file)
	- Anyone ?

TODO :
	- Fix the few bugs found so-far (although they could be called
	  features, of course :-))
	- Add more elaborate macro's for setting options (like for
	  animation)
	- Improve syntax highlighting
	- Add smart-indent macro's for .pov and .inc
	- Suggestions ?
	
Questions, suggestions or bug-reports are welcome. Just mail me at
'peter@ph.tn.tudelft.nl'. Flames will be redirected to /dev/null.
If you make any additions to this package, please let me know. I'll
incorporate any useful extra's, so other users migh also benefit.

Newest version available through my web-page :

http://www.ph.tn.tudelft.nl/~peter/graphics.shtml

Legal stuff :
-------------

This package published under the conditions of the GNU General Public
License (GPL) version 2.

I am in no way connected to either the POV-Ray Team(tm) or the makers
of NEdit. If you have any questions reagrding this package DO NOT, I
repeat, _DO_NOT_ write to them ('them' being the POV-Ray Team(tm) or
the Fermi National Accelerator Laboratory). Any question or comment
shall be send to me at 'peter@ph.tn.tudelft.nl'.

As you'd guess, I'm in no way responsible for any damage resulting from
the use of this software.

POV-Ray(tm)
-----------

POV-Ray(tm) is (C) The POV-Ray Team(tm)
The Windows(tm) version is (C) Christopher J. Cason

Latest version can be found through http://www.povray.org

NEdit :
-------

NEdit is (C) Fermi National Accelerator Laboratory (FNAL)

Authors

Mark Edel, Joy Kyriakopulos, Arnulfo Zepeda-Navratil, Suresh Ravoor, 
Donna Reid, Jeff Kallenbach

Fermi National Accelerator Laboratory
MS 234
P.O.Box 500
Batavia, IL 60510

EMAIL: edel@fnal.gov

"This work was performed at Fermi National Accelerator Laboratory, 
 operated by Universities Research Association, Inc., under contract 
 DE-AC02-76CH03000 with the U.S. Department of Energy."

Latest version can be found at : ftp.fnal.gov/pub/nedit	
