You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by be...@apache.org on 2002/07/18 22:28:51 UTC

cvs commit: xml-forrest/src/resources/skins/bert/xslt/html document2html.xsl

bert        2002/07/18 13:28:51

  Modified:    src/resources/skins/bert/css page.css
               src/resources/skins/bert/xslt/html document2html.xsl
  Log:
  resolve code tag in documents.  Fixed width fonts are generally a little smaller in most browsers, no resizing has been done.
  
  Revision  Changes    Path
  1.7       +1 -0      xml-forrest/src/resources/skins/bert/css/page.css
  
  Index: page.css
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/skins/bert/css/page.css,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- page.css	17 Jul 2002 10:50:52 -0000	1.6
  +++ page.css	18 Jul 2002 20:28:51 -0000	1.7
  @@ -34,6 +34,7 @@
   .fixme .label { background-color: #C6C600; color: #ffffff; }
   
   .code { border-color: #CFDCED; border-style: solid; border-width: 1px; }
  +.codefrag {	font-family: "Courier New", Courier, monospace; }
   
   .highlight { background-color: yellow; }
   
  
  
  
  1.7       +4 -1      xml-forrest/src/resources/skins/bert/xslt/html/document2html.xsl
  
  Index: document2html.xsl
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/skins/bert/xslt/html/document2html.xsl,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- document2html.xsl	18 Jun 2002 06:35:13 -0000	1.6
  +++ document2html.xsl	18 Jul 2002 20:28:51 -0000	1.7
  @@ -54,7 +54,7 @@
       </xsl:if>
       <xsl:apply-templates/>
     </xsl:template>
  -<!--  section handling
  +  <!--  section handling
     - <a name/> anchors are added if the id attribute is specified
     - generated anchors are still included for TOC - what should we do about this?
     - FIXME: provide a generic facility to process section irrelevant to their
  @@ -129,6 +129,9 @@
           <xsl:attribute name="width"><xsl:value-of select="@width"/></xsl:attribute>
         </xsl:if>
       </img>
  +  </xsl:template>
  +  <xsl:template match="code">
  +    <span class="codefrag"><xsl:value-of select="."/></span>
     </xsl:template>
     <xsl:template match="figure">
       <div align="center">