] >
If you use the Windows Gloss Installer to install Gloss then there will be more than one way for you to gloss a file, and each method is just a different way of accessing the 'gloss' batch file which is found in the gloss installation directory. A batch file is a set of instructions for the Windows OS, in this case it tells Windows how to begin the glossing process.
The very first thing you will need to do is write a new text file and save it with extension FILENAME.EXT.gloss. The FILENAME part is the name of your file, the EXT part is the extension of the 'glossed' document, we will be using extension .xhtml. The .gloss part tells us we are writing a gloss file. Once glossed, the output file will be called FILENAME.EXT. If you are still unclear about how to use a text editor or have not yet found one suitable, please see the section jEdit for an a quick guide to using jEdit.
For example, suppose we want to create an XHTML web page which we will write in gloss. First we save our source gloss file with name villa.xhtml.gloss
, we then gloss our file, and get the XHTML file villa.xhtml
as output. If I wanted to create a HTML file instead, I could name the source file villa.html.gloss
and get the output file villa.html
.
I will now discuss the different ways you can gloss your source file.
If you wish to use the Command Prompt you will have to learn a few Command Prompt basics. Please see the section: Command Prompt Basics
Once gloss is installed, you will be able to access the gloss program via the command prompt. The command prompt can be accessed via the start menu at Start > Programs > Accessories > Command Prompt or using the run window at Start > Run... and typing cmd
You can use any of the following commands to perform an action with the gloss command line. Please note you have to either: navigate the command prompt to the directory of the file you want to gloss before you use the gloss commands, or use the full pathname of the file you want to gloss and then you won't need to navigate the command prompt. See the section Command Prompt Basics for details on how to navigate, and entering full pathnames. There is also a list of 'switches' that you can add if you wish to do something a little different. These are preceded with a hyphen (-switch), and are completely optional. An example of using a switch is gloss FILENAME.EXT.gloss -mv MVFILENAME.mv
which lets you specify the mv file to use. A few of the gloss command lines are as follows:
gloss FILENAME.EXT.gloss
gloss FILENAME.EXT.gloss -mv MVNAME.mv
... -dest DIR
There are many more options, please visit the gloss homesite page: The Gloss command line
The Windows Gloss installer will add new menu items to the 'right-click' menu for all gloss files. Gloss your source file by right clicking it and choosing Gloss this file. You will see some other gloss-related options that will be described in the later section Transforming your XHTML
This page is copyright. Web page design and creation by GLOSS.