===== template.comments =====
This file, template, is a library file used by
the program "mklesson" to generate lessons.
This file Copyright (C) 1994 David A. Wheeler
RCS ID:  $Id: template,v 1.13 1995/04/28 16:54:25 wheeler Exp $

Each template "chunk" is preceded by a header line;
a header line has 5 = signs, space, chunk name, and 5 equal signs.
Capitalized text enclosed in square brackets is replaced with text.
For example, [AUTHOR_NAME] is replaced with the name of the lesson author.

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Library General Public License for more details.

You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

The variable [THE_PREVIOUS_SECTION_OR_HOME] is substituted with
either the text "the previous section" or "the tutorial home page".
The exact text used is stored in the chunks named
"the_previous_section_text_is_not_home" and
"the_previous_section_text_is_home"; the last
carriage return is not substituted in.

The chunks "compile.head" and "compile.tail" are used when a <TEXT FILE=>
command is used with a "TEMPLATE=compile" value. The "compile.head"
contents go _before_ the file, and the compile.tail go after it.
The special variables used in these chunks are:
[INCLUDED_FILENAME]
[LINES_IN_INCLUDED_FILE]
[LINES_PLUS_ONE_IN_INCLUDED_FILE]



===== section.head =====
<HTML><HEAD>
<TITLE>[TUTOR_NAME] Section [FULL_SECTION_NUMBER] - [SECTION_TITLE]</TITLE>
<LINK REV="made" HREF="mailto:[AUTHOR_EMAIL]">
<!-- Below are RSACi and SafeSurf ratings for this material. -->
<META http-equiv="PICS-Label" content='(PICS-1.0 "http://www.rsac.org/ratingsv01.html" l gen true comment "RSACi North America Server" by "dwheeler@ida.org" for "http://www.adahome.com/Tutorials/Lovelace" on "1996.04.04T08:15-0500" exp "1997.07.01T08:15-0500" r (n 0 s 0 v 0 l 0))'>
<META http-equiv="PICS-Label" content='(PICS-1.0 "http://www.classify.org/safesurf/" l gen true for "http://www.adahome.com/Tutorials/Lovelace/" by "dwheeler@ida.org" r (SS~~000 1 SS~~100 1))'>
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<H1><FONT COLOR="#996600">Section [FULL_SECTION_NUMBER] - [SECTION_TITLE]</FONT></H1>
===== section.question.head =====
<HR><P>
<IMG SRC="q.gif" ALT="" HEIGHT=34 WIDTH=23>
<A NAME="quiz"><FONT SIZE=+3 COLOR="#339900">Quiz:</FONT></A>
<P>
===== section.question.tail =====
</OL>
<HR>
You may also:
<P>
<TABLE BORDER=0><TR>
<TH><A HREF="[PREVIOUS_SECTION_URL]">
<IMG SRC="barrowl.gif" ALT="PREVIOUS " HEIGHT=31 WIDTH=31>
Go back to [THE_PREVIOUS_SECTION_OR_HOME]</A>
<P></TH>

<TH><A HREF="[CONFIRM_SKIP_SECTION_URL]">
<IMG SRC="barrowr.gif" ALT="NEXT     " HEIGHT=31 WIDTH=31>
Skip to the next section</A>
<P></TH>

<TH><A HREF="[LESSON_OUTLINE_URL]">
<IMG SRC="barrowu.gif" ALT="OUTLINE  " HEIGHT=31 WIDTH=31>
Go up to lesson [LESSON_NUMBER] outline</A>
<P></TH>
</TR></TABLE>
<P>

===== section.no_question =====
<!-- No quiz question -->
<P>
<HR>
<P>
There is no quiz question for this section.
<P>
<IMG SRC="pright.gif" ALT="" HEIGHT=14 WIDTH=33>
<A HREF="[NEXT_SECTION_URL]">
<FONT SIZE=+1><STRONG>You may go to the next section.</STRONG></FONT></A>
<P>
<HR>
You may also:
<P>

<TABLE BORDER=0><TR>
<TH><A HREF="[PREVIOUS_SECTION_URL]">
<IMG SRC="barrowl.gif" ALT="PREVIOUS " HEIGHT=31 WIDTH=31>
Go back to [THE_PREVIOUS_SECTION_OR_HOME]</A>
<P></TH>

