around
centered[=Bool] Show image centered, not left-aligned.
src=file File name for image.
alt=``text'' Alternative text for image.
title[=``text''] Title text (alt= is used as default).
caption[=``text''] Image caption.
longdesc=URL File containing long description of image.
border=width Border width.
height=height Image height.
width=width Image width.
svg=file SVG version of image.
svgwh[=Bool] Apply PNG/JPEG dimensions to SVG object.
object[=Bool] Create object for SVG.
pdf=file PDF version of image.
larger=file Larger version of image.
ismap[=bool] Set ismap attribute.
usemap=file Image map file.
name=name Item name.
id=name ID for CSS styling.
class=name Class name for CSS styling.
align=name Alignment.
vspace=distance Vertical space.
hspace=distance Horizontal space.
downloads[=Bool] Provide links to download vector graphics
cache Cache image dimensions for images used multiple
times. Image dimensions for images used in
a template are cached automatically.
\%%menu
%% inserts the navigation menu.
The following options are available:
style=... One from ``reverse'' (full menu in reverse
order), ``full'' (full menu), ``top'' (show
only first hierarchy level) or ``current''
(show only current hierarchy level).
sub[=bool] Flag: Show subnodes of current node.
\%%navigation %% inserts a navigation block.
The following options are available:
itop=file Icon for table of contents (``toc.png'').
iprev=file Icon for previous section (``prev.png'').
inext=file Icon for next section (``next.png'').
ikind=file Icon for keyword index (``index.png'').
\%%author%% inserts the author name.
\%%location%% inserts the authors location.
\%%date %% inserts the current node.
The following options are available:
style=name Date style, currently only ``german'' is
allowed to switch from the default
``yyyy-mm-dd'' to ``dd.mm.yyyy''.
\%%var %% inserts a variable value.
The following options are available:
url[=bool] Flag: Encode as URL, not as text.
\%%code %% controls output encoding. By default the
``<'', ``>'' are not replaced by ``<'', and
``>'' as we expect to get correct HTML
from the text files. Replacement of ``&''
by ``&'' is controlled by the
``replace ampersand'' setting in the options
section.
In code mode our text comes from a source
code file, so we have to encode these
characters for HTML output.
The following options are available:
enable[=bool] turns code mode on.
on[=bool] turns code mode on.
disable[=bool] turns code mode off.
off[=bool] turns code mode off.
toggle toggles code mode.
\%%a %% inserts a named anchor or a hyperlink.
The following options are available:
name=name Anchor name.
href=URL Link destination.
title=``text'' Text to show when mouse is over link.
text=``text'' Text for hyperlink.
target=destination Destination windows or frame, i.e. ``_blank''.
type=text MIME type.
external[=bool] Override result of internal/external test.
id=text ID for CSS styling.
class=text Class name for CSS styling.
style=text Direct style information.
hreflang=text Language for href text.
charset=text Character set.
onblur=text Script to execute when link looses focus.
onfocus=text Script to execute when link gets focus.
accesskey=text Hotkey for link.
tabindex=number Tabulator index.
shape=text Link shape form.
coords=text Coordinates.
rel=text Information for link to next element.
rev=text Information for link to previous element.
\%%menuentry %% inserts code to visualize a menu entry.
The following options are available:
item=``text'' Text of the menu entry, can be used
multiple times for hierarchical menus.
\%%sourcefile %% shows a file contents in a
environment and provides a download
hyperlink. The following options are available:
file=file File name.
type=text MIME type.
title=``text'' Text shown when mouse is over hyperlink.
Text file
---------
Text files contain the page contents.
You can use headings like
.1 @name@ Heading text
for a structural document. Depths 1, 2, 3, 4, or 5 are converted to
... headers. A header is used for the page title.
The @name@ specification is optional, it results in a named anchor
before the heading. If the name specification is omitted, an anchor name
is generated automatically.
Text files can use the special commands listed in ``Template file'', execpt
\%%contents%%. Additionally the following special command can be used
in text files:
\%%index %% adds an entry to the keyword index.
The following options can be used:
text=``text'' Keyword.
name=``text'' Name of a named anchor.
reference[=bool] Flag: Use existing named anchor, do not
create an anchor.
NOTES
All text files, style files and images must be local files
in the current working directory.
AUTHOR
Dipl.-Ing. Dirk krause
HISTORY
2013-11-30 work on program was started.
COPYRIGHT AND LICENSE
Run
htmlbook --license
to see the license conditions.
SEE ALSO
tidy