cziegeler    01/10/05 02:14:41

  Modified:    documentation sitemap.xmap
               documentation/stylesheets book2menu.xsl site2xhtml.xsl
               documentation/stylesheets/printer_skin site2xhtml.xsl
  Log:
  Disabled svg generation for doc system
  
  Revision  Changes    Path
  1.14      +4 -4      xml-cocoon2/documentation/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/documentation/sitemap.xmap,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- sitemap.xmap      2001/10/05 07:15:19     1.13
  +++ sitemap.xmap      2001/10/05 09:14:41     1.14
  @@ -27,8 +27,8 @@
      </map:serializer>
      <map:serializer name="xml"    mime-type="text/xml"         
src="org.apache.cocoon.serialization.XMLSerializer"/>
      <map:serializer name="links"                               
src="org.apache.cocoon.serialization.LinkSerializer"/>
  -   <map:serializer name="svg2jpeg" mime-type="image/jpeg"     
src="org.apache.cocoon.serialization.SVGSerializer"/>
  -   <map:serializer name="svg2png" mime-type="image/png"       
src="org.apache.cocoon.serialization.SVGSerializer"/>
  +   <!-- map:serializer name="svg2jpeg" mime-type="image/jpeg"     
src="org.apache.cocoon.serialization.SVGSerializer"/>
  +   <map:serializer name="svg2png" mime-type="image/png"       
src="org.apache.cocoon.serialization.SVGSerializer"/ -->
     </map:serializers>
   
     <map:matchers default="wildcard">
  @@ -136,7 +136,7 @@
       <map:read src="images/{2}.gif" mime-type="image/gif"/>
      </map:match>
   
  -   <map:match pattern="**graphics/**-separator.jpg">
  +   <!-- map:match pattern="**graphics/**-separator.jpg">
        <map:generate src="svg/separator.xml"/>
        <map:transform src="svg/addlabel.xsl">
          <map:parameter name="use-request-parameters" value="true"/>
  @@ -160,7 +160,7 @@
          <map:parameter name="use-request-parameters" value="true"/>
        </map:transform>
        <map:serialize type="svg2jpeg"/>
  -   </map:match>
  +   </map:match -->
   
     </map:pipeline>
    </map:pipelines>
  
  
  
  1.5       +33 -0     xml-cocoon2/documentation/stylesheets/book2menu.xsl
  
  Index: book2menu.xsl
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/documentation/stylesheets/book2menu.xsl,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- book2menu.xsl     2001/10/04 08:12:28     1.4
  +++ book2menu.xsl     2001/10/05 09:14:41     1.5
  @@ -16,6 +16,7 @@
       <xsl:apply-templates/>
     </xsl:template>
   
  +<!-- The following templates use svg instead of normal text
     <xsl:template match="menu">
        <tr>
          <td align="left" valign="top">
  @@ -65,6 +66,38 @@
                  vspace="0" 
                  width="120"/>
           </a>
  +     </td>
  +     </tr>
  +    </xsl:if>
  +  </xsl:template>
  +-->
  +
  +  <xsl:template match="menu">
  +     <tr>
  +       <td align="left" background="images/separator.gif" valign="top">
  +         <p style="font-family:arial; font-size:9px; 
color:black">&#160;<xsl:value-of select="@label"/></p>
  +       </td>
  +     </tr>
  +     <xsl:apply-templates/>
  +  </xsl:template>
  +
  +  <xsl:template match="menu-item">
  +    <xsl:if test="not(@type) or @type!='hidden'">
  +     <tr>
  +     <td align="left" background="images/label-background_b.gif" valign="top">
  +        <a style="text-decoration:none; color:#FFFFFF; font-family:Arial; 
font-size:11; font-weight:bold"
  +           href="{@href}">&#160;&#160;&#160;&#160;&#160;<xsl:value-of 
select="@label"/></a>
  +     </td>
  +     </tr>
  +    </xsl:if>
  +  </xsl:template>
  +
  +  <xsl:template match="external">
  +    <xsl:if test="not(@type) or @type!='hidden'">
  +     <tr>
  +     <td align="left" background="images/label-background_b.gif" valign="top">
  +        <a style="text-decoration:none; color:#FFFFFF; font-family:Arial; 
font-size:11; font-weight:bold"
  +           href="{@href}">&#160;&#160;&#160;&#160;&#160;<xsl:value-of 
select="@label"/></a>
        </td>
        </tr>
       </xsl:if>
  
  
  
  1.6       +7 -0      xml-cocoon2/documentation/stylesheets/site2xhtml.xsl
  
  Index: site2xhtml.xsl
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/documentation/stylesheets/site2xhtml.xsl,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- site2xhtml.xsl    2001/10/02 12:21:29     1.5
  +++ site2xhtml.xsl    2001/10/05 09:14:41     1.6
  @@ -29,8 +29,15 @@
               </td>
             </tr>
             <tr>
  +            <!-- using svg 
               <td width="100%" height="35" valign="top" align="right" colspan="2" 
bgcolor="#0086b2">
                 <img src="{$header}?label={/site/document/title}" hspace="0" 
vspace="0" border="0" alt="{/site/document/title}" align="right"/>           
  +            </td>
  +            -->
  +            <td width="100%" height="35" valign="top" align="right" colspan="2" 
bgcolor="#0086b2">
  +              <p align="right" style="color:white; font-family:arial; 
font-size:30px; font-style:italic">
  +                <xsl:value-of select="/site/document/title"/>
  +              </p>
               </td>
             </tr>
             <tr>
  
  
  
  1.2       +7 -0      
xml-cocoon2/documentation/stylesheets/printer_skin/site2xhtml.xsl
  
  Index: site2xhtml.xsl
  ===================================================================
  RCS file: 
/home/cvs/xml-cocoon2/documentation/stylesheets/printer_skin/site2xhtml.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- site2xhtml.xsl    2001/10/05 07:15:19     1.1
  +++ site2xhtml.xsl    2001/10/05 09:14:41     1.2
  @@ -29,8 +29,15 @@
               </td>
             </tr>
             <tr>
  +            <!-- using svg 
               <td width="100%" height="35" valign="top" align="right" colspan="2" 
bgcolor="#0086b2">
                 <img src="{$header}?label={/site/document/title}" hspace="0" 
vspace="0" border="0" alt="{/site/document/title}" align="right"/>           
  +            </td>
  +            -->
  +            <td width="100%" height="35" valign="top" align="right" colspan="2" 
bgcolor="#0086b2">
  +              <p align="right" style="color:white; font-family:arial; 
font-size:30px; font-style:italic">
  +                <xsl:value-of select="/site/document/title"/>
  +              </p>
               </td>
             </tr>
             <tr>
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to