<TH><A HREF="[LESSON_OUTLINE_URL]">
<IMG SRC="barrowr.gif" ALT="OUTLINE  " HEIGHT=31 WIDTH=31>
Go up to the outline of lesson [LESSON_NUMBER]</A>
<P></TH>
</TR></TABLE>
<P>

===== section.tail =====
<P>
<ADDRESS>[AUTHOR_ADDRESS]</ADDRESS>
<!-- This text is part of the the [TUTOR_NAME] tutorial program. -->
<!-- Copyright (C) [TODAYS_YEAR] [AUTHOR_NAME] -->
<!-- = -->
<!-- This program is free software; you can redistribute it and/or modify -->
<!-- it under the terms of the GNU General Public License as published by -->
<!-- the Free Software Foundation; either version 2 of the License, or -->
<!-- (at your option) any later version. -->
<!-- This freedom only applies to the electronic version; the author -->
<!-- and/or publisher retain all rights to non-electronic versions. -->
<!-- = -->
<!-- This program is distributed in the hope that it will be useful, -->
<!-- but WITHOUT ANY WARRANTY; without even the implied warranty of -->
<!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the -->
<!-- GNU General Public License for more details. -->
<!-- = -->
<!-- You should have received a copy of the GNU General Public License -->
<!-- along with this program; if not, write to the Free Software -->
<!-- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -->
</BODY>
</HTML>
===== response.head =====
<HTML><HEAD>
<TITLE>[TUTOR_NAME] Section [FULL_SECTION_NUMBER] - Answer [ANSWER_NUMBER]</TITLE>
<LINK REV="made" HREF="mailto:[AUTHOR_EMAIL]">
<!-- Below are RSACi and SafeSurf ratings for this material. -->
<META http-equiv="PICS-Label" content='(PICS-1.0 "http://www.rsac.org/ratingsv01.html" l gen true comment "RSACi North America Server" by "dwheeler@ida.org" for "http://www.adahome.com/Tutorials/Lovelace" on "1996.04.04T08:15-0500" exp "1997.07.01T08:15-0500" r (n 0 s 0 v 0 l 0))'>
<META http-equiv="PICS-Label" content='(PICS-1.0 "http://www.classify.org/safesurf/" l gen true for "http://www.adahome.com/Tutorials/Lovelace/" by "dwheeler@ida.org" r (SS~~000 1 SS~~100 1))'>
</HEAD>
<BODY BGCOLOR="#FFFFFF">
===== response.correct.head =====
<IMG SRC="smile.gif" ALT="" HEIGHT=32 WIDTH=32>
===== response.incorrect.head =====
<IMG SRC="x.gif" ALT="" HEIGHT=32 WIDTH=32>
===== response.correct.default =====
Right.
===== response.incorrect.default =====
No, sorry.
===== response.correct.tail =====
<P>
<IMG SRC="pright.gif" ALT="" HEIGHT=14 WIDTH=33>
<A HREF="[NEXT_SECTION_URL]"><FONT SIZE=+1><STRONG>You may go to the next section.</STRONG></FONT></A>
<P>
You may also:
<P>

<TABLE BORDER=0><TR>
<TH><A HREF="[SECTION_QUESTION_URL]">
<IMG SRC="barrowl.gif" ALT="PREVIOUS " HEIGHT=31 WIDTH=31>
Go back to the question</A>
<P></TH>

<TH><A HREF="[LESSON_OUTLINE_URL]">
<IMG SRC="barrowu.gif" ALT="OUTLINE  " HEIGHT=31 WIDTH=31>
Go up to the outline of lesson [LESSON_NUMBER]</A>
<P></TH>
</TR></TABLE>
<P>

===== response.incorrect.tail =====
<P>
<IMG SRC="pright.gif" ALT="" HEIGHT=14 WIDTH=33>
<A HREF="[SECTION_QUESTION_URL]"><FONT SIZE=+1><STRONG>You
may go back to the question</STRONG></FONT></A>
<P>
You may also:
<P>

<TABLE BORDER=0><TR>
<TH><A HREF="[NEXT_SECTION_URL]">
<IMG SRC="barrowr.gif" ALT="NEXT     " HEIGHT=31 WIDTH=31>
Skip to the next section.</A>
<P></TH>

<TH><A HREF="[LESSON_OUTLINE_URL]">
<IMG SRC="barrowu.gif" ALT="OUTLINE  " HEIGHT=31 WIDTH=31>
Go up to the outline of lesson [LESSON_NUMBER]</A>
<P></TH>
</TR></TABLE>
<P>

