;;; metahtml.mhtml: Language Reference Manual  -*- Meta-HTML -*-
;;;
<set-var title="The Meta-HTML Reference Manual"
	 next-page="overview.mhtml" next-title=Overview>
<include header.mhtml>
<set-var mhtml::cacheable=true>

<ptext>
This document describes the <meta-html> language, Version 5.0.  It
should not be considered a definitive reference manual by any means,
as the target remains somewhat mobile.  While the functions described
in this manual will continue to operate as documented, there may be
new functions or enhancements which supersede the functionality that
the documented ones provide.

If you are really impatient, or you fancy yourself a wizard, I suggest
that you first look at these <a href="http://www.metahtml.com/demos">code
examples</a>.  Of course, there is a <a href="function-index.mhtml">
Function Index</a> available as well.

I have tried to lay the manual out so that it can be viewed from
different angles.  Clicking on a top-level section in the
<a href="#TOC">Table of Contents</a> below returns a page which
contains all of the subsections displayed under that section name.
Clicking on a subsection returns only that subsection, but the top of
each page allows you to go forward and backwards through the
subsections of the manual.

Comments and/or suggestions for improvement on this manual, the
language definition, or writing style(!!) should be sent to
<a href="mailto:bug-manual@metahtml.com">
<b>bug-manual@metahtml.com</b></a>.
</ptext>

<defsubst page><get-var mhtml::url-to-dir>/%0.mhtml</defsubst>

<A NAME="TOC">
<h2>Table of Contents:</h2>
<ol>
  <li>
  <a href="<page overview>">
    <b><font size="+1">Language Overview</font></b>
  </a>
  <ul>
    <li> <a href="<page purpose>">The Purpose of <meta-html></a>
    <li> <a href="<page implementation>">Implementation Design</a>
    <li> <a href="<page syntax>">Syntax of Commands</a>
  </ul>
  <p>
  <li>
  <a href="<page features>">
    <b><font size="+1">Language Features</font></b>
  </a>
  <ul>
    <section::get-sections>
    <set-var i=0>
    <while <get-var sections[i]>>
      <set-var section=<get-var sections[i]>>
      <set-var name=<capitalize <subst-in-string <get-var section> "-" " ">>>
      <li> <a href="<page view-section>?<cgi-encode section>"><get-var name></a>
      <increment i>
    </while>
  </ul>
  <p>
  <li>
  <a href="<page install>">
    <b><font size="+1">Installation Guide</font></b>
  </a>
  <ul>
    <li> <a href="<page server-install>">Installing the Server</a>
    <li> <a href="<page hiding>">Installing the Engine</a>
    <li> <a href="<page serverconf>">Configuring the Server</a>
  </ul>
  <p>
  <li>
  <a href="<page function-index>">
    <b><font size="+1">Function Index</font></b>
  </a>
  <p>
  <li>
  <a href="<page variable-index>">
    <b><font size="+1">Variable Index</font></b>
  </a>
  <p>
</ol>
<p>
<include footer.mhtml>
