Index

Create

Web Browser

You will have most success working with Markup Shredder, if you start to create your document on the basis of a template file that is tested to be convertible into PDF by GMS. Replace the old content with new text written by yourself, leaving intact parts of the markup, which tells the browser (and GMS) how to render the content.

Click on [C] to see the list of templates which are available. Select one and click on [Accept]. GMS then will create a copy of it, give it a random name and save it temporarily in the server’s folder for guests’ files. You get a short acknowledgement, if you are given access to this file, so you can edit it.

You still have to download this file and save it under an appropriate name on your local computer. Your file will be removed from the server after a certain time, depending on creation date.

Text Mode

If you press [C] to create a new document, you see the simple file selection dialog that is described in the Open section. This window shows the content of [GMS­_ROOT]/docdoc, the template directory.

1. Change into one of the sub-folders and select the HTML file that is given the same name. 2. Change into another existing directory where you want to save a copy of the template file and press [Q] to quit the dialog. 3. Enter an appropriate name for this new file. You will be prompted if a file with that name already exists.

On Windows 32, use Explorer to create a copy of any template. Click on Copy and Paste in the context menu which is accessible with the right mouse button. In KDE for Linux, select Copy to in the context menu.

Command Line

Enter gms -c /my­fold­er/new­file.htm de­fault/de­fault.htm (Linux) or gms /c x:\my­fold­er\new­file.htm de­fault\de­fault.htm (Dos, Windows) to create a markup document that is based on [GMS_ROOT]/doc/de­fault/de­fault.htmde­fault.

You can shorten the template name from de­fault\de­fault.htm to de­fault, but if you say de­fault.htm, an existing file with that name in the current directory, instead of [GMS_ROOT]/doc/de­fault, might be used as a template.

The given example is essentially the same as the command copy %GMS­_ROOT%\doc­\de­fault\de­fault.htm x:\my­fold­er\new­file.htm (Dos or Windows), respectively cp $GMS­_ROOT/doc/de­fault/de­fault.htm /my­fold­er/new­file.htm (Linux), if the [GMS_ROOT] environment variable is set to the GMS installation folder.

Appendix