Index

Edit

Web Browser

If you click on [E], you can edit the HTML file that you have opened or created.

You can save the file by clicking with the right mouse button on the file name which is displayed on top of the frame content. Select Save target as or Open in a new window, where you can choose File/Save in the main menu.

Your browser’s word search function works in the text area like on any other web page, but line numbers are missing, and there is no syntax highlighting. So you will prefer to use an external editor.

If you click into the text area with the left mouse button and then open the context menu with the right one, you can select Mark all and Copy. Then open another editor like Note­pad, Front­Page or HTML-Kit (Windows) respectively Kwrite, Nedit or (X)Emacs (Linux), where you can paste the content from the clipboard. Similarly, you can re-transmit any modified text into the GMS text area in the browser after you have deleted its old content by pressing [Ctrl+A] to mark all and then [del].

Text Mode

If you press [E], an external program to edit the source file is executed. By default, it is edit.com (Dos) or notepad.exe (Windows). On Linux, it is vi, if none of the following is found in the /usr/bin directory: gedit, kedit, emacs, xemacs, quanta, kwrite, or nedit.

You can select another editor if you press [S] and [P]. The editor binary, or a link to it, should be found in the search path or in [GMS_BI­NA­RIES], a sub-directory of [GMS­_ROOT]/ht­docs/tex­mf/binbin.

Command Line

In the command line, say gms -e /my­fold­er/my­file.htm (Linux) or gms /e x:\my­fold­er\my­file.htm (Dos, Windows) to edit a markup document. If the file was opened or created before, it is sufficient to call gms -e or gms /e.

Alternatively, you can execute the command kedit /my­fold­er/my­file.htm (Linux), edit x:\my­fol­der\my­file.htm (Dos) or notepad x:\my­fold­er\my­file.htm (Windows).

Appendix