Help > Authoring > Fundamental Tasks > Managing Documents > Saving a Document
  
Saving a Document
As you work in your document, save it periodically to prevent possible loss of work. If you are working in Arbortext Editor with context checking on, you automatically create a valid, ISO 8879-compliant SGML document.
You can save your changes without closing Arbortext Editor by choosing File > Save, or File > Save All.
You can save your changes and exit Arbortext Editor by choosing File > Exit. If the file has been modified since your last save, you will be asked if you want to save your changes.
Using the instructions that follow, you can:
save a new document
save an existing document
save all open documents
save a portion of a document
automatically save a document
save a document using the write command
To save a new document:
1. Choose File > Save. The Save As dialog box appears with the cursor in the Save as text box.
2. Type a name for your document in the Save as text box. You can use any character in a name except a blank space or the following: * ? . , ; [ ] + = \ : | < > /.
3. Click OK. The file name appears on the title bar. If you do not add a file extension, .sgm is automatically supplied to indicate an SGML file. If a file already exists with the name you supplied, you will be asked if you want to overwrite the file.
Click OK. The file name appears on the title bar. If you do not add a file extension, .xml is automatically supplied to indicate an XML file. If a file already exists with the name you supplied, you are asked it you want to overwrite the file.
To save an existing file:
1. Choose File > Save. Your document is saved without closing Arbortext Editor.
To save all open documents:
1. Choose File > Save All to save all open files.
2. For each modified document that is open, Arbortext Editor asks whether you want to save the document.
3. If any document is unnamed, a Save As dialog appears so you can name and save it. You can use any character in a name except a blank space or the following: * ? . , ; [ ] + = \ : | < > /. If a file already exists with the name you supplied, you will be asked if you want to overwrite the file.
To save a portion of a document:
1. In the document, highlight the desired text.
2. Choose Edit > Copy to put the region into the paste buffer.
3. On the command line, enter: write -paste <filename> where <filename> is a unique name for the file you are creating.
Arbortext Editor creates a file called filename containing the selected text.
You can save your document automatically at a specified time interval. Go to Tools > Preferences and select the Save category. Click the Write Recovery File Every check box and set the Minutes interval.