OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: RE: DOCBOOK-APPS: Writing a customization layer for FOP columns


Here is an example custom file based on docbook-xsl-1.50.0 and fop-0.20.3.

<?xml version='1.0'?>
	<!-- This is the customisation file for the Document -->
	<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
                version='1.0'
                xmlns="http://www.w3.org/TR/xhtml1/transitional";
                exclude-result-prefixes="#default">

		<xsl:import href="../docbook-xsl-1.50.0/fo/docbook.xsl"/>
		
		<!-- Add param.xsl overides for variable definitions here
-->		
		<xsl:param name="fop.extensions" select="1"/>
		<xsl:param name="section.autolabel" select="1"/>
		<xsl:param name="section.label.includes.component.label"
select="1"/>

		<!-- Include titlepage here -->
		<xsl:include href="./Titlepage/PX540.xsl"/>


	</xsl:stylesheet>


-----Original Message-----
From: carlos@cvc.edu [mailto:carlos@cvc.edu]
Sent: April 5, 2002 11:58 AM
To: docbook-apps@lists.oasis-open.org
Subject: Re: DOCBOOK-APPS: Writing a customization layer for FOP columns


Good Morning!

I found the setup.pagemasters template

How can I use left2 and right2 on my documents? Is that a parameter or a
variable? If it's not, how I write the customization layer to use the right
pagemasters?

carlos

On 04/05/02 8:44, "Carlos" <carlos@cvc.edu> wrote:

> I want to use something like the fragment below with my XSL-FO
stylesheets.
> 
> <fo:root>
>   <fo:layout-master-set>
>       <fo:simple-page-master master-name  ="page-first"
>                               page-height  ="8.5in"
>                               page-width   ="11in">
>           <fo:region-body     margin-top   ="5cm"
>                           margin-bottom    =".5in"
>                           margin-left      =".5in"
>                           margin-right     =".5in"
>                           column-count     ="3"/>
>           <fo:region-before extent="6cm"/>
>       </fo:simple-page-master>
>   </fo:layout-master-set>
> 
> Which template should I modify?
> 
> Carlos

-- 
Carlos E. Araya
---+ WebCT Administrator/Trainer
 P | California Virtual Campus
 - | C/O De Anza College
 G | 21250 Stevens Creek Blvd
---+ Cupertino, CA 95014

email               carlos@cvc.edu
web                 http://www.cvc1.org/ (work)
                    http://www.silverwolf-net.net (personal)
phone               408 257 0420 (work)
PGP Fingerprint:    E629 5DFD 7EAE 4995 E9D7  3D2F 5A9F 0CE7 DFE7 1756

Three things are certain:
Death, taxes, and lost data.
Guess which has occurred.


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC