home *** CD-ROM | disk | FTP | other *** search
/ Solo Programadores 22 / SOLO_22.iso / docs / lovelace / template < prev    next >
Encoding:
Text File  |  1995-09-22  |  6.6 KB  |  207 lines

  1. ===== template.comments =====
  2. This file, template, is a library file used by
  3. the program "mklesson" to generate lessons.
  4. This file Copyright (C) 1994 David A. Wheeler
  5. RCS ID:  $Id: template,v 1.13 1995/04/28 16:54:25 wheeler Exp $
  6.  
  7. Each template "chunk" is preceded by a header line;
  8. a header line has 5 = signs, space, chunk name, and 5 equal signs.
  9. Capitalized text enclosed in square brackets is replaced with text.
  10. For example, [AUTHOR_NAME] is replaced with the name of the lesson author.
  11.  
  12. This library is free software; you can redistribute it and/or
  13. modify it under the terms of the GNU Library General Public
  14. License as published by the Free Software Foundation; either
  15. version 2 of the License, or (at your option) any later version.
  16.  
  17. This library is distributed in the hope that it will be useful,
  18. but WITHOUT ANY WARRANTY; without even the implied warranty of
  19. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  20. Library General Public License for more details.
  21.  
  22. You should have received a copy of the GNU Library General Public
  23. License along with this library; if not, write to the Free
  24. Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  25.  
  26. The variable [THE_PREVIOUS_SECTION_OR_HOME] is substituted with
  27. either the text "the previous section" or "the tutorial home page".
  28. The exact text used is stored in the chunks named
  29. "the_previous_section_text_is_not_home" and
  30. "the_previous_section_text_is_home"; the last
  31. carraige return is not substituted in.
  32.  
  33. ===== section.head =====
  34. <HTML><HEAD>
  35. <TITLE>[TUTOR_NAME] Section [FULL_SECTION_NUMBER] - [SECTION_TITLE]</TITLE>
  36. <LINK REV="made" HREF="mailto:[AUTHOR_EMAIL]">
  37. </HEAD>
  38. <BODY>
  39. <H1>Section [FULL_SECTION_NUMBER] - [SECTION_TITLE]</H1>
  40. ===== section.question.head =====
  41. <A name="quiz"></A>
  42. <HR><P><H1>Quiz:</H1>
  43. <BR>
  44. ===== section.question.tail =====
  45. </OL>
  46. <HR>
  47. You may also:
  48. <P>
  49.  
  50. <A HREF="[PREVIOUS_SECTION_URL]">
  51. <IMG ALIGN=bottom SRC="previous.gif" ALT="PREVIOUS " HEIGHT=32 WIDTH=32>
  52. Go back to [THE_PREVIOUS_SECTION_OR_HOME]</A>
  53. <P>
  54.  
  55. <A HREF="[CONFIRM_SKIP_SECTION_URL]">
  56. <IMG ALIGN=bottom SRC="next.gif" ALT="NEXT     " HEIGHT=32 WIDTH=32>
  57. Skip to the next section</A>
  58. <P>
  59.  
  60. <A HREF="[LESSON_OUTLINE_URL]">
  61. <IMG ALIGN=bottom SRC="up.gif" ALT="OUTLINE  " HEIGHT=32 WIDTH=32>
  62. Go up to the outline of lesson [LESSON_NUMBER]</A>
  63.  
  64. ===== section.no_question =====
  65. <!-- No quiz question -->
  66. <P>
  67. <HR>
  68. <P>
  69. There is no quiz question for this section.
  70. <P>
  71. <A HREF="[NEXT_SECTION_URL]">
  72. <STRONG>You may go to the next section.</STRONG></A>
  73. <P>
  74. <HR>
  75. You may also:
  76. <P>
  77.  
  78. <A HREF="[PREVIOUS_SECTION_URL]">
  79. <IMG ALIGN=bottom SRC="previous.gif" ALT="PREVIOUS " HEIGHT=32 WIDTH=32>
  80. Go back to [THE_PREVIOUS_SECTION_OR_HOME]</A>
  81. <P>
  82.  
  83. <A HREF="[LESSON_OUTLINE_URL]">
  84. <IMG ALIGN=bottom SRC="up.gif" ALT="OUTLINE  " HEIGHT=32 WIDTH=32>
  85. Go up to the outline of lesson [LESSON_NUMBER]</A>
  86.  
  87. ===== section.tail =====
  88. <P>
  89. <ADDRESS>[AUTHOR_ADDRESS]</ADDRESS>
  90. <!-- This text is part of the the [TUTOR_NAME] tutorial program. -->
  91. <!-- Copyright (C) [TODAYS_YEAR] [AUTHOR_NAME] -->
  92. <!-- = -->
  93. <!-- This program is free software; you can redistribute it and/or modify -->
  94. <!-- it under the terms of the GNU General Public License as published by -->
  95. <!-- the Free Software Foundation; either version 2 of the License, or -->
  96. <!-- (at your option) any later version. -->
  97. <!-- = -->
  98. <!-- This program is distributed in the hope that it will be useful, -->
  99. <!-- but WITHOUT ANY WARRANTY; without even the implied warranty of -->
  100. <!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the -->
  101. <!-- GNU General Public License for more details. -->
  102. <!-- = -->
  103. <!-- You should have received a copy of the GNU General Public License -->
  104. <!-- along with this program; if not, write to the Free Software -->
  105. <!-- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -->
  106. </BODY>
  107. </HTML>
  108. ===== response.head =====
  109. <HTML><HEAD>
  110. <TITLE>[TUTOR_NAME] Section [FULL_SECTION_NUMBER] - Answer [ANSWER_NUMBER]</TITLE>
  111. <LINK REV="made" HREF="mailto:[AUTHOR_EMAIL]">
  112. </HEAD>
  113. <BODY>
  114. ===== response.correct.default =====
  115. Right.
  116. ===== response.incorrect.default =====
  117. No, sorry.
  118. ===== response.correct.tail =====
  119. <P>
  120. <H2><A HREF="[NEXT_SECTION_URL]">You may go to the next section.</A></H2>
  121. <P>
  122. You may also:
  123. <P>
  124.  
  125. <A HREF="[SECTION_QUESTION_URL]">
  126. <IMG ALIGN=bottom SRC="previous.gif" ALT="PREVIOUS " HEIGHT=32 WIDTH=32>
  127. Go back to the question</A>
  128. <P>
  129.  
  130. <A HREF="[LESSON_OUTLINE_URL]">
  131. <IMG ALIGN=bottom SRC="up.gif" ALT="OUTLINE  " HEIGHT=32 WIDTH=32>
  132. Go up to the outline of lesson [LESSON_NUMBER]</A>
  133. <P>
  134.  
  135. ===== response.incorrect.tail =====
  136. <P>
  137. <H2><A HREF="[SECTION_QUESTION_URL]">You may go back to the question</A></H2>
  138. <P>
  139. You may also:
  140. <P>
  141.  
  142. <A HREF="[NEXT_SECTION_URL]">
  143. <IMG ALIGN=bottom SRC="next.gif" ALT="NEXT     " HEIGHT=32 WIDTH=32>
  144. Skip to the next section.</A>
  145. <P>
  146.  
  147. <A HREF="[LESSON_OUTLINE_URL]">
  148. <IMG ALIGN=bottom SRC="up.gif" ALT="OUTLINE  " HEIGHT=32 WIDTH=32>
  149. Go up to the outline of lesson [LESSON_NUMBER]</A>
  150. <P>
  151.  
  152. ===== response.tail =====
  153. <ADDRESS>[AUTHOR_ADDRESS]</ADDRESS>
  154. <!-- This text is part of the the [TUTOR_NAME] tutorial program. -->
  155. <!-- Copyright (C) [TODAYS_YEAR] [AUTHOR_NAME] -->
  156. <!-- = -->
  157. <!-- This program is free software; you can redistribute it and/or modify -->
  158. <!-- it under the terms of the GNU General Public License as published by -->
  159. <!-- the Free Software Foundation; either version 2 of the License, or -->
  160. <!-- (at your option) any later version. -->
  161. <!-- = -->
  162. <!-- This program is distributed in the hope that it will be useful, -->
  163. <!-- but WITHOUT ANY WARRANTY; without even the implied warranty of -->
  164. <!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the -->
  165. <!-- GNU General Public License for more details. -->
  166. <!-- = -->
  167. <!-- You should have received a copy of the GNU General Public License -->
  168. <!-- along with this program; if not, write to the Free Software -->
  169. <!-- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -->
  170. </BODY>
  171. </HTML>
  172. ===== outline.head =====
  173. <HTML><HEAD>
  174. <TITLE>[TUTOR_NAME] - Outline of Lesson [LESSON_NUMBER]</TITLE>
  175. <LINK REV="made" HREF="mailto:[AUTHOR_EMAIL]">
  176. </HEAD>
  177. <BODY>
  178. <H1>Outline of Lesson [LESSON_NUMBER]</H1>
  179. These are the sections in lesson [LESSON_NUMBER]:
  180. <P>
  181. <OL>
  182. ===== outline.tail =====
  183. </OL>
  184. <P>
  185. <HR>
  186. <P>
  187. You may also:
  188. <P>
  189.  
  190. <A HREF="[MASTER_OUTLINE_URL]">
  191. <IMG ALIGN=bottom SRC="up.gif" ALT="OUTLINE  " HEIGHT=32 WIDTH=32>
  192. Go up to the master outline of [TUTOR_NAME].</A>
  193. <P>
  194.  
  195. <A HREF="[TUTOR_HOME_PAGE_URL]">
  196. <IMG ALIGN=bottom SRC="tinyhome.gif" ALT="HOME     " HEIGHT=32 WIDTH=32>
  197. Return to the [TUTOR_NAME] home page.</A>
  198. <P>
  199.  
  200. <ADDRESS>[AUTHOR_ADDRESS]</ADDRESS>
  201. </BODY>
  202. </HTML>
  203. ===== the_previous_section_text_is_not_home =====
  204. the previous section
  205. ===== the_previous_section_text_is_home =====
  206. the tutorial home page
  207.