forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Web Maestro Clay <>
Subject Enabling/Creating a new style for files
Date Mon, 27 Mar 2006 01:04:11 GMT
What are the steps to create a new style to be passed from documents to a final output? Ideally, it would be best  
to create a pipeline to pass any style with the prefix 'Forrest:'.  
Then, we could add the relevant style(s) to skinconf.xml.

My gut tells me these are the steps:

1. Create a new style in my document, then...

2. Follow the example in this file:


3. reate a new <xsl:template/> element like this:

       | Instructional step
   <xsl:template match="text:p[@text:style-name='P2']">
     <p class="instruction">

4. Add a relevant style to <extra-css> in skinconf.xml?:

     <!-- .. -->
     p.rightBox {
       border: solid 1px #a00000;
       text-align: right;

Please confirm and/or add any necessary steps... Eventually, it may  
end up in the Forrest How-To section... :-)

Thank you!

Clay Leeds

My religion is simple. My religion is kindness.
-- HH Dalai Lama of Tibet

View raw message