Re: [docbook-apps] Section Orientation

From
Russell Seymour <>
Date
2004-03-10T15:49:45+00:00
ID
003e01c406b9$38e3b4e0$4785900a@fozzybear
Thread
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 ----- 

  
From: 
  Russell Seymour 

  
To:  
  

  
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