This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] Section Orientation


Hi,
 
As a follow up to the email this morning, I think I am a bit closer to getting this working, but I am failing at the last hurdle.
 
I have added an attribute to the <sect1> tag in my XML that says orient='l' or 'p'.  I then have a custom XSL in my FO directory that has:
 
<xsl:template match="sect1[@orient = 'l']">
    <xsl:param name="page.orientation" select="landscape"/>
</xsl:template>
 
However whilst this template match is being picked up, this section is not displayed on the final PDF.  The document only has the title page and TOC.
 
Can anyone give me any pointers for this one please?
 
Thanks, Russell
----- Original Message -----
Sent: Wednesday, March 10, 2004 11:36 AM
Subject: [docbook-apps] Section Orientation

Good morning list,
 
Although I know how to set the orientation for the whole document which is rendered from a DocBook, I wondered if there was a way to specify there orientation that is required in a section.
 
I have a system that produces reports from a variety of data sources and some of that data would be better displayed on a landscape orientation whereas the rest of the document would be best in portrait.

Does anyone now of a way of doing this?

Thanks in advance.

Russell


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]