  
  [1m[4m[31mB. The Source[0m
  
  
  [1m[4m[31mB.1 TitlePage (Source)[0m
  
  [22m[35m------------------------------------------------------------------[0m
    [22m[35m<TitlePage>[0m
    [22m[35m  <Title>A Complete Example</Title>[0m
    [22m[35m  <Subtitle>Every element shows up</Subtitle>[0m
    [22m[35m  <Version>Version 1.0</Version>[0m
    [22m[35m  <Author>Frank Lübeck [0m
    [22m[35m          <Email>Frank.Luebeck@Math.RWTH-Aachen.De</Email></Author>[0m
    [22m[35m  <Author>Max Neunhöffer[0m
    [22m[35m          <Email>Max.Neunhoeffer@Math.RWTH-Aachen.De</Email></Author>[0m
    [22m[35m  <Date>December 2000</Date>[0m
    [22m[35m  <Abstract>This document tries to use all elements that exist in &GAPDoc;.[0m
    [22m[35m            In addition, the final output not only contains the usual[0m
    [22m[35m            content, but also an appendix with the source text. There[0m
    [22m[35m            are also links from the usual content to the corresponding[0m
    [22m[35m            source text. This should enable new users to learn &GAPDoc;[0m
    [22m[35m            quickly.</Abstract>[0m
    [22m[35m  <Copyright>&copyright; 2000 by Frank Lübeck and Max Neunhöffer</Copyright>[0m
    [22m[35m  <Acknowledgements>We thank Lehrstuhl D für Mathematik.</Acknowledgements>[0m
    [22m[35m  <Colophon>This is the Colophon page.</Colophon>[0m
    [22m[35m</TitlePage>[0m
  [22m[35m------------------------------------------------------------------[0m
  
  
  [1m[4m[31mB.2 Before First Chapter (Source)[0m
  
  [22m[35m------------------------------------------------------------------[0m
    [22m[35m<TableOfContents/>[0m
    [22m[35m[0m
    [22m[35m<Body>[0m
    [22m[35m[0m
    [22m[35m  Text before chapter <Ref Chap="First"/>.[0m
    [22m[35m[0m
    [22m[35m<Chapter Label="First"><Heading>Sectioning Elements</Heading>[0m
    [22m[35m[0m
    [22m[35m  Text before the section <Ref Sect="FirstSect"/>.[0m
  [22m[35m------------------------------------------------------------------[0m
  
  
  [1m[4m[31mB.3 First Chapter (Source)[0m
  
  [[1m1.[0m]
  
  [22m[35m------------------------------------------------------------------[0m
    [22m[35m<Section Label="FirstSect"><Heading>Normal subsections</Heading>[0m
    [22m[35m[0m
    [22m[35m  <Subsection Label="Asub"><Heading>A subsection</Heading>[0m
    [22m[35m[0m
    [22m[35m   This is text in the first subsection.[0m
    [22m[35m[0m
    [22m[35m  </Subsection>[0m
    [22m[35m[0m
    [22m[35m  <Subsection Label="Another"><Heading>Another subsection</Heading>[0m
    [22m[35m   [0m
    [22m[35m   This is text in the second subsection. This subsection [0m
    [22m[35m   has a label, such that one can reference it.[0m
    [22m[35m[0m
    [22m[35m  </Subsection>[0m
    [22m[35m[0m
    [22m[35m </Section>[0m
  [22m[35m------------------------------------------------------------------[0m
  
  
  [1m[4m[31mB.4 ManSections (Source)[0m
  
  [[1m1.2[0m]
  
  [22m[35m------------------------------------------------------------------[0m
    [22m[35m<Section><Heading>ManSections</Heading>[0m
    [22m[35m[0m
    [22m[35m  <ManSection>[0m
    [22m[35m   <Func Name="f" Arg="x[,y]" Comm="calculates something"/>[0m
    [22m[35m   <Returns>an element in <Ref Filt="IsBlubb" /> or <K>fail</K>.</Returns>[0m
    [22m[35m   <Description>[0m
    [22m[35m    This function calculates something.[0m
    [22m[35m   </Description>[0m
    [22m[35m  </ManSection>[0m
    [22m[35m[0m
    [22m[35m  <ManSection>[0m
    [22m[35m   <Meth Name="\^" Arg="c" Label="for nothing" Comm="tricky name"/>[0m
    [22m[35m   <Description>[0m
    [22m[35m    This method is for an operation with a tricky name.[0m
    [22m[35m   </Description>[0m
    [22m[35m  </ManSection>[0m
    [22m[35m[0m
    [22m[35m  <ManSection>[0m
    [22m[35m   <Oper Name="MyOperation" Arg="x" Comm="calculates something"/>[0m
    [22m[35m   <Description>[0m
    [22m[35m    The operation <Ref Oper="MyOperation"/> operates on <Arg>x</Arg>.[0m
    [22m[35m   </Description>[0m
    [22m[35m  </ManSection>[0m
    [22m[35m   [0m
    [22m[35m  <ManSection>[0m
    [22m[35m   <Meth Name="MyOperation" Label="First" Arg="x" [0m
    [22m[35m         Comm="generic method"/>[0m
    [22m[35m   <Description>[0m
    [22m[35m    This method calculates something by the generic method.[0m
    [22m[35m   </Description>[0m
    [22m[35m  </ManSection>[0m
    [22m[35m[0m
    [22m[35m  <ManSection>[0m
    [22m[35m   <Meth Name="MyOperation" Label="for bla" Arg="x"[0m
    [22m[35m         Comm="for bla arguments"/>[0m
    [22m[35m   <Description>[0m
    [22m[35m    This is the super-fast method for the operation[0m
    [22m[35m    <Ref Oper="MyOperation"/> if the argument <A>x</A> is in the[0m
    [22m[35m    representation <Ref Filt="IsBla"/>.[0m
    [22m[35m   </Description>[0m
    [22m[35m  </ManSection>[0m
    [22m[35m[0m
    [22m[35m  <ManSection>[0m
    [22m[35m   <Filt Name="IsBla" Arg="obj" Comm="representation bla"[0m
    [22m[35m         Type="representation"/>[0m
    [22m[35m   <Description>[0m
    [22m[35m    For objects in this representation there is a super-fast method[0m
    [22m[35m    (see <Ref Meth="MyOperation" Label="for bla"/>) for the operation[0m
    [22m[35m    <Ref Oper="MyOperation"/>.[0m
    [22m[35m   </Description>[0m
    [22m[35m  </ManSection>[0m
    [22m[35m[0m
    [22m[35m  <ManSection>[0m
    [22m[35m   <Prop Name="IsBlubb" Arg="obj" Comm="property, whether object is blubb"/>[0m
    [22m[35m   <Description>[0m
    [22m[35m    A property.[0m
    [22m[35m   </Description>[0m
    [22m[35m  </ManSection>[0m
    [22m[35m[0m
    [22m[35m  <ManSection>[0m
    [22m[35m   <Attr Name="NumberBlobbs" Arg="obj" Comm="number of blobbs"/>[0m
    [22m[35m   <Description>[0m
    [22m[35m    An attribute. Number of blobbs.[0m
    [22m[35m   </Description>[0m
    [22m[35m  </ManSection>[0m
    [22m[35m[0m
    [22m[35m  <ManSection>[0m
    [22m[35m   <Var Name="AllBlibbs" Comm="list of all blibbs in the system"/>[0m
    [22m[35m   <Description>[0m
    [22m[35m    This global variable holds a list of all blibbs.[0m
    [22m[35m   </Description>[0m
    [22m[35m  </ManSection>[0m
    [22m[35m[0m
    [22m[35m  <ManSection>[0m
    [22m[35m   <Fam Name="BlibbsFamily" Comm="family of blibbs"/>[0m
    [22m[35m   <Description>[0m
    [22m[35m    Family of all blibbs.[0m
    [22m[35m   </Description>[0m
    [22m[35m  </ManSection>[0m
    [22m[35m[0m
    [22m[35m  <ManSection>[0m
    [22m[35m   <InfoClass Name="InfoBlibbs" Comm="InfoClass for the library of blibbs"/>[0m
    [22m[35m   <Description>[0m
    [22m[35m    This info class is used throughout the library of blibbs.[0m
    [22m[35m   </Description>[0m
    [22m[35m  </ManSection>[0m
    [22m[35m    [0m
    [22m[35m </Section>[0m
  [22m[35m------------------------------------------------------------------[0m
  
  
  [1m[4m[31mB.5 Various Types of Text (Source)[0m
  
  [[1m2.[0m]
  
  [22m[35m------------------------------------------------------------------[0m
    [22m[35m<Chapter><Heading>Other Markup</Heading>[0m
    [22m[35m[0m
    [22m[35m<Section><Heading>Various types of text</Heading>[0m
    [22m[35m[0m
    [22m[35mIn this section we present examples for all the various types of text[0m
    [22m[35mthat are possible in &GAPDoc;: [0m
    [22m[35m<List>[0m
    [22m[35m <Item>[0m
    [22m[35m  <Emph>This</Emph> is <E>emphasized</E>.</Item>[0m
    [22m[35m <Item>[0m
    [22m[35m  <E>Keywords</E> are typeset like <Keyword>this</Keyword> and <K>that</K>.[0m
    [22m[35m  </Item>[0m
    [22m[35m <Item>[0m
    [22m[35m  <E>Arguments</E> of functions have an element. They look like this: [0m
    [22m[35m    <Arg>x</Arg> and <A>y</A>.</Item>[0m
    [22m[35m <Item> [0m
    [22m[35m  <E>Code</E> can be written with the Code element: [0m
    [22m[35m    <Code>if x = y then Print("Equal"); fi;</Code> or[0m
    [22m[35m    <C>while true do Print("Hello"); od;</C>.</Item> [0m
    [22m[35m <Item>[0m
    [22m[35m  <E>Filenames</E> have their own element:[0m
    [22m[35m    <File>/usr/local/ca/gap4r2</File> or <F>pkg/xgap/doc</F>.</Item>[0m
    [22m[35m <Item>[0m
    [22m[35m  <E>Buttons</E>, <E>menus</E>, <E>menu entries</E>, and such things[0m
    [22m[35m    are also supported: <B>OK</B> or <Button>Cancel</Button>.</Item>[0m
    [22m[35m <Item>[0m
    [22m[35m  <E>Packages</E> are typeset like this: [0m
    [22m[35m    <Package>Small Groups Library</Package>[0m
    [22m[35m </Item>[0m
    [22m[35m <Item>[0m
    [22m[35m  <E>Quoted</E> text: <Q>This is a text in quotes.</Q>[0m
    [22m[35m </Item>[0m
    [22m[35m</List>[0m
    [22m[35m[0m
    [22m[35m<E>Paragraphs</E> are separated by the empty <C>Par</C> or <C>P</C> element.[0m
    [22m[35m<Par/><E>Alternatives</E> for different output formats:[0m
    [22m[35m[0m
    [22m[35m<Alt Only="LaTeX">This is &LaTeX; output.</Alt>[0m
    [22m[35m<Alt Not="LaTeX">This is other than &LaTeX; output, namely:[0m
    [22m[35m<Alt Only="HTML"><![CDATA[<b>HTML</b>]]></Alt>[0m
    [22m[35m<Alt Only="Text">Text</Alt> output.</Alt>[0m
    [22m[35m[0m
    [22m[35m<P/>[0m
  [22m[35m------------------------------------------------------------------[0m
  
  
  [1m[4m[31mB.6 Verbatim-like text (Source)[0m
  
  [[1m2.1[0m]
  
  [22m[35m------------------------------------------------------------------[0m
    [22m[35mThere are also three elements to typeset <Q>verbatim-like</Q> text.[0m
    [22m[35m<P/>[0m
    [22m[35mThe first is a <E>Listing</E>:[0m
    [22m[35m[0m
    [22m[35m<Listing Type="GAP code">[0m
    [22m[35m<![CDATA[Sieve := function(n)[0m
    [22m[35m  # Returns the primes less than n[0m
    [22m[35m  local l,p,i;[0m
    [22m[35m  l := [1..n]; Unbind(l[1]);[0m
    [22m[35m  p := 2;[0m
    [22m[35m  while p^2 <= n do[0m
    [22m[35m      if IsBound(l[p]) then[0m
    [22m[35m          i := 2 * p;[0m
    [22m[35m          while i <= n do Unbind(l[i]); i := i + p; od;[0m
    [22m[35m      fi;[0m
    [22m[35m      p := p + 1;[0m
    [22m[35m  od;[0m
    [22m[35m  return Compacted(l);[0m
    [22m[35mend;]]>[0m
    [22m[35m</Listing>[0m
    [22m[35m[0m
    [22m[35mHere is a <E>Log</E> of a &GAP; session using this function:[0m
    [22m[35m[0m
    [22m[35m<Log>[0m
    [22m[35mgap&gt; Sieve(100);[0m
    [22m[35m[ 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61,[0m
    [22m[35m  67, 71, 73, 79, 83, 89, 97 ][0m
    [22m[35mgap&gt; Length(last);[0m
    [22m[35m25[0m
    [22m[35m</Log>[0m
    [22m[35m[0m
    [22m[35mHere is a &GAP; <E>Example</E> session that is automatically tested:[0m
    [22m[35m[0m
    [22m[35m<Example>[0m
    [22m[35mgap&gt; s := Size(CharacterTable("M"));[0m
    [22m[35m808017424794512875886459904961710757005754368000000000[0m
    [22m[35mgap&gt; s &lt; 10^53;                     [0m
    [22m[35mfalse[0m
    [22m[35mgap&gt; s &lt; 10^54;[0m
    [22m[35mtrue[0m
    [22m[35m</Example>[0m
    [22m[35m[0m
    [22m[35m</Section>[0m
  [22m[35m------------------------------------------------------------------[0m
  
  
  [1m[4m[31mB.7 Formulae (Source)[0m
  
  [[1m2.2[0m]
  
  [22m[35m------------------------------------------------------------------[0m
    [22m[35m<Section><Heading>Formulae</Heading>[0m
    [22m[35m[0m
    [22m[35mThere are three types of formulae. <P/>[0m
    [22m[35mThe first is the <E>normal math mode</E> of &LaTeX;: [0m
    [22m[35m[0m
    [22m[35m<Math>b_i \cdot b_j = \sum_{k=1}^d h_{ijk} b_k</Math>. [0m
    [22m[35m[0m
    [22m[35mThen there are <E>displayed formulae</E>:[0m
    [22m[35m<Display>[0m
    [22m[35m   \Longrightarrow \quad \left(\sum_{i=1}^d x_i b_i \right) \cdot[0m
    [22m[35m   \left(\sum_{j=1}^d y_j b_j \right) =[0m
    [22m[35m   \sum_{k=1}^d \left( \sum_{i,j} x_i y_j h_{ijk} \right) b_k [0m
    [22m[35m</Display>[0m
    [22m[35m[0m
    [22m[35mIf possible,  use the <C>Alt</C> element  to specify a better  readable text[0m
    [22m[35mversion of such a formula as in the following example:<P/>[0m
    [22m[35m[0m
    [22m[35m<Alt Not="Text,HTML"><Display>[0m
    [22m[35m   \Longrightarrow \quad \left(\sum_{i=1}^d x_i b_i \right) \cdot[0m
    [22m[35m   \left(\sum_{j=1}^d y_j b_j \right) =[0m
    [22m[35m   \sum_{k=1}^d \left( \sum_{i,j} x_i y_j h_{ijk} \right) b_k [0m
    [22m[35m</Display></Alt>[0m
    [22m[35m<Alt Only="Text,HTML"><Verb>[0m
    [22m[35m         d                d                 d   [0m
    [22m[35m       -----            -----             -----  -----                 [0m
    [22m[35m        \                \                 \      \                    [0m
    [22m[35m ==> (   )  x_i b_i )(    )  y_i b_i ) =    )  (   )  x_i y_j h_ijk ) b_k[0m
    [22m[35m        /                /                 /      /                    [0m
    [22m[35m       -----            -----             -----  -----                [0m
    [22m[35m       i = 1            i = 1             k = 1   i,j                [0m
    [22m[35m</Verb><P/></Alt>[0m
    [22m[35m[0m
    [22m[35mFor small formulae without <Q>difficult</Q> parts use the <C>M</C>[0m
    [22m[35melement: <M>b_i</M>,[0m
    [22m[35m<M>x^2</M>, <M>x^2 + 2x + 1 = (x + 1)^2</M>. Note that here whitespace [0m
    [22m[35mmatters for text (or HTML) output).<P/>[0m
    [22m[35m[0m
    [22m[35mHere are two formulae containing less than characters which are special[0m
    [22m[35mcharacters for XML:[0m
    [22m[35m<M><![CDATA[a < b < c < d]]></M> and  <M>e &lt; f</M>.[0m
    [22m[35m</Section>[0m
  [22m[35m------------------------------------------------------------------[0m
  
  
  [1m[4m[31mB.8 Crossreferencing (Source)[0m
  
  [[1m2.3[0m]
  
  [22m[35m------------------------------------------------------------------[0m
    [22m[35m<Section Label="Cross"><Heading>Crossreferencing</Heading>[0m
    [22m[35m[0m
    [22m[35m<Label Name="there"/>[0m
    [22m[35m[0m
    [22m[35mIn this section we demonstrate various references to parts of this[0m
    [22m[35mdocument. Here is a reference to this section: <Ref Sect="Cross"/>.[0m
    [22m[35mHere is a reference to chapter <Ref Chap="First"/>, to appendix[0m
    [22m[35m<Ref Appendix="Appendix"/>, and to subsection <Ref Subsect="Asub"/>. [0m
    [22m[35m<P/>[0m
    [22m[35m[0m
    [22m[35mWe distinguish among others references [0m
    [22m[35m to functions (see <Ref Func="f"/>), [0m
    [22m[35m to methods with tricky name (see <Ref Meth="\^" Label="for nothing"/>),[0m
    [22m[35m to operations (see <Ref Oper="MyOperation"/>), [0m
    [22m[35m to methods (see <Ref Meth="MyOperation" Label="First"/> or [0m
    [22m[35m                 <Ref Meth="MyOperation" Label="for bla"/>), [0m
    [22m[35m to filters (see <Ref Filt="IsBla"/>), [0m
    [22m[35m to properties (see <Ref Prop="IsBlubb"/>),[0m
    [22m[35m to attributes (see <Ref Attr="NumberBlobbs"/>), [0m
    [22m[35m to variables (<Ref Var="AllBlibbs"/>), [0m
    [22m[35m to families (see <Ref Fam="BlibbsFamily"/>),[0m
    [22m[35m and to info classes (see <Ref InfoClass="InfoBlibbs"/>).[0m
    [22m[35m<P/>[0m
    [22m[35m[0m
    [22m[35mThere are also references to labels: see <Ref Text="here" Label="there"/>,[0m
    [22m[35mto other books: see <Ref Sect="syntaxXML" BookName="gapdoc"/> or[0m
    [22m[35m<Ref Oper="IsSubgroup" BookName="ref"/> in the &GAP; reference[0m
    [22m[35mmanual.[0m
    [22m[35m<P/>[0m
    [22m[35m[0m
    [22m[35mReferences to sections come in two styles: [0m
    [22m[35m<Ref Chap="First" Style="Number"/>[0m
    [22m[35mor <Ref Chap="First" Style="Text"/>.[0m
    [22m[35m<P/>[0m
    [22m[35m[0m
    [22m[35mAnother type of cross referencing is bibliography. Here is a [0m
    [22m[35mcitation: <Cite Key="CR1" Where="(5.22)"/> is an interesting lemma.[0m
    [22m[35m<P/>[0m
    [22m[35m[0m
    [22m[35mThere are also URLs:<P/>[0m
    [22m[35m[0m
    [22m[35m<URL>http://www.math.rwth-aachen.de/LDfM/</URL><P/>[0m
    [22m[35m[0m
    [22m[35mEmail addresses have a special element:[0m
    [22m[35m<Email>Frank.Luebeck@Math.RWTH-Aachen.De</Email>[0m
    [22m[35m<P/>[0m
    [22m[35m[0m
    [22m[35mand Homepages another one:[0m
    [22m[35m<Homepage>http://www.math.rwth-aachen.de/&tilde;Max.Neunhoeffer/</Homepage>[0m
    [22m[35m<P/>[0m
    [22m[35m[0m
    [22m[35mOne can generate index entries as follows (look up the words [0m
    [22m[35m<Q>&TeX;-UserGroup</Q>, <Q>RWTH</Q>, and <Q>Aachen, Hauptbahnhof</Q>).[0m
    [22m[35m<Index Key="TeX-Usergroup">&TeX;-UserGroup</Index>[0m
    [22m[35m<Index Key="Aachen" Subkey="Hauptbahnhof">Aachen</Index>[0m
    [22m[35m<Index>RWTH</Index>[0m
    [22m[35m[0m
    [22m[35m</Section>[0m
  [22m[35m------------------------------------------------------------------[0m
  
  
  [1m[4m[31mB.9 Lists and Tables (Source)[0m
  
  [[1m2.4[0m]
  
  [22m[35m------------------------------------------------------------------[0m
    [22m[35m<Section><Heading>Lists and Tables</Heading>[0m
    [22m[35m[0m
    [22m[35mThere are[0m
    [22m[35m<List>[0m
    [22m[35m <Item>lists</Item>[0m
    [22m[35m <Item>enumerations, and</Item>[0m
    [22m[35m <Item>tables</Item>[0m
    [22m[35m</List>[0m
    [22m[35mor:[0m
    [22m[35m<Enum>[0m
    [22m[35m <Item>lists</Item>[0m
    [22m[35m <Item>enumerations, and</Item>[0m
    [22m[35m <Item>tables</Item>[0m
    [22m[35m</Enum>[0m
    [22m[35mor with marks:[0m
    [22m[35m<List>[0m
    [22m[35m <Mark>lists:</Mark><Item> not numbered</Item>[0m
    [22m[35m <Mark>enumerations:</Mark><Item> numbered</Item>[0m
    [22m[35m <Mark>tables:</Mark><Item> two-dimensional</Item>[0m
    [22m[35m</List>[0m
    [22m[35m[0m
    [22m[35mHere is a <E>table</E>:[0m
    [22m[35m[0m
    [22m[35m<Table Align="|r|c|l|">[0m
    [22m[35m <Caption>Prices</Caption>[0m
    [22m[35m <HorLine/>[0m
    [22m[35m  <Row>[0m
    [22m[35m   <Item>Object</Item><Item>Price</Item><Item>available</Item>[0m
    [22m[35m  </Row>[0m
    [22m[35m <HorLine/>[0m
    [22m[35m <HorLine/>[0m
    [22m[35m  <Row>[0m
    [22m[35m   <Item>Shoe</Item><Item>&dollar;1,00</Item><Item>there</Item>[0m
    [22m[35m  </Row>[0m
    [22m[35m <HorLine/>[0m
    [22m[35m  <Row>[0m
    [22m[35m   <Item>Hat</Item><Item>&dollar;2,00</Item><Item>not there</Item>[0m
    [22m[35m  </Row>[0m
    [22m[35m <HorLine/>[0m
    [22m[35m</Table>[0m
    [22m[35m[0m
    [22m[35m</Section>[0m
  [22m[35m------------------------------------------------------------------[0m
  
  
  [1m[4m[31mB.10 Entities and Special Characters (Source)[0m
  
  [[1m2.5[0m]
  
  [22m[35m------------------------------------------------------------------[0m
    [22m[35m<Section><Heading>Entities and Special Characters</Heading>[0m
    [22m[35m[0m
    [22m[35mHere is the table of special characters:[0m
    [22m[35m[0m
    [22m[35m<Table Align="|c|c|c|c|c|c|c|c|c|c|c|c|c|c|" Label="charsInCDATA"> [0m
    [22m[35m <Caption>Special characters in character data</Caption>[0m
    [22m[35m <HorLine/> <Row> [0m
    [22m[35m  <Item><C>&tamp;</C></Item>[0m
    [22m[35m  <Item><C>&tlt;</C></Item>[0m
    [22m[35m  <Item><C>&tgt;</C></Item>[0m
    [22m[35m  <Item><C>&hash;</C></Item>[0m
    [22m[35m  <Item><C>&dollar;</C></Item>[0m
    [22m[35m  <Item><C>&percent;</C></Item>[0m
    [22m[35m  <Item><C>&tilde;</C></Item>[0m
    [22m[35m  <Item><C>&bslash;</C></Item>   [0m
    [22m[35m  <Item><C>&obrace;</C></Item>[0m
    [22m[35m  <Item><C>&cbrace;</C></Item>[0m
    [22m[35m  <Item><C>&uscore;</C></Item>[0m
    [22m[35m  <Item><C>&circum;</C></Item>[0m
    [22m[35m  <Item><C>&nbsp;</C></Item>[0m
    [22m[35m </Row> <HorLine/>[0m
    [22m[35m</Table>[0m
    [22m[35m[0m
    [22m[35mAnd here are the predefined entities in &GAPDoc;:[0m
    [22m[35m[0m
    [22m[35m<Table Align="|l|l|">[0m
    [22m[35m<Caption>Predefined Entities in the &GAPDoc; system</Caption>[0m
    [22m[35m<HorLine/>[0m
    [22m[35m<Row> <Item><C>&tamp;GAP;</C></Item>       <Item>&GAP;</Item> </Row>[0m
    [22m[35m<HorLine/>[0m
    [22m[35m<Row> <Item><C>&tamp;GAPDoc;</C></Item>    <Item>&GAPDoc;</Item> </Row>[0m
    [22m[35m<HorLine/>[0m
    [22m[35m<Row> <Item><C>&tamp;TeX;</C></Item>       <Item>&TeX;</Item> </Row>[0m
    [22m[35m<HorLine/>[0m
    [22m[35m<Row> <Item><C>&tamp;LaTeX;</C></Item>     <Item>&LaTeX;</Item> </Row>[0m
    [22m[35m<HorLine/>[0m
    [22m[35m<Row> <Item><C>&tamp;BibTeX;</C></Item>    <Item>&BibTeX;</Item> </Row>[0m
    [22m[35m<HorLine/>[0m
    [22m[35m<Row> <Item><C>&tamp;MeatAxe;</C></Item>   <Item>&MeatAxe;</Item> </Row>[0m
    [22m[35m<HorLine/>[0m
    [22m[35m<Row> <Item><C>&tamp;XGAP;</C></Item>      <Item>&XGAP;</Item> </Row>[0m
    [22m[35m<HorLine/>[0m
    [22m[35m<Row> <Item><C>&tamp;copyright;</C></Item> <Item>&copyright;</Item> </Row>[0m
    [22m[35m<HorLine/>[0m
    [22m[35m</Table>[0m
    [22m[35m[0m
    [22m[35m[0m
    [22m[35m</Section>[0m
    [22m[35m[0m
    [22m[35m</Chapter>[0m
    [22m[35m[0m
    [22m[35m</Body>[0m
  [22m[35m------------------------------------------------------------------[0m
  
  
  [1m[4m[31mB.11 Appendix (Source)[0m
  
  [[1mA.[0m]
  
  [22m[35m------------------------  GAPDoc source  -------------------------[0m
    [22m[35m<Appendix><Heading>An Appendix</Heading>[0m
    [22m[35m[0m
    [22m[35mThis is an appendix.[0m
    [22m[35m</Appendix>[0m
  [22m[35m------------------------------------------------------------------[0m
  
