httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n.@apache.org
Subject cvs commit: httpd-2.0/docs/manual/style/xsl nroff.xsl language.xsl
Date Mon, 03 May 2004 19:41:53 GMT
nd          2004/05/03 12:41:53

  Modified:    docs/manual/style/lang Tag: APACHE_2_0_BRANCH en.xml
               docs/manual/style/xsl Tag: APACHE_2_0_BRANCH language.xsl
  Added:       docs/manual/style/xsl Tag: APACHE_2_0_BRANCH nroff.xsl
  Removed:     docs/manual/style/man Tag: APACHE_2_0_BRANCH man.en.xsl
                        manpage.xsl
  Log:
  move style/man/manpage.xsl style/xsl/nroff.xsl
  remove autogenerated man.en.xsl
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.6.2.10  +4 -0      httpd-2.0/docs/manual/style/lang/en.xml
  
  Index: en.xml
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/style/lang/en.xml,v
  retrieving revision 1.6.2.9
  retrieving revision 1.6.2.10
  diff -u -u -r1.6.2.9 -r1.6.2.10
  --- en.xml	2 May 2004 23:30:29 -0000	1.6.2.9
  +++ en.xml	3 May 2004 19:41:52 -0000	1.6.2.10
  @@ -30,6 +30,10 @@
           <settings>English (USA)</settings>
       </chm>
   
  +    <man>
  +        <charset>ISO-8859-1</charset>
  +    </man>
  +
       <!-- Some strings might be used in other contexts, than stated in the -->
       <!-- comments...                                                      -->
       <messages>
  
  
  
  No                   revision
  No                   revision
  1.1.2.2   +30 -15    httpd-2.0/docs/manual/style/xsl/language.xsl
  
  Index: language.xsl
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/style/xsl/language.xsl,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -u -r1.1.2.1 -r1.1.2.2
  --- language.xsl	2 May 2004 23:35:48 -0000	1.1.2.1
  +++ language.xsl	3 May 2004 19:41:52 -0000	1.1.2.2
  @@ -200,13 +200,16 @@
                   &lf;
               </xsl:if>
   
  -            <xsl:if test=". = 'en'">
  -                <target name="man-en"
  -                        description="- builds the English nroff files">&lf;
  +            <xsl:if test="$file/man">
  +                <target name="man-{.}"
  +                        description="- builds the {$file/name} nroff files">&lf;
                       <xsl:text>    </xsl:text>
  -                    <nroff.generic lang="en" />&lf;
  +                    <nroff.generic lang="{.}" />&lf;
                   </target>
                   &lf;
  +            </xsl:if>
  +
  +            <xsl:if test=". = 'en'">
                   <target name="latex-en"
                           description="- builds the English latex file">&lf;
                       <xsl:text>    </xsl:text>
  @@ -342,7 +345,8 @@
                   <xsl:text>xml</xsl:text>
               </xsl:when>
               <xsl:when test="$type = 'hhc' or
  -                            $type = 'hhp'">
  +                            $type = 'hhp' or
  +                            $type = 'man'">
                   <xsl:text>text</xsl:text>
               </xsl:when>
               <xsl:otherwise>
  @@ -361,6 +365,9 @@
                               $type = 'hhp'">
                   <xsl:value-of select="chm/charset" />
               </xsl:when>
  +            <xsl:when test="$type = 'man'">
  +                <xsl:value-of select="man/charset" />
  +            </xsl:when>
               <xsl:otherwise>
                   <xsl:value-of select="charset" />
               </xsl:otherwise>
  @@ -405,18 +412,23 @@
       </xsl:element>
       &lf;
   
  -    <xsl:element name="xsl:variable">
  -        <xsl:attribute name="name">doclang</xsl:attribute>
  -        <xsl:value-of select="@id" />
  -    </xsl:element>
  -    &lf;&lf;
  -
  -    <xsl:comment>
  -        <xsl:text> some meta information have to be passed to the </xsl:text>
  -        <xsl:text>transformation </xsl:text>
  -    </xsl:comment>
  +    <xsl:if test="$type != 'man'">
  +        <xsl:element name="xsl:variable">
  +            <xsl:attribute name="name">doclang</xsl:attribute>
  +            <xsl:value-of select="@id" />
  +        </xsl:element>
  +        &lf;
  +    </xsl:if>
       &lf;
   
  +    <xsl:if test="$type != 'man'">
  +        <xsl:comment>
  +            <xsl:text> some meta information have to be passed to </xsl:text>
  +            <xsl:text>the transformation </xsl:text>
  +        </xsl:comment>
  +        &lf;
  +    </xsl:if>
  +
       <xsl:if test="$type = 'manual' or
                     $type = 'chm' or
                     $type = 'zip' or
  @@ -507,6 +519,9 @@
               </xsl:when>
               <xsl:when test="$type = 'hhp'">
                   <xsl:text>../xsl/hhp.xsl</xsl:text>
  +            </xsl:when>
  +            <xsl:when test="$type = 'man'">
  +                <xsl:text>../xsl/nroff.xsl</xsl:text>
               </xsl:when>
               <xsl:otherwise>
                   <xsl:text>xsl/common.xsl</xsl:text>
  
  
  
  No                   revision
  
  Index: language.xsl
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/style/xsl/language.xsl,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -u -r1.1.2.1 -r1.1.2.2
  --- language.xsl	2 May 2004 23:35:48 -0000	1.1.2.1
  +++ language.xsl	3 May 2004 19:41:52 -0000	1.1.2.2
  @@ -200,13 +200,16 @@
                   &lf;
               </xsl:if>
   
  -            <xsl:if test=". = 'en'">
  -                <target name="man-en"
  -                        description="- builds the English nroff files">&lf;
  +            <xsl:if test="$file/man">
  +                <target name="man-{.}"
  +                        description="- builds the {$file/name} nroff files">&lf;
                       <xsl:text>    </xsl:text>
  -                    <nroff.generic lang="en" />&lf;
  +                    <nroff.generic lang="{.}" />&lf;
                   </target>
                   &lf;
  +            </xsl:if>
  +
  +            <xsl:if test=". = 'en'">
                   <target name="latex-en"
                           description="- builds the English latex file">&lf;
                       <xsl:text>    </xsl:text>
  @@ -342,7 +345,8 @@
                   <xsl:text>xml</xsl:text>
               </xsl:when>
               <xsl:when test="$type = 'hhc' or
  -                            $type = 'hhp'">
  +                            $type = 'hhp' or
  +                            $type = 'man'">
                   <xsl:text>text</xsl:text>
               </xsl:when>
               <xsl:otherwise>
  @@ -361,6 +365,9 @@
                               $type = 'hhp'">
                   <xsl:value-of select="chm/charset" />
               </xsl:when>
  +            <xsl:when test="$type = 'man'">
  +                <xsl:value-of select="man/charset" />
  +            </xsl:when>
               <xsl:otherwise>
                   <xsl:value-of select="charset" />
               </xsl:otherwise>
  @@ -405,18 +412,23 @@
       </xsl:element>
       &lf;
   
  -    <xsl:element name="xsl:variable">
  -        <xsl:attribute name="name">doclang</xsl:attribute>
  -        <xsl:value-of select="@id" />
  -    </xsl:element>
  -    &lf;&lf;
  -
  -    <xsl:comment>
  -        <xsl:text> some meta information have to be passed to the </xsl:text>
  -        <xsl:text>transformation </xsl:text>
  -    </xsl:comment>
  +    <xsl:if test="$type != 'man'">
  +        <xsl:element name="xsl:variable">
  +            <xsl:attribute name="name">doclang</xsl:attribute>
  +            <xsl:value-of select="@id" />
  +        </xsl:element>
  +        &lf;
  +    </xsl:if>
       &lf;
   
  +    <xsl:if test="$type != 'man'">
  +        <xsl:comment>
  +            <xsl:text> some meta information have to be passed to </xsl:text>
  +            <xsl:text>the transformation </xsl:text>
  +        </xsl:comment>
  +        &lf;
  +    </xsl:if>
  +
       <xsl:if test="$type = 'manual' or
                     $type = 'chm' or
                     $type = 'zip' or
  @@ -507,6 +519,9 @@
               </xsl:when>
               <xsl:when test="$type = 'hhp'">
                   <xsl:text>../xsl/hhp.xsl</xsl:text>
  +            </xsl:when>
  +            <xsl:when test="$type = 'man'">
  +                <xsl:text>../xsl/nroff.xsl</xsl:text>
               </xsl:when>
               <xsl:otherwise>
                   <xsl:text>xsl/common.xsl</xsl:text>
  
  
  
  No                   revision
  
  Index: language.xsl
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/style/xsl/language.xsl,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -u -r1.1.2.1 -r1.1.2.2
  --- language.xsl	2 May 2004 23:35:48 -0000	1.1.2.1
  +++ language.xsl	3 May 2004 19:41:52 -0000	1.1.2.2
  @@ -200,13 +200,16 @@
                   &lf;
               </xsl:if>
   
  -            <xsl:if test=". = 'en'">
  -                <target name="man-en"
  -                        description="- builds the English nroff files">&lf;
  +            <xsl:if test="$file/man">
  +                <target name="man-{.}"
  +                        description="- builds the {$file/name} nroff files">&lf;
                       <xsl:text>    </xsl:text>
  -                    <nroff.generic lang="en" />&lf;
  +                    <nroff.generic lang="{.}" />&lf;
                   </target>
                   &lf;
  +            </xsl:if>
  +
  +            <xsl:if test=". = 'en'">
                   <target name="latex-en"
                           description="- builds the English latex file">&lf;
                       <xsl:text>    </xsl:text>
  @@ -342,7 +345,8 @@
                   <xsl:text>xml</xsl:text>
               </xsl:when>
               <xsl:when test="$type = 'hhc' or
  -                            $type = 'hhp'">
  +                            $type = 'hhp' or
  +                            $type = 'man'">
                   <xsl:text>text</xsl:text>
               </xsl:when>
               <xsl:otherwise>
  @@ -361,6 +365,9 @@
                               $type = 'hhp'">
                   <xsl:value-of select="chm/charset" />
               </xsl:when>
  +            <xsl:when test="$type = 'man'">
  +                <xsl:value-of select="man/charset" />
  +            </xsl:when>
               <xsl:otherwise>
                   <xsl:value-of select="charset" />
               </xsl:otherwise>
  @@ -405,18 +412,23 @@
       </xsl:element>
       &lf;
   
  -    <xsl:element name="xsl:variable">
  -        <xsl:attribute name="name">doclang</xsl:attribute>
  -        <xsl:value-of select="@id" />
  -    </xsl:element>
  -    &lf;&lf;
  -
  -    <xsl:comment>
  -        <xsl:text> some meta information have to be passed to the </xsl:text>
  -        <xsl:text>transformation </xsl:text>
  -    </xsl:comment>
  +    <xsl:if test="$type != 'man'">
  +        <xsl:element name="xsl:variable">
  +            <xsl:attribute name="name">doclang</xsl:attribute>
  +            <xsl:value-of select="@id" />
  +        </xsl:element>
  +        &lf;
  +    </xsl:if>
       &lf;
   
  +    <xsl:if test="$type != 'man'">
  +        <xsl:comment>
  +            <xsl:text> some meta information have to be passed to </xsl:text>
  +            <xsl:text>the transformation </xsl:text>
  +        </xsl:comment>
  +        &lf;
  +    </xsl:if>
  +
       <xsl:if test="$type = 'manual' or
                     $type = 'chm' or
                     $type = 'zip' or
  @@ -507,6 +519,9 @@
               </xsl:when>
               <xsl:when test="$type = 'hhp'">
                   <xsl:text>../xsl/hhp.xsl</xsl:text>
  +            </xsl:when>
  +            <xsl:when test="$type = 'man'">
  +                <xsl:text>../xsl/nroff.xsl</xsl:text>
               </xsl:when>
               <xsl:otherwise>
                   <xsl:text>xsl/common.xsl</xsl:text>
  
  
  
  1.1.2.1   +0 -0      httpd-2.0/docs/manual/style/xsl/nroff.xsl
  
  Index: nroff.xsl
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/style/xsl/nroff.xsl,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -u -r1.1 -r1.1.2.1
  
  
  

Mime
View raw message