@c  rhidemac.txt: -*- Texinfo -*-

@c -------------------------------------------------------------------------
@c
@c Macros for making RHIDE documentation in text format.
@c
@c Author: Robert Hhne (robert.hoehne@mathematik.tu-chemitz.de)
@c         May 1995.
@c
@c Dreived from 'faqmacros.txi', which is part of DJGPP FAQ written
@c by Eli Eli Zaretskii (eliz@is.elta.co.il)
@c
@c Many ideas taken from files `multifmt.texi' and html.texi'
@c written by Brian J. Fox and distributed with GNU Texinfo archive:
@c
@c Author: Brian J. Fox  (bfox@ua.com)	       Sun Apr  2 07:56:23 1995.
@c
@c -------------------------------------------------------------------------


@ifclear html

@c
@c ------------------- non-HTML part ----------------------------------
@c

@macro HOEHNE{}
Hhne
@end macro

@macro html
@end macro

@macro htmltitle{line}
@end macro

@macro htmlsubtitle{line}
@end macro

@macro htmlauthor{line}
@end macro

@macro bye
@end macro

@macro anchor{text, link}
\text\, \link\
@end macro

@macro TeX
@TeX{}
@end macro

@macro paragraph{}
@sp 1
@end macro

@macro email{name, address}
\name\ <\address\>
@end macro

@macro ftp{desc, path}
\desc\, e.g. ftp://\path\
@end macro

@macro ftpdir{host, dir}
\host\, directory \dir\
@end macro

@macro ftpusr{desc, host, login, passwd}
\desc\ (FTP to \host\, login as \login\, give \passwd\ as password)
@end macro

@macro www{desc, path}
\desc\, at this URL:
@sp 1
@display
http://\path\
@end display
@sp 1
@end macro

@macro gopher{desc, path}
\desc\, gopher://\path\
@end macro

@macro news{name}
\name\ Newsgroup
@end macro

@macro html-define-0arg{command, html-insertion}
@macro \command\
@\command\
@end macro
@end macro

@macro html-define-1arg{command, html-insertion}
@macro \command\{arg}
@quote-arg
@\command\{\arg\}
@end macro
@end macro

@macro html-define-line{command, html-insertion}
@macro \command\{line}
@\command\ \line\
@end macro
@end macro

@macro titem{line}
@item \line\
@end macro
@macro titemx{line}
@itemx \line\
@end macro
@macro titeml{line}
@itemx \line\
@end macro

@macro quest{stuff}
@quote-arg
@emph{@strong{Q}: \stuff\}
@sp 2
@end macro

@macro ans
@strong{A} :
@end macro

@c

@macro mxref{node, desc, title, file, doc}
See Section '\node\' in documentation for '\doc\'
@end macro

@macro xref{node}
See \node\
@end macro

@macro extref{node, desc, file, title, url}
See \desc\ in ``\title\'', or point your Web browser to http://\url\
@end macro

@macro footnote{stuff}
@quote-arg
(\stuff\)
@end macro

@end ifclear

@c
@c =================================================================
@c

@c
@c ---------------- Common part ------------------------------------
@c

@html-define-1arg{b, <b> \\arg\\ </b>}
@html-define-1arg{code, <code> \\arg\\ </code>}
@html-define-1arg{file, <code>\\arg\\</code>}
@html-define-1arg{emph, <em> \\arg\\ </em>}
@html-define-1arg{strong, <strong>\\arg\\</strong>}
@html-define-1arg{kbd, <kbd>\\arg\\</kbd>}
@html-define-1arg{key, <kbd>\\arg\\</kbd>}
@html-define-1arg{samp, <samp>\\arg\\</samp>}
@html-define-1arg{var, <var>\\arg\\</var>}
@html-define-1arg{dfn, <dfn>\\arg\\</dfn>}
@html-define-1arg{i, <i> \\arg\\ </i>}
@html-define-1arg{t, <tt>\\arg\\</tt>}
@html-define-1arg{sc, <b><tt>\\arg\\</tt></b>}
