
20. Saving and publishing documents
You can save (X)HTML documents either in (X)HTML or as plain text. Other documents (SVG,
MathML, XML or CSS) are saved according to their original format. You can save both remote and local
documents with three different commands, Save, Save as, and Save all.
In addition, you can change a number of publishing options using the Publishing Preferences dialog.
Open this dialog by choosing Preferences / Publishing from the Edit menu (or amaya / Preferences on
Mac OS X).
Amaya does not provide any global view of a set of pages installed on a server. However, you can save
files from a remote server in the same way you save local files, using the Save as commands. During
these operations, Amaya can also save the resources you have associated with the document (images,
style sheets, scripts).
20.1. The save command
The Save command saves the current document to its original location, be it local or remote. You can
access the Save command by choosing Save from the File menu, clicking the Save button on the
button bar, or by using keyboard shortcuts Ctrl-s. Newly added images are saved in the same directory
automatically; confirmation is only requested when the document was downloaded from a web server
and its name is unknown.
You can also fetch a document from web servers by specifying only the server directory name, but not
the file name. This may be useful when browsing, but a file name is required by the HTTP Put method.
In this case, Amaya detects that the document name is missing and asks you either to use a default name
or to provide one.
Note: Use the Save As command to save your document to a different location.
20.2. The save all command
The Save all command allows you to save all documents open in Amaya that have been modified and
not saved yet. It works exactly like the Save command, but for all the modified documents, not only the
current one.
This command may be called from the File menu or by clicking the button on the button bar.
20.3. The save as command
Choosing Save As (Ctrl-Shift-s) from the File menu opens the Save As dialog, which allows you to
save the current document with a different format and to a different location.
You can:
• save the document alone or with its resources (images, objects, style, scripts) to a local disk or
to a remote web server;
• embedded images and objects can be saved into the same directory as the document or to a
different location;
• embedded style (including imported style sheets and images) and scripts can be saved into the
same directory as the document or to a different location;
20. Saving and publishing documents
65
Comentários a estes Manuais