CMed User Instructions

These instructions provide the user with a guide on how to perform HTML editing operations using the CMed editor. They are not intended to represent a tutorial on creating HTML documents, as such tutorials can be found on many Internet sites (such as The Bare Bones Guide to HTML and A Beginners Guide to HTML ). These instructions assume the reader has basic knowledge of the Microsoft Windows user interface.

    To create a new file:
  1. Select New from the File menu, or press Ctrl+N whilst in editing mode, or select the New button from the toolbar.
  2. Use the series of dialog boxes to specify the main tags for your new HTML document.
    To open a file:
  1. Select Open from the File menu, or press Ctrl+O whilst in editing mode, or select the Open button from the toolbar.
  2. Select the file you wish to open by using the File Open dialog box that is displayed.
    To save the current file:
  1. Select Save from the File menu, or press Ctrl+S whilst in editing mode, or select the Save File button from the toolbar. Note that if you havent already specified a filename the Save As dialog box will be displayed so that you may do so.
    To save the current file under a new name:
  1. Select Save As from the File menu.
  2. Specify the filename and path you require by using the Save As dialog box that is displayed.
    To preview the printer output of the current file:
  1. Select Print Preview from the File menu.
  2. A preview of the printed document will be shown. Press the Close button when you wish to return to editing mode.
    To print a file:
  1. Select Print from the File menu, or select the Print button from the toolbar, or press the Print button whilst in printer preview mode.
  2. Complete the Print dialog box that is displayed, pressing Ok when ready.
  3. If there is an error in printing, or the file does not print, please ensure that your printer is configured correctly by selecting Print Setup from the File menu.
    To change the printer and printer options:
  1. Select Print Setup from the File menu.
  2. Configure your printer by using the dialogs that are displayed.
    To select a HTML browser to use for testing:
  1. Select Preferences from the File menu.
  2. Specify the browser executable you wish to use by either typing its complete path into the dialog box, or by pressing the Browse button and then using the browsing dialog box to select the browser executable. Note that CMed will not let you to enter a browser path that does not exist.
    To test the current file with a HTML browser:
  1. Select Browser Test from the File menu.
  2. Your file will automatically be saved, and the browser you have specified by using the preference dialog will be executed on the newly saved file. If you havent specified a browser you will be asked to do so. If the current file has never been saved you will be asked to save it. If there is any error in executing the browser, you will be informed and should check the browsers setup.
    To open a recently used file:
  1. The four most recently edited files can be opened by selecting their titles from the File menu.
    To cut, copy, paste and delete text:
  1. The cut, copy and paste functions are availabe from both the Edit menu and the toolbar. They perform the respective operation on the currently selected text.
  2. The selected text can be deleted by selecting Delete from the Edit menu.
    To select the entire file:
  1. Choose Select All from the Edit menu.
    To perform find and replace operations:
  1. Select Find or Replace from the Edit menu, and use the standard dialog box that is displayed.
    To undo the last operation:
  1. The last cut, paste, general typing, or HTML tag insertion operation can be undone by selecting Undo from the Edit menu, or by pressing CTRL+Z. Note that if no operation can be undone, then the Undo menu item is disabled.
    To insert HTML 2.0 or HTML 3.0 tags:
  1. Select the text you wish to have the tags inserted around.
  2. Select the HTML element you wish to insert by choosing a menu item from the Font, Style, Lists, Structure, or Element menus or their submenus. Note that whilst you are browsing the menus, the HTML tags that will be inserted if you select the current menu item are shown in the status bar at the bottom of the CMed menu. HTML 3.0 specific elements are indicated by a (HTML3) in the menu item. Although CMed does not actually check to see if you are inserting HTML tags into a valid position in your file, it does provide a guide through the indentation of the HTML menu items. If you are going to select a HTML element that is represented by an indented menu item, please ensure that the current cursor position is within the content of a HTML element which is represented by the menu item with the next lesser indentation. By following this simple guideline, and taking care in selecting your insertion points, CMed can easily be used to generate valid HTML.
    1. If the element you have selected has no attributes, then the elements start tag will be inserted into your file before the selected text, and the end tag (if needed) will inserted after the selected text.
    2. If the element youve selected does have attributes, a dialog box will be displayed enabling you to enter values for those attributes. Simply fill in the attribute values you want to specify and leave the others blank. Press the OK button when you are finished. CMed will not allow you to enter any illegal attribute values. Should you attempt to do so, CMed will inform you of your error and you will be returned to the dialog box to correct it before proceeding with the insertion. If the element you have selected has attributes that require a value, and you press the OK button without actually specifying a value for those attributes, CMed will inform you of your error, and indicate the attribute that needs to be specified.
    3. If the element you have selected is both a HTML 2.0 and HTML 3.0 element, the attribute dialog box for that element will have a HTML 2.0 mode and a HTML 3.0 mode. When the attribute dialog initially appears it will be in HTML 2.0 mode, as indicated by the (HTML 2) in its title bar. If you fill in the attribute values shown whilst the dialog is in this mode and press the OK button, CMed will insert HTML tags that contain only valid HTML 2.0 attributes. If you press the HTML 3>> button, the dialog will expand to HTML 3.0 mode, as indicated by the (HTML 3) in its title bar. The additional attributes allowed by the HTML 3.0 specification will be shown to you. If you supply values for any of these attributes, you will insert HTML tags that contain valid HTML 3.0 attributes. You will also notice that the HTML 3>> button will change to << HTML 2 when the dialog box is in HTML 3 mode. You can use this button to toggle the dialog box between the two modes.
    To insert Netscape Extension tags:
  1. Select the text you wish to have the tags inserted around.
  2. Since the HTML extensions of the Netscape Corporation are not actually a part of the HTML 2.0 or HTML 3.0 specification, they are included in CMed in the separate Netscape Exts menu. Select an element from this menu, or any of its sub-menus. Notice the (NE) label in the menu items to remind you that these are Netscape extensions.
  3. If the element you have selected has attributes, an attribute dialog box will be displayed. As with HTML 2.0 and HTML 3.0 attribute dialog boxes, CMed will check any values you enter for validity, and will inform you if you have neglected to enter a value for a required attribute.
    To insert the HTML 3.0 ID, CLASS and LANG attributes:
  1. The ID, CLASS, and LANG attributes are valid for almost all HTML 3.0 elements, and have their own separate menu item and attribute dialog to avoid cluttering the other dialogs. To insert these attributes correctly, place the cursor at the end of the start tag of the element you wish to insert them in, and select ID/Class/Lang from the Elements menu.
  2. The attribute dialog box will be displayed and you must check to see if the start element you are inserting the attributes into is not one of those listed as invalid in the attribute dialog. If it is, you should select the Cancel button to stop the insertion operation. If the element is not in the list, simply use the attribute dialog as you would any other.
    To specify a Uniform Resource Locator:
  1. Certain elements have attributes of the Uniform Resource Locator (URL) type. URLs can be typed into the attribute dialog like other values or you can press the URL button that is always present on the left hand side of URL values. Pressing the URL button will display the URL builder dialog box. Pressing the Browse button of the URL Builder will enable you to specify a local file to be used as the URL. Please ensure that your URL is correct, as CMed performs no checking to ensure this.
    To repeat the last HTML tag insertion:
  1. Select the text you wish to have the last tag insertion operation repeat upon.
  2. Select Repeat Last Tag Insertion from the Edit menu, or press CTRL+R.
    To organise the layout of CMeds windows:
  1. The CMed applications window layout is controlled through the use of the menu items in the Window menu.

Please, any and all comments to
mathe_cg@ee.uwa.edu.au

HTML 3.0 (Beta) Checked!