1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176
|
<HTML>
<!----------------------------------------------------------------------------->
<!-- START OF AUTOMATICALLY GENERATED HTML FILE -->
<!----------------------------------------------------------------------------->
<!-- -->
<!-- This HTML file was generated by the FunnelWeb literate programming -->
<!-- preprocessor. You can display this file using popular web browsers -->
<!-- such as Netscape Navigator and Microsoft Internet Explorer. -->
<!-- -->
<!-- FunnelWeb is a preprocessor that allows programmers to weave programs -->
<!-- and their documentation together in a single document. The FunnelWeb -->
<!-- program analyses such documents producing both program files and -->
<!-- typeset documentation such as this HTML file. -->
<!-- -->
<!-- FunnelWeb was created by Ross N. Williams (www.ross.net) and is -->
<!-- available free of charge under a GNU General Public Licence. -->
<!-- The FunnelWeb website can be found at http://www.ross.net/funnelweb/ -->
<!-- -->
<!----------------------------------------------------------------------------->
<HEAD>
<TITLE>Package wv07</TITLE>
<STYLE TYPE="text/css">
<!--
A {text-decoration: none}
H1 { font-family: sans-serif; font-size: large }
H2 { font-family: sans-serif; font-size: medium; font-weight: bold }
H3 { font-family: sans-serif; font-size: medium }
H4 { font-family: sans-serif; font-size: small }
H5 { font-family: sans-serif; font-size: small }
// -->
</STYLE>
</HEAD>
<BODY BGCOLOR=#FFFFFF TEXT=#000000 LINK=#CC0033 VLINK=#CC0033 ALINK=#CC0000>
<P><TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0><TR><TD WIDTH=400>
WV07: Test the typesetting of library macros.
<P></TD></TR></TABLE>
<P><HR SIZE=4 NOSHADE><P><A NAME="sec_1"></A>
<H1>1. 1. Test an ordinary library macro.</H1>
<FONT COLOR=#CC0033>
<P><A NAME="1"></A>1. Sloth[<B>ZL</B>]={<FONT COLOR=#000033><TT>I am the sloth</TT>
</FONT>}<BR>
</FONT>
<FONT SIZE=1>This macro is NEVER invoked.</FONT>
<P><HR SIZE=4 NOSHADE><P><A NAME="sec_2"></A>
<H1>2. 2. Test a library macro with two body parts.</H1>
<FONT COLOR=#CC0033>
<P><A NAME="2"></A>2. <A HREF="#11">Two body parts</A>[<B>ZL</B>]+={<FONT COLOR=#000033><TT>Sloth</TT>
</FONT>}<BR>
</FONT>
<FONT SIZE=1>This macro is defined in definitions <A HREF="#2">2</A> and <A HREF="#3">3</A>.</FONT><BR>
<FONT SIZE=1>This macro is invoked in definition <A HREF="#11">11</A>.</FONT><BR>
<FONT COLOR=#CC0033>
<P><A NAME="3"></A>3. <A HREF="#11">Two body parts</A>[<B>ZL</B>]+={<FONT COLOR=#000033><TT>Walrus</TT>
</FONT>}<BR>
</FONT>
<FONT SIZE=1>This macro is defined in definitions <A HREF="#2">2</A> and <A HREF="#3">3</A>.</FONT><BR>
<FONT SIZE=1>This macro is invoked in definition <A HREF="#11">11</A>.</FONT><BR>
<P><HR SIZE=4 NOSHADE><P><A NAME="sec_3"></A>
<H1>3. 3. Test a library macro with three body parts.</H1>
<FONT COLOR=#CC0033>
<P><A NAME="4"></A>4. <A HREF="#9">Three body parts</A>[<B>ZL</B>]+={<FONT COLOR=#000033><TT>Sloth</TT>
</FONT>}<BR>
</FONT>
<FONT SIZE=1>This macro is defined in definitions <A HREF="#4">4</A>, <A HREF="#5">5</A> and <A HREF="#6">6</A>.</FONT><BR>
<FONT SIZE=1>This macro is invoked in definition <A HREF="#9">9</A>.</FONT><BR>
<FONT COLOR=#CC0033>
<P><A NAME="5"></A>5. <A HREF="#9">Three body parts</A>[<B>ZL</B>]+={<FONT COLOR=#000033><TT>Walrus</TT>
</FONT>}<BR>
</FONT>
<FONT SIZE=1>This macro is defined in definitions <A HREF="#4">4</A>, <A HREF="#5">5</A> and <A HREF="#6">6</A>.</FONT><BR>
<FONT SIZE=1>This macro is invoked in definition <A HREF="#9">9</A>.</FONT><BR>
<FONT COLOR=#CC0033>
<P><A NAME="6"></A>6. <A HREF="#9">Three body parts</A>[<B>ZL</B>]+={<FONT COLOR=#000033><TT>Aardvaark</TT>
</FONT>}<BR>
</FONT>
<FONT SIZE=1>This macro is defined in definitions <A HREF="#4">4</A>, <A HREF="#5">5</A> and <A HREF="#6">6</A>.</FONT><BR>
<FONT SIZE=1>This macro is invoked in definition <A HREF="#9">9</A>.</FONT><BR>
<P><HR SIZE=4 NOSHADE><P><A NAME="sec_4"></A>
<H1>4. 4. Test a library macro with five body parts.</H1>
<FONT COLOR=#CC0033>
<P><A NAME="7"></A>7. Five body parts[<B>ZL</B>]+={<FONT COLOR=#000033><TT>Sloth</TT>
</FONT>}<BR>
</FONT>
<FONT SIZE=1>This macro is defined in definitions <A HREF="#7">7</A>, <A HREF="#8">8</A>, <A HREF="#9">9</A>, <A HREF="#10">10</A> and <A HREF="#11">11</A>.</FONT><BR>
<FONT SIZE=1>This macro is NEVER invoked.</FONT>
<FONT COLOR=#CC0033>
<P><A NAME="8"></A>8. Five body parts[<B>ZL</B>]+={<FONT COLOR=#000033><TT>Walrus</TT>
</FONT>}<BR>
</FONT>
<FONT SIZE=1>This macro is defined in definitions <A HREF="#7">7</A>, <A HREF="#8">8</A>, <A HREF="#9">9</A>, <A HREF="#10">10</A> and <A HREF="#11">11</A>.</FONT><BR>
<FONT SIZE=1>This macro is NEVER invoked.</FONT>
<FONT COLOR=#CC0033>
<P><A NAME="9"></A>9. Five body parts[<B>ZL</B>]+={<FONT COLOR=#000033><A HREF="#4">Three body parts</A></FONT>}<BR>
</FONT>
<FONT SIZE=1>This macro is defined in definitions <A HREF="#7">7</A>, <A HREF="#8">8</A>, <A HREF="#9">9</A>, <A HREF="#10">10</A> and <A HREF="#11">11</A>.</FONT><BR>
<FONT SIZE=1>This macro is NEVER invoked.</FONT>
<FONT COLOR=#CC0033>
<P><A NAME="10"></A>10. Five body parts[<B>ZL</B>]+={<FONT COLOR=#000033><TT>Aardvaark</TT>
</FONT>}<BR>
</FONT>
<FONT SIZE=1>This macro is defined in definitions <A HREF="#7">7</A>, <A HREF="#8">8</A>, <A HREF="#9">9</A>, <A HREF="#10">10</A> and <A HREF="#11">11</A>.</FONT><BR>
<FONT SIZE=1>This macro is NEVER invoked.</FONT>
<FONT COLOR=#CC0033>
<P><A NAME="11"></A>11. Five body parts[<B>ZL</B>]+={<FONT COLOR=#000033><A HREF="#2">Two body parts</A></FONT>}<BR>
</FONT>
<FONT SIZE=1>This macro is defined in definitions <A HREF="#7">7</A>, <A HREF="#8">8</A>, <A HREF="#9">9</A>, <A HREF="#10">10</A> and <A HREF="#11">11</A>.</FONT><BR>
<FONT SIZE=1>This macro is NEVER invoked.</FONT>
<P><HR SIZE=4 NOSHADE><P><A NAME="sec_5"></A>
<H1>5. 5. Test a library macro that is overruled.</H1>
<FONT COLOR=#CC0033>
<P><A NAME="12"></A>12. Walrus[<B>ZL</B>]={<FONT COLOR=#000033><TT>Walrus library</TT>
</FONT>}<BR>
</FONT>
<FONT SIZE=1>This library macro was overruled by definition
<A HREF="#13">13</A> and is not active.</FONT>
<FONT COLOR=#CC0033>
<P><A NAME="13"></A>13. Walrus[<B>Z</B>]={<FONT COLOR=#000033><TT>Walrus main</TT>
</FONT>}<BR>
</FONT>
<FONT SIZE=1>This macro is NEVER invoked.</FONT>
<P><HR SIZE=4 NOSHADE><P><A NAME="sec_6"></A>
<H1>6. 6. Test interlaced and overruled.</H1>
<FONT COLOR=#CC0033>
<P><A NAME="14"></A>14. <A HREF="#18">Aardvark</A>[<B>ZL</B>]+={<FONT COLOR=#000033><TT>First aardvark level one text (correct)<BR>
</TT>
</FONT>}<BR>
</FONT>
<FONT SIZE=1>This macro is defined in definitions <A HREF="#14">14</A> and <A HREF="#16">16</A>.</FONT><BR>
<FONT SIZE=1>This macro is invoked in definition <A HREF="#18">18</A>.</FONT><BR>
<FONT COLOR=#CC0033>
<P><A NAME="15"></A>15. <A HREF="#18">Aardvark</A>[<B>LL</B>]+={<FONT COLOR=#000033><TT>Second aardvark level two text</TT>
</FONT>}<BR>
</FONT>
<FONT SIZE=1>This macro is defined in definitions <A HREF="#15">15</A> and <A HREF="#17">17</A>.</FONT><BR>
<FONT SIZE=1>This library macro was overruled by definition
<A HREF="#14">14</A> and is not active.</FONT>
<FONT COLOR=#CC0033>
<P><A NAME="16"></A>16. <A HREF="#18">Aardvark</A>[<B>ZL</B>]+={<FONT COLOR=#000033><TT>First aardvark level one text (correct)<BR>
</TT>
</FONT>}<BR>
</FONT>
<FONT SIZE=1>This macro is defined in definitions <A HREF="#14">14</A> and <A HREF="#16">16</A>.</FONT><BR>
<FONT SIZE=1>This macro is invoked in definition <A HREF="#18">18</A>.</FONT><BR>
<FONT COLOR=#CC0033>
<P><A NAME="17"></A>17. <A HREF="#18">Aardvark</A>[<B>LL</B>]+={<FONT COLOR=#000033><TT>Second aardvark level two text</TT>
</FONT>}<BR>
</FONT>
<FONT SIZE=1>This macro is defined in definitions <A HREF="#15">15</A> and <A HREF="#17">17</A>.</FONT><BR>
<FONT SIZE=1>This library macro was overruled by definition
<A HREF="#14">14</A> and is not active.</FONT>
<FONT COLOR=#CC0033>
<P><A NAME="18"></A><B>18. File:</B> wv07.out={<FONT COLOR=#000033><A HREF="#14">Aardvark</A></FONT>}<BR>
</FONT>
<FONT SIZE=1>This macro is attached to an output file.</FONT>
<P><TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0><TR><TD WIDTH=400>
<P>End of tests.
</TD></TR></TABLE>
<P>
<HR SIZE=4 NOSHADE>
<CENTER><B>End Of File</B></CENTER>
<HR SIZE=4 NOSHADE>
</BODY>
<!----------------------------------------------------------------------------->
<!-- END OF AUTOMATICALLY GENERATED HTML FILE -->
<!----------------------------------------------------------------------------->
</HTML>
|