Documents to be
published at the World Wide Web
must be built as Markup lists, as shown in the left frame below: The main
h
eading gets enclosed by <h1>
and </h1>
Delimiters, the words belonging to
a paragraph are put between a <p>
start tag and a
</p>
end tag. <br />
makes
a line break, <hr />
draws a horizontal line.
Special Characters
like German umlauts or quotation marks can be written in mnemonic or numerical form, like
ö
or “
. Using this
additional information, the web
browser renders the
document on the screen in an appropriate way (right):
<html> |
A SHORT STORYby D. E. Knuth
Mr. Drofnats—or “R. J.,” as he preferred to be called—was happiest when he was at work typesetting beautiful documents. |
A writer cannot predict exactly how the content of the document, which is marked up in that way, gets rendered by the readers’ various internet browsers. For instance, line breaking often depends on window width, and some special characters may not be available on the user’s system.
Documents for high-quality Print are stored in files of a different kind, filled with information about the shape and precise position of every single letter. These files are not readable for humans directly. From the World Wide Web Consortium (W3C), for example, you can download the Extensible Hypertext Markup Language specification (XHTML) in Portable Document Format (PDF) for print with Adobe Acrobat Reader – and you can use Gerolf Markup Shredder (GMS) to create such portable documents out of your hypertext files.
However, Markup Shredder still is buggy and incomplete. Until now, it cannot handle auto-width tables, and it supports only a subset of HTML element tags, attributes and Cascading Style Sheet (CSS) properties. Users should acquire basic knowledge of the markup language because it is often necessary to modify an input file to get a satisfactory PDF conversion. The typesetting is done by an old program called TeX, which is said to have an error-free kernel and to be able to produce high-quality print files.
Markup Shredder runs under Linux, Dos and Windows on Intel-386 compatible machines. It comes with three different user interfaces for the menu items, which form the index of this handbook:
When started for the first time, GMS will Open the file default.htm
, a small, but non-trivial markup file. Now you
can do the following:
[GMS_ROOT]/doc
directory. Each one, placed in its own
sub-directory with the same name, was tested successfully with GMS. Create a new file, based on
maximal/
maximal.htm
as a template, for example, and change it according to
your needs. Learn how to use GMS and study
handbook/
handbook.htm
(this document) as well as
guide/
guide.htm
and
primer/
primer.htm
, if
you’re new to HTML &
CSS.[GMS_ROOT]/fonts
might require
you to modify font.cfg
, encoding.cfg
and
alias.cfg
files in the
[GMS_ROOT]/
etc
folder. Write a new font map
while computing glyph metrics.
Initialize the TeX format file gerolf.efmt
in
[GMS_ROOT]/bin/[system]
.