The main command is gloss, provided as shell script and batch file. This simply calls uk.ac.bham.gloss.Gloss. The normal use is "gloss FILE.EXT.gloss" which performs the following operations. (Here, words in capital letters are not literals should be replaced with myfile or html or whatever.)
In the case of xhtml and html files, this should generate elegant and standards-conforming (x)html ready to upload to a web server. The additional files such as any css files may be edited for further configuration.
It is often useful to have a number of different mv's all producing (say) html and all operating on files in the same directory. For this reason, the convention is to name files using the "." and "-" characters as follows.
As just described, FILE.EXT.gloss is converted to FILE.EXT using the copy of EXT.MV that is "nearest" to the source file, and possibly copying files from http://gloss.bham.ac.uk/lib/EXT/*.
For alternative versions, FILE.VER-EXT.gloss is converted to FILE.EXT (dropping the version part "VER") using the copy of VER-EXT.mv that is "nearest" to the source file, and if this is a library mv, possibly also copying files from http://gloss.bham.ac.uk/lib/VER-EXT/*.
This may sound complicated, but adherence to these conventions will help greatly in helping you remember which input files generate which output.
The command gloss has a great number of other options which are described in more detail here.
This page is copyright. Web page design and creation by GLOSS.