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
|
<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 ex12</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>
EX12: This example gives some simple headings and demonstrates heading name
inheritance.
<P></TD></TR></TABLE>
<FONT COLOR=#CC0033>
<P><A NAME="1"></A><B>1. File:</B> ex12.out={<FONT COLOR=#000033><TT>dummy text</TT>
</FONT>}<BR>
</FONT>
<FONT SIZE=1>This macro is attached to an output file.</FONT>
<P><HR SIZE=4 NOSHADE><P><A NAME="sec_1"></A>
<H1>1. Feed the Penguins and Save the World</H1>
<P><HR SIZE=2 NOSHADE><P><A NAME="sec_1.1"></A>
<H2>1.1. Feed the Penguins</H2>
<P><HR SIZE=3><P><A NAME="sec_1.1.1"></A>
<H3>1.1.1. Feed the little penguins</H3>
<P><HR SIZE=3><P><A NAME="sec_1.1.2"></A>
<H3>1.1.2. Feed the big penguins</H3>
<P><HR SIZE=2 NOSHADE><P><A NAME="sec_1.2"></A>
<H2>1.2. Save the World</H2>
<P><HR SIZE=3><P><A NAME="sec_1.2.1"></A>
<H3>1.2.1. Save Europe</H3>
<P><HR SIZE=3><P><A NAME="sec_1.2.2"></A>
<H3>1.2.2. Save Africa</H3>
<P><HR SIZE=3><P><A NAME="sec_1.2.3"></A>
<H3>1.2.3. Save the rest of the world</H3>
<P><TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0><TR><TD WIDTH=400>
This heading hasn't been given an explicit name, but will inherit the
name \p{Save the rest of the world} from the macro definition below.
<P></TD></TR></TABLE>
<FONT COLOR=#CC0033>
<P><A NAME="2"></A>2. Save the rest of the world[<B>Z</B>]={<FONT COLOR=#000033><TT>...</TT>
</FONT>}<BR>
</FONT>
<FONT SIZE=1>This macro is NEVER invoked.</FONT>
<P>
<HR SIZE=4 NOSHADE>
<CENTER><B>End Of File</B></CENTER>
<HR SIZE=4 NOSHADE>
</BODY>
<!----------------------------------------------------------------------------->
<!-- END OF AUTOMATICALLY GENERATED HTML FILE -->
<!----------------------------------------------------------------------------->
</HTML>
|