===== response.tail =====
<ADDRESS>[AUTHOR_ADDRESS]</ADDRESS>
<!-- This text is part of the the [TUTOR_NAME] tutorial program. -->
<!-- Copyright (C) [TODAYS_YEAR] [AUTHOR_NAME] -->
<!-- = -->
<!-- This program is free software; you can redistribute it and/or modify -->
<!-- it under the terms of the GNU General Public License as published by -->
<!-- the Free Software Foundation; either version 2 of the License, or -->
<!-- (at your option) any later version. -->
<!-- This freedom only applies to the electronic version; the author -->
<!-- and/or publisher retain all rights to non-electronic versions. -->
<!-- = -->
<!-- This program is distributed in the hope that it will be useful, -->
<!-- but WITHOUT ANY WARRANTY; without even the implied warranty of -->
<!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the -->
<!-- GNU General Public License for more details. -->
<!-- = -->
<!-- You should have received a copy of the GNU General Public License -->
<!-- along with this program; if not, write to the Free Software -->
<!-- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -->
</BODY>
</HTML>
===== outline.head =====
<HTML><HEAD>
<TITLE>[TUTOR_NAME] - Outline of Lesson [LESSON_NUMBER]</TITLE>
<LINK REV="made" HREF="mailto:[AUTHOR_EMAIL]">
<!-- Below are RSACi and SafeSurf ratings for this material. -->
<META http-equiv="PICS-Label" content='(PICS-1.0 "http://www.rsac.org/ratingsv01.html" l gen true comment "RSACi North America Server" by "dwheeler@ida.org" for "http://www.adahome.com/Tutorials/Lovelace" on "1996.04.04T08:15-0500" exp "1997.07.01T08:15-0500" r (n 0 s 0 v 0 l 0))'>
<META http-equiv="PICS-Label" content='(PICS-1.0 "http://www.classify.org/safesurf/" l gen true for "http://www.adahome.com/Tutorials/Lovelace/" by "dwheeler@ida.org" r (SS~~000 1 SS~~100 1))'>
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<H1>Outline of Lesson [LESSON_NUMBER]</H1>
These are the sections in lesson [LESSON_NUMBER]:
<P>
<OL>
===== outline.tail =====
</OL>
<P>
<HR>
<P>
You may also:
<P>

<TABLE BORDER=0><TR>
<TH><A HREF="[MASTER_OUTLINE_URL]">
<IMG SRC="barrowu.gif" ALT="OUTLINE  " HEIGHT=31 WIDTH=31>
Go up to the master outline of [TUTOR_NAME].</A>
<P></TH>

<TH><A HREF="[TUTOR_HOME_PAGE_URL]">
<IMG SRC="tinyhome.gif" ALT="HOME     " HEIGHT=32 WIDTH=32>
Return to the [TUTOR_NAME] home page.</A>
<P></TH>
</TR></TABLE>
<P>

<ADDRESS>[AUTHOR_ADDRESS]</ADDRESS>
</BODY>
</HTML>
===== compile.head =====
<!-- The following form permits compilation using WebAda. -->
<P>
<FORM METHOD="post" ACTION="http://sw-eng.falls-church.va.us/cgi-bin/webada/lovelace">
<PRE>
<TEXTAREA NAME="code" ROWS=[LINES_PLUS_ONE_IN_INCLUDED_FILE] COLS=80>
===== compile.tail =====
</TEXTAREA>
</PRE>
<INPUT TYPE="hidden" NAME="file" VALUE="[INCLUDED_FILENAME]">
<!-- All Lovelace files are krunched to 8+3 filename lengths -->
<INPUT TYPE="hidden" NAME="krunch" VALUE="8">
<TABLE BORDER=0><TR>
<TH><INPUT TYPE=submit VALUE=" Compile with WebAda "></TH>
<TH><INPUT TYPE=reset  VALUE=" Reset "></TH>
<TH><I>Verbose</I> <INPUT TYPE=checkbox  NAME="verbose" CHECKED></TH>
<TH><I>Configure</I> <INPUT TYPE=checkbox  NAME="configure"></TH>
</TR></TABLE>
<BR CLEAR>
</FORM>
<P>
===== the_previous_section_text_is_not_home =====
the previous section
===== the_previous_section_text_is_home =====
the tutorial home page
