[project @ 2004-08-08 17:26:26 by krasimir]
[ghc-hetmet.git] / ghc / docs / users_guide / utils.sgml
index 8d75b38..14e614e 100644 (file)
@@ -92,9 +92,9 @@ tags:
     corresponding type constructor instead.</para>
 
     <para>Actually, GHC also comes with <command>etags</command>
     corresponding type constructor instead.</para>
 
     <para>Actually, GHC also comes with <command>etags</command>
-    &lsqb;for C&rsqb;, and <Command>perltags</Command> &lsqb;for You
+    &lsqb;for C&rsqb;, and <command>perltags</command> &lsqb;for You
     Know What&rsqb;.  And&mdash;I cannot tell a lie&mdash;there is
     Know What&rsqb;.  And&mdash;I cannot tell a lie&mdash;there is
-    Denis Howe's <Command>fptags</Command> &lsqb;for Haskell,
+    Denis Howe's <command>fptags</command> &lsqb;for Haskell,
     etc.&rsqb; in the <Filename>ghc/CONTRIB</Filename>
     section&hellip;)</para>
 
     etc.&rsqb; in the <Filename>ghc/CONTRIB</Filename>
     section&hellip;)</para>
 
@@ -110,11 +110,11 @@ tags:
 
     <para>Andy Gill and Simon Marlow have written a parser-generator
     for Haskell, called
 
     <para>Andy Gill and Simon Marlow have written a parser-generator
     for Haskell, called
-    <Command>happy</Command>.<IndexTerm><Primary>happy parser
-    generator</Primary></IndexTerm> <command>Happy</command> is to
+    <command>happy</command>.<indexterm><primary>happy parser
+    generator</primary></indexterm> <command>Happy</command> is to
     Haskell what <command>Yacc</command> is to C.</para>
 
     Haskell what <command>Yacc</command> is to C.</para>
 
-    <para>You can get <Command>happy</Command> from <ulink
+    <para>You can get <command>happy</command> from <ulink
     url="http://www.haskell.org/happy/">the Happy
     Homepage</ulink>.</para>
 
     url="http://www.haskell.org/happy/">the Happy
     Homepage</ulink>.</para>
 
@@ -125,13 +125,13 @@ tags:
 
 <!-- we don't distribute this anymore
   <sect1 id="pphs">
 
 <!-- we don't distribute this anymore
   <sect1 id="pphs">
-    <title>Pretty-printing Haskell: <Command>pphs</Command></title>
+    <title>Pretty-printing Haskell: <command>pphs</command></title>
     <indexterm><primary>pphs</primary></indexterm>
     <indexterm><primary>pretty-printing Haskell code</primary></indexterm>
 
     <para>Andrew Preece has written
     <indexterm><primary>pphs</primary></indexterm>
     <indexterm><primary>pretty-printing Haskell code</primary></indexterm>
 
     <para>Andrew Preece has written
-    <Command>pphs</Command>,<IndexTerm><Primary>pphs</Primary></IndexTerm><IndexTerm><Primary>pretty-printing
-    Haskell</Primary></IndexTerm> a utility to pretty-print Haskell
+    <command>pphs</command>,<indexterm><primary>pphs</primary></indexterm><indexterm><primary>pretty-printing
+    Haskell</primary></indexterm> a utility to pretty-print Haskell
     code in LaTeX documents.  Keywords in bolds, variables in
     italics&mdash;that sort of thing.  It is good at lining up program
     clauses and equals signs, things that are very tiresome to do by
     code in LaTeX documents.  Keywords in bolds, variables in
     italics&mdash;that sort of thing.  It is good at lining up program
     clauses and equals signs, things that are very tiresome to do by
@@ -177,7 +177,7 @@ tags:
     header file.</para>
 
     <sect2>
     header file.</para>
 
     <sect2>
-      <title>Command line syntax</title>
+      <title>command line syntax</title>
 
       <para><command>hsc2hs</command> takes input files as arguments,
       and flags that modify its behavior:</para>
 
       <para><command>hsc2hs</command> takes input files as arguments,
       and flags that modify its behavior:</para>
@@ -288,7 +288,7 @@ tags:
       <literal>.hsc</literal> suffix replaced:</para>
 
       <informaltable>
       <literal>.hsc</literal> suffix replaced:</para>
 
       <informaltable>
-       <tgroup cols=2>
+       <tgroup cols="2">
          <tbody>
            <row>
              <entry><literal>.hs</literal></entry>
          <tbody>
            <row>
              <entry><literal>.hs</literal></entry>
@@ -397,7 +397,7 @@ tags:
            in which case you must arrange for the importing
            module to <literal>#include</literal> the C header
            file generated by <command>hsc2hs</command> (see
            in which case you must arrange for the importing
            module to <literal>#include</literal> the C header
            file generated by <command>hsc2hs</command> (see
-           <xref linkend="glasgow-foreign-headers">).
+           <xref linkend="glasgow-foreign-headers"/>).
            For this reason we avoid using <literal>#def</literal>
            in the libraries.</para></note>
          </listitem>
            For this reason we avoid using <literal>#def</literal>
            in the libraries.</para></note>
          </listitem>