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.
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]/
doc
, 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.
Enter gms
-c
/myfolder/newfile.htm default/default.htm
(Linux) or gms
/c
x:\myfolder\newfile.htm default\default.htm
(Dos, Windows) to create a markup
document that is based on [GMS_ROOT]/doc/default/
default
.
You can shorten the template name
from default\default.htm
to default
,
but if you say default.htm
, an existing file with that name
in the current directory, instead of [GMS_ROOT]/doc/default
,
might be used as a template.
The given example is essentially the same as the command copy
%GMS_ROOT%\doc\default\default.htm
x:\myfolder\newfile.htm
(Dos or
Windows), respectively cp
$GMS_ROOT/doc/default/default.htm
/myfolder/newfile.htm
(Linux),
if the [GMS_ROOT]
environment variable is set to the GMS
installation folder.