Debian Codegraph @

answers/ex12.htm

raw
1 <HTML>
2
3 <!----------------------------------------------------------------------------->
4 <!-- START OF AUTOMATICALLY GENERATED HTML FILE -->
5 <!----------------------------------------------------------------------------->
6 <!-- -->
7 <!-- This HTML file was generated by the FunnelWeb literate programming -->
8 <!-- preprocessor. You can display this file using popular web browsers -->
9 <!-- such as Netscape Navigator and Microsoft Internet Explorer. -->
10 <!-- -->
11 <!-- FunnelWeb is a preprocessor that allows programmers to weave programs -->
12 <!-- and their documentation together in a single document. The FunnelWeb -->
13 <!-- program analyses such documents producing both program files and -->
14 <!-- typeset documentation such as this HTML file. -->
15 <!-- -->
16 <!-- FunnelWeb was created by Ross N. Williams (www.ross.net) and is -->
17 <!-- available free of charge under a GNU General Public Licence. -->
18 <!-- The FunnelWeb website can be found at http://www.ross.net/funnelweb/ -->
19 <!-- -->
20 <!----------------------------------------------------------------------------->
21
22 <HEAD>
23
24 <TITLE>Package ex12</TITLE>
25
26 <STYLE TYPE="text/css">
27 <!--
28 A {text-decoration: none}
29 H1 { font-family: sans-serif; font-size: large }
30 H2 { font-family: sans-serif; font-size: medium; font-weight: bold }
31 H3 { font-family: sans-serif; font-size: medium }
32 H4 { font-family: sans-serif; font-size: small }
33 H5 { font-family: sans-serif; font-size: small }
34 // -->
35 </STYLE>
36
37 </HEAD>
38 <BODY BGCOLOR=#FFFFFF TEXT=#000000 LINK=#CC0033 VLINK=#CC0033 ALINK=#CC0000>
39
40 <P><TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0><TR><TD WIDTH=400>
41 EX12: This example gives some simple headings and demonstrates heading name
42 inheritance.
43
44 <P></TD></TR></TABLE>
45 <FONT COLOR=#CC0033>
46 <P><A NAME="1"></A><B>1. File:</B> ex12.out={<FONT COLOR=#000033><TT>dummy&nbsp;text</TT>
47 </FONT>}<BR>
48 </FONT>
49 <FONT SIZE=1>This macro is attached to an output file.</FONT>
50 <P><HR SIZE=4 NOSHADE><P><A NAME="sec_1"></A>
51 <H1>1. Feed the Penguins and Save the World</H1>
52 <P><HR SIZE=2 NOSHADE><P><A NAME="sec_1.1"></A>
53 <H2>1.1. Feed the Penguins</H2>
54 <P><HR SIZE=3><P><A NAME="sec_1.1.1"></A>
55 <H3>1.1.1. Feed the little penguins</H3>
56 <P><HR SIZE=3><P><A NAME="sec_1.1.2"></A>
57 <H3>1.1.2. Feed the big penguins</H3>
58 <P><HR SIZE=2 NOSHADE><P><A NAME="sec_1.2"></A>
59 <H2>1.2. Save the World</H2>
60 <P><HR SIZE=3><P><A NAME="sec_1.2.1"></A>
61 <H3>1.2.1. Save Europe</H3>
62 <P><HR SIZE=3><P><A NAME="sec_1.2.2"></A>
63 <H3>1.2.2. Save Africa</H3>
64 <P><HR SIZE=3><P><A NAME="sec_1.2.3"></A>
65 <H3>1.2.3. Save the rest of the world</H3>
66 <P><TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0><TR><TD WIDTH=400>
67 This heading hasn't been given an explicit name, but will inherit the
68 name \p{Save the rest of the world} from the macro definition below.
69
70 <P></TD></TR></TABLE>
71 <FONT COLOR=#CC0033>
72 <P><A NAME="2"></A>2. Save the rest of the world[<B>Z</B>]={<FONT COLOR=#000033><TT>...</TT>
73 </FONT>}<BR>
74 </FONT>
75 <FONT SIZE=1>This macro is NEVER invoked.</FONT>
76 <P>
77 <HR SIZE=4 NOSHADE>
78 <CENTER><B>End Of File</B></CENTER>
79 <HR SIZE=4 NOSHADE>
80 </BODY>
81
82 <!----------------------------------------------------------------------------->
83 <!-- END OF AUTOMATICALLY GENERATED HTML FILE -->
84 <!----------------------------------------------------------------------------->
85 </HTML>