Why standard macros ?
These macros are defined to let the user customize the appearance of anyHyperGuide
, which uses the standard macros. For example one user has a screen size of 640x400
and another 800x600, so these two user needs different font sizes for the different
sections of a HyperGuide document. The first one sets the title font size two 15
pixel and the second user perhaps to 24 pixel.
Current standard macros :
Fonts
- @{titlefont}
- Normally used to display the document title. This should be the biggest of the
standard font macros.
Default: `times 24'
- @{subtitlefont}
- Normally used to display the document sub title or the title of a internal
node. This should be smaller than the `@{titlefont}'.
Default: `times 15'
- @{chapterfont}
- Normally used to display the chapter title.
Default: `times 15'
- @{sectfont}
- Normally used to display the title of a section within a document.
This should be smaller than the `@{subtitlefont}'.
Default: `times 13'
- @{subsectfont}
- Normally used to display the title of a sub section within a document.
This should be smaller than the `@{sectfont}'.
Default: `times 11'
- @{fixedfont}
- macro for fixed size fonts
Default: `courier 11'
- @{bigfont}
- macro for big fonts :)
Default: `helvetica 24'
- @{smallfont}
- macro for small fonts :)
Default: `helvetica 9'
Misc
- @{point}
- Used to define the begin of an item within an list or enumeration
Default: `·'
Internet
The following internet macros are placed in the `internet.hgm' file :
- @{mailto <text> <email-address> <subject>}"
- Used to define a button to execute a mailer program for the given email
address and subject.
Default: `@{\"$1\" rx \"mail.rexx $2 $3\"}'
- @{http <text> <url>}
- Used to define a button to execute a HTML browser program for the given URL.
This is used to open a html page in the WWW. In future this can be a simple
@{object} attribute if the html.datatype is available.
Default: `@{\"$1\" rx \"http.rexx $2\"}'
- @{aminet <text> <aminetpath>}
- Used to define a button to execute a aminet access program for the given
aminet file. The file should be consist of the aminet directory and file
name. For example : util/dtype/HTDS.lha
Default: `@{\"$1\" rx \"aminet.rexx $2\"}'
- @{ftp <text> <ftp-address>}
- Used to define a button to execute a ftp access program for the given ftp
address.
Default: `@{\"$1\" rx \"ftp.rexx $2\"}'
For all these macros there exists a special version, which displays theappropriate
address as the text link. Just add a _addr to the macro name and omit the text
field.
Default Macro File
For each HyperGuide object, the hyperguide.datatype tries to load the `Default.hgm'
macro file. This have to be in the directory configured by the HyperGuide prefs
file. If you haven't set a macro directory, it have to be in the `Help:HyperGuide'
directory.
See Also
Macros , Configuration , Text Font
HTML Conversion by html.export V40.4 , HTDS HTML-Export Class (C) 1997 by Stefan Ruppert