File
This menu allows you to carry out application-independent file
operations,
e.g. read
ESIS
files and save the current contents . It's rudimentary at
present.
For information on the Table of Contents, see View menu.
- Redisplay. This redisplays the table of contents;
it's normally only
used when you have altered the View settings. See the
View
menu for more information.
- Load ESIS. Reads an ESIS file and loads it into costwish
(It does NOT check that
the input is a valid ESIS file). The ESIS tree is then displayed in the
TableOfContents. If the ESIS contains a DTD name (the first tag), it will
attempt to load postprocessing software (*.tcl) for this DTD. (by default
the software for, say, CML is in the cml/ directory and has two files
postproc.tcl and local.tcl. This will probably change and be configurable.
-
Load Norm-SGML. Loads a fully normalised SGML file and translates it
(WITHOUT using a DTD) into ESIS. Then follows 'Load ESIS'. (NOTE: parsing
an SGML file without a DTD is dangerous unless you are clear that the file
is fully normalised and has been designed to be parsed in this way.)
-
Load SGML+DTD.
This activates an SGML parser (default is sgmls)
which uses the DTD in the *.sgm to
produce an ESIS stream. Then follows 'Load ESIS'.
The parse command may require to be tweaked locally to take account of any
SGML catalogs, environment variables, etc. This setup is done by a combination of the setup script (dot_login) which sets environment variables (e.g.
SGML_CATALOG_FILES) and costwishini.tcl (which configures the command to run
an SGML parser). costwish merely runs this
command and routes the output to CoST. Any SGML parsing errors will come
up in a separate widget; I have tried to make them less impenetrable than
usual. If you have any problems, however,
you'll be well advised to run some trial parsing outside of costwish,
get it right and then submit the ESIS to costwish.
- Save as SGML.
Not yet working fully. You need to provide a list
of EMPTY tags for any DTD used.
- Save as HTML.
This requires the user to provide a conversion table.
Not yet done.
- Reset.
Attempts to reset the program to its pristine state (but I expect
there is a lot to do here). Loads a null ESIS file - the single character 'C'
- which hopefully clears memory.
- QUIT. Exists from the program and deletes temporary files such as gifs
and *.mdl files. May or may not kill any helper applications such as
RasMol.
Peter Murray-Rust
April 1996