cvs commit: ALFS/docs/syntax_doc/alfs_dtd elem_if.xml elem_item.xml

jwrober at linuxfromscratch.org jwrober at linuxfromscratch.org
Sun Feb 22 19:10:22 PST 2004


jwrober     04/02/22 20:10:22

  Modified:    docs/syntax_doc/alfs_dtd elem_if.xml elem_item.xml
  Log:
  finished first pass across all elements
  
  Revision  Changes    Path
  1.6       +25 -25    ALFS/docs/syntax_doc/alfs_dtd/elem_if.xml
  
  Index: elem_if.xml
  ===================================================================
  RCS file: /home/cvsroot/ALFS/docs/syntax_doc/alfs_dtd/elem_if.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- elem_if.xml	4 Nov 2003 03:07:50 -0000	1.5
  +++ elem_if.xml	23 Feb 2004 03:10:22 -0000	1.6
  @@ -6,7 +6,7 @@
   <title>Syntax</title>
   
   <synopsis>
  -<!ELEMENT if    (then?,else?)>
  +<!ELEMENT if    (then?,else?)>
   <!ATTLIST if
             test     CDATA #IMPLIED
             package  CDATA #IMPLIED
  @@ -15,15 +15,15 @@
   </synopsis>
   
   <para>This element occurs in the elements
  -<link linkend="elem_alfs">alfs</link>,
  -<link linkend="elem_else">else</link>,
  -<link linkend="elem_stage">stage</link>,
  -and <link linkend="elem_then">then</link>.
  +<xref linkend="elem_alfs"/>,
  +<xref linkend="elem_else/">,
  +<xref linkend="elem_stage"/>,
  +and <xref linkend="elem_then"/>.
   </para>
   
   <para>See also :
  -<link linkend="elem_else">else</link>,
  -<link linkend="elem_then">then</link>.
  +<xref linkend="elem_else"/>,
  +<xref linkend="elem_then"/>.
   </para>
   
   </sect2>
  @@ -31,28 +31,28 @@
   <sect2>
   <title>Description</title>
   
  -<para>The element <token>if</token> perform either a test either of a shell
  -expression (if the <token>test</token> attribute is specified), or an
  +<para>The element <filename>if</filename> perform either a test either of a shell
  +expression (if the <filename>test</filename> attribute is specified), or an
   evaluation on the existence or version of a package (if the
  -<token>package</token> attribute is specified. </para>
  +<filename>package</filename> attribute is specified. </para>
   
  -<para>If the <token>test</token> attribute is specified, one look first for
  +<para>If the <filename>test</filename> attribute is specified, one look first for
   four special values : "0", "1", "false", and "true", which have the usual
   meaning. If the attribute has another value, one executes the attribute as a
   shell expression, and consider that the test is satisfied of the status is 0.
   </para>
   
  -<para>If the <token>package</token> attribute is specified but the
  -<token>condition</token> attribute is not specified, the test will be
  +<para>If the <filename>package</filename> attribute is specified but the
  +<filename>condition</filename> attribute is not specified, the test will be
   satisfied if the specified package has been build.</para>
   
  -<para>If the attributes <token>package</token>, <token>condition</token> and
  -<token>version</token> are specified, the test will be satisfied if the
  +<para>If the attributes <filename>package</filename>, <filename>condition</filename> and
  +<filename>version</filename> are specified, the test will be satisfied if the
   condition on the vaersion of the package is satisfied. The condition is
  -evaluated the same was as when evaluating the <token>version</token>
  +evaluated the same was as when evaluating the <filename>version</filename>
   element.</para>
   
  -<para>The two attributes <token>test</token> and <token>package</token> are
  +<para>The two attributes <filename>test</filename> and <filename>package</filename> are
   mutually exclusive.</para>
   
   </sect2>
  @@ -60,33 +60,33 @@
   <sect2>
   <title>Examples</title>
   
  -<programlisting>
  +<userinput><screen>
   <if test="0">
   <then><execute command="echo this should be executed." /></then>
   <else><execute command="echo this should not be executed." /></else>
   </if>
  -</programlisting>
  +</screen></userinput>
   
  -<programlisting>
  +<userinput><screen>
   <execute command="touch /tmp/foo" />
   <if test="[-r /tmp/foo">
   <then><execute command="echo this should be executed." /></then>
   <else><execute command="echo this should not be executed." /></else>
   </if>
  -</programlisting>
  +</screen></userinput>
   
  -<programlisting>
  +<userinput><screen>
   <if package="bison">
   <then><execute command="echo this should be executed if bison is build." /></then>
   <else><execute command="echo this should not be executed if bison is build." /></else>
   </if>
  -</programlisting>
  +</screen></userinput>
   
  -<programlisting>
  +<userinput><screen>
   <if package="bison" condition="ge" version="1.875">
   <then><execute command="echo this should be executed if bison 1.875 or greater is build." /></then>
   </if>
  -</programlisting>
  +</screen></userinput>
   
   </sect2>
   
  
  
  
  1.6       +22 -20    ALFS/docs/syntax_doc/alfs_dtd/elem_item.xml
  
  Index: elem_item.xml
  ===================================================================
  RCS file: /home/cvsroot/ALFS/docs/syntax_doc/alfs_dtd/elem_item.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- elem_item.xml	4 Nov 2003 03:07:50 -0000	1.5
  +++ elem_item.xml	23 Feb 2004 03:10:22 -0000	1.6
  @@ -6,11 +6,15 @@
   <title>Syntax</title>
   
   <synopsis>
  -<!ELEMENT item    (#PCDATA)+>
  +<!ELEMENT item           (#PCDATA)>
   </synopsis>
   
  -<para>This element occurs in the element
  -<link linkend="elem_list">list</link>.
  +<para>This element occurs in the element :  
  +<xref linkend="elem_list"/>
  +</para>
  +
  +<para>See also :
  +<xref linkend="elem_description"/>
   </para>
   
   </sect2>
  @@ -18,7 +22,7 @@
   <sect2>
   <title>Description</title>
   
  -<para>The element <token>item</token> contains
  +<para>The element <filename>item</filename> contains
   a item within a list in a description.</para>
   
   </sect2>
  @@ -26,23 +30,21 @@
   <sect2>
   <title>Examples</title>
   
  -<programlisting>
  -    <package name="gimp" version="1.2.3">
  -        <packageinfo>
  -	        <description>
  -                    <para>The gimp package contains the GNU Image
  -		    Manipulation Program.
  -		    This is useful for :</para>
  -		    <list>
  -		    <item>photo retouching,</item>
  -		    <item>image composition,</item>
  -		    <item>image authoring.</item>
  -		    </list>
  -		</description>
  +<userinput><screen> <package name="gimp" version="1.2.3">
  +        <packageinfo>
  +	        <description>
  +                    <para>The gimp package contains the GNU Image Manipulation Program.
  +		    This is useful for :</para>
  +		    <list>
  +		    <item>photo retouching,</item>
  +		    <item>image composition,</item>
  +		    <item>image authoring.</item>
  +		    </list>
  +		</description>
   
  -                <requires><name>gtk+</name></requires>
  +                <requires><name>gtk+</name></requires>
   
  -		<utilizes><name>libtiff</name></utilizes>
  +		<utilizes><name>libtiff</name></utilizes>
   		<utilizes><name>libpng</name></utilizes>
   		<utilizes><name>libjpeg</name></utilizes>
   		<utilizes><name>aalib</name></utilizes>
  @@ -55,7 +57,7 @@
   
       </package>
   
  -</programlisting>
  +</screen></userinput>
   
   </sect2>
   
  
  
  



More information about the alfs-log mailing list