@c rhidemac.htm: -*- Texinfo -*- @c ------------------------------------------------------------------------- @c @c Macros for making RHIDE documentation in HTML format. @c @c Author: Robert H”hne (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 ------------------------------------------------------------------------- @ifset html @c @c --------------------- HTML part ---------------------------------- @c @macro HOEHNE{} H”hne @end macro @c @c This creates a standard HTML prolog. @c @macro html @format @end format @end macro @c @c TITLEs for HTML @c @macro htmltitle{line} @* @w{ \line\ }@* @* @* @w{

\line\

}@* @end macro @macro htmlsubtitle{line} @w{

\line\

}@* @end macro @macro htmlauthor{line} @w{
\line\
}@* @end macro @c @c When making HTML output, @bye does some cleanup. @c @macro bye @* @* @bye @end macro @c @c @anchor{Brian Fox, http://www.ua.com/users/bfox/} @c @macro anchor{text, link} @w{\text\} @end macro @macro TeX TeX @end macro @macro paragraph{}

@end macro @c @c @email{Eli Zaretskii, eliz@@is.elta.co.il} @c @macro email{name, address} @w{\name\} @end macro @c @c @ftp{SimTel, ftp.coast.net/SimTel/vendors/djgpp/} @c @macro ftp{desc, path} @w{\desc\} @end macro @c @c @ftpdir{ftp.coast.net, /SimTel/vendors/djgpp} @c @macro ftpdir{host, dir} @w{\host\} @end macro @c @c ftpusr{riceng.rice.edu, login: ezgcc, passwd: ezgcc} @c @macro ftpusr{desc, host, login, passwd} @w{\desc\} @end macro @c @c @www{DJGPP server, www.delorie.com/djgpp/} @c @macro www{desc, path} @w{\desc\.} @end macro @c @c @gopher{SimTel, ftp.coast.net/SimTel/vendors/djgpp/} @c @macro gopher{desc, path} @w{\desc\} @end macro @c @c @news{comp.os.msdos.djgpp} @c @macro news{name} @w{\name\} @end macro @c @c Redefine the TeXinfo commands which have direct HTML counterparts. @c @macro html-define-0arg{command, html-insertion} @macro \command\ @w{\html-insertion\} @end macro @end macro @macro html-define-1arg{command, html-insertion} @macro \command\{arg} @quote-arg @w{\html-insertion\} @end macro @end macro @macro html-define-line{command, html-insertion} @macro \command\{line} @w{\html-insertion\} @end macro @end macro @macro asis @end macro @c @c Various lists (@table, @itemize, @enumerate) @c @macro table{flavor}

@* @end macro @macro end_table @*
@* @end macro @macro titem{line} @*
\line\@*
@end macro @macro titemx{line}
\line\@* @end macro @macro titeml{line}
\line\@*
@end macro @macro itemize{style} @* @* @end macro @macro enumerate{style} @*
    @* @end macro @macro end_enumerate @*
@* @end macro @c @c Preformatted stuff (@example, @display, @smallexample, @quotation) @c @macro display @exdent
@*
@display
@end macro
@macro example
@exdent 
@*
@example
@end macro
@macro smallexample
@exdent 
@*
@smallexample
@end macro
@macro quotation
@exdent 
@* @quotation @end macro @macro end_example @end example @exdent
@* @* @end macro @macro end_smallexample @end smallexample @exdent
@* @* @end macro @macro end_display @end display @exdent
@* @* @end macro @macro end_quotation @end quotation @exdent @* @* @end macro @c @c Nodes, chapters, sections and menus @c @macro menu

@*

@* @end macro @macro node{this, next, prev, up} @end macro @macro top{line}
@*

\line\

@*

@* @end macro @macro chapter{line}
@*

\line\

@*

@* @end macro @macro section{line} @*

\line\

@* @end macro @macro subsection{line} @*

\line\

@* @end macro @macro subsubsection{line} @*

\line\

@* @end macro @macro unnumbered{line} @chapter{\line\} @end macro @macro unnumberedsec{line} @section{\line\} @end macro @macro subsubheading{line} @subsubsection{\line\} @end macro @macro appendix{line} \line\

@end macro @macro appendixsec{line} \line\

@end macro @c @c Footnotes @ @macro footnote{stuff} @quote-arg

Note: \stuff\

@end macro @macro quest{stuff} @quote-arg @* Q: \stuff\

@* @end macro @macro ans @* @exdent


A : @end macro @c @c Cross-references @c @c NOTE: The internal cross-references only support 2-argument @c varieties of the Texinfo commands, and the external @c cross-reference only support 4-argument form! @macro ref{node, desc, title, file, doc} @set desc_seen @set doc_seen @ifeq{"\doc\", "", @clear doc_seen } @ifeq{"\desc\", "", @clear desc_seen } @ifset doc_seen @ifset desc_seen Section \desc\ in \doc\ @end ifset @ifclear desc_seen Section \node\ in \doc\ @end ifclear @end ifset @ifclear doc_seen @w{} @ifset desc_seen \desc\ @end ifset @ifclear desc_seen \node\ @end ifclear @w{}\desc\ @end ifclear @end macro @macro xref{node, desc, title, file, doc} See @ref{\node\,\desc\,\title\,\file\,\doc\} @end macro @macro mxref{node, desc, title, file, doc} see @ref{\node\,\desc\,\title\,\file\,documentation for \doc\} @end macro @macro pxref{node, desc, title, file, doc} see @ref{\node\,\desc\,\title\,\file\,\doc\} @end macro @macro extref{node, desc, file, title, url} See @w{}the ``\node\'' section of the ``\title\'' @end macro @end ifset @c @c ---------------- Common part ------------------------------------ @c @html-define-1arg{b, \\arg\\ } @html-define-1arg{code, \\arg\\ } @html-define-1arg{file, \\arg\\} @html-define-1arg{emph, \\arg\\ } @html-define-1arg{strong, \\arg\\} @html-define-1arg{kbd, \\arg\\} @html-define-1arg{key, \\arg\\} @html-define-1arg{samp, \\arg\\} @html-define-1arg{var, \\arg\\} @html-define-1arg{dfn, \\arg\\} @html-define-1arg{i, \\arg\\ } @html-define-1arg{t, \\arg\\} @html-define-1arg{sc, \\arg\\}