<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face="Courier New" size=2>The Docbook stylesheets are not structured
in a way to permit switching page geometries in the middle of a chapter.
However, it can be done with post processing, so you should look at G. Ken
Holman's Page Sequence Master Interleave solution:</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2><A
href="http://www.cranesoftwrights.com/resources/psmi/index.htm">http://www.cranesoftwrights.com/resources/psmi/index.htm</A></FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Bob Stayton<BR>Sagehill Enterprises<BR>DocBook
Consulting<BR><A
href="mailto:bobs@sagehill.net">bobs@sagehill.net</A></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=Douglas_Morrison@contractor.amat.com
href="mailto:Douglas_Morrison@contractor.amat.com">Douglas_Morrison@contractor.amat.com</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=xep-support@renderx.com
href="mailto:xep-support@renderx.com">xep-support@renderx.com</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, June 07, 2004 7:25 AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [xep-support] A3 pages and
Landscape Pages</DIV>
<DIV><BR></DIV><BR><FONT face=sans-serif size=2>Hello Alexander,</FONT>
<BR><BR><FONT face=sans-serif size=2>Actually composer produces the effect I
want, at least for landscape content within a portrait page.</FONT>
<BR><BR><FONT face=sans-serif size=2>However, I think the real problem is how
to use xsl to translate from the Docbook xml source to the sort of xsl-fo that
you kindly provided.</FONT> <BR><BR><FONT face=sans-serif size=2>If xsl-fo
(and xep) allowed nested pagesets then it would not be so much of a problem:
at the end of one pageset it could resume with the previous pageset.</FONT>
<BR><BR><FONT face=sans-serif size=2>If I identify a table as landscape by
setting an attribute role="A3landscape" then I can see how to make that end
the current pageset and start a new pageset, but what happens at the end of
the table? How does it know what pageset to continue with? Actually, I suppose
I could specify that with another attribute, or use a compound attribute such
as role="A3landscapethenA4portrait".</FONT> <BR><BR><FONT face=sans-serif
size=2>Another approach might be to use a processing instruction, such as
<?changepageset type="A3landscape"> and then have another PI at the end
of that section to return to A4portrait (or whatever).</FONT> <BR><BR><FONT
face=sans-serif size=2>I am very new to xml, xsl, xsl-fo, xpath, xep, styler,
composer etc. so would welcome any advice on the best approach to
follow.</FONT> <BR><BR><FONT face=sans-serif size=2>Regards, Doug
x2571</FONT> <BR><BR><FONT face=sans-serif size=2>The content of this
message is Applied Materials Confidential. If you are not the intended
recipient and have received this message in error, any use or distribution is
prohibited. Please notify me immediately by reply e-mail and delete this
message from your computer system. Thank you.</FONT> <BR><BR><BR><BR>
<TABLE width="100%" border=1>
<TBODY>
<TR vAlign=top>
<TD><BR><BR><BR><FONT face=sans-serif size=1><B>Alexander Peshkov
<peshkov@renderx.com></B></FONT> <BR><FONT face=sans-serif
size=1>Sent by: owner-xep-support@renderx.com</FONT> <BR><FONT
face=sans-serif size=1>03/06/2004 16:53</FONT> <BR><FONT face=sans-serif
size=1>Please respond to xep-support</FONT>
<TD><FONT face=Arial size=1> </FONT><BR><FONT
face=sans-serif size=1> To:
"Douglas_Morrison@contractor.amat.com"
<xep-support@renderx.com></FONT> <BR><FONT face=sans-serif
size=1> cc:
</FONT> <BR><FONT face=sans-serif size=1>
Subject: Re: [xep-support] A3 pages
and Landscape Pages</FONT> <BR><FONT face=sans-serif size=2>
</FONT><FONT
face=sans-serif color=#800080 size=1>Attachments were removed from this
document per sender's request.</FONT></TR></TBODY></TABLE><BR><BR><BR><FONT
size=2><TT>Hello Douglas,<BR></TT></FONT><BR><FONT size=2><TT>Page dimensions
are defined on every simple-page-master. Therefore you<BR>just need to switch
pagemasters appropriately (please find simple<BR>example attached). I can't
say what happens in XSL-FO produced by<BR>Arbortext, but from your description
I conclude that it just wrap<BR>"landscape" tables in container with
reference-orientation="90"<BR>instead of using separate page-master. So the
problem is in Arbortext<BR>Composer rather then in
XEP.<BR></TT></FONT><BR><FONT size=2><TT>Best regards,<BR>Alexander Peshkov
mailto:peshkov@renderx.com<BR>RenderX<BR></TT></FONT><BR><BR><FONT
size=2><TT>Dcac> Most of my output is in A4 portrait mode, but I would like
to be able to<BR>Dcac> output some pages in landscape mode and some pages
on A3 landscape.<BR></TT></FONT><BR><FONT size=2><TT>Dcac> Using xsl from
Arbortext Styler I can produce landscape content (a rotated<BR>Dcac> table
or a rotated graphic and caption) within a portrait page (as
defined<BR>Dcac> by the positon of the header and footer) but the XEP
produced pdf has two<BR>Dcac> drawbacks:<BR></TT></FONT><BR><FONT
size=2><TT>Dcac> i) if the content is longer than one page the
overflow material is lost,<BR>Dcac> and<BR></TT></FONT><BR><FONT
size=2><TT>Dcac> ii) the page is displayed in portrait mode, so the table
appears sideways<BR>Dcac> (i.e. English text runs from bottom to top) on
the screen. Using Arbortext<BR>Dcac> Composer to produce the pdf, the pdf
has additional pages to hold overflow<BR>Dcac> and the page is shown in
landscape mode, making the content easier to<BR>Dcac>
view.<BR></TT></FONT><BR><FONT size=2><TT>Dcac> Is there any way of
producing landscape pages (or landscape within<BR>Dcac> portrait, viewed
onscreen as landscape) and A3 landscape pages that<BR>Dcac> revert
back to A4 portrait at the end of the current element? The<BR>Dcac>
requirement to issue overflow pages automatically is a 'nice-to-have'
that<BR>Dcac> could be dropped, at a pinch. (In a way, what I want is a
nested pageset -<BR>Dcac> but that is not allowed in
xsl-fo).<BR></TT></FONT><BR><FONT size=2><TT>Dcac> Regards, Doug
x2571<BR></TT></FONT><BR><FONT size=2><TT>Dcac> The content of this
message is Applied Materials Confidential. If you are<BR>Dcac> not
the intended recipient and have received this message in error,
any</TT></FONT> <BR><FONT size=2><TT>Dcac> use or distribution is
prohibited. Please notify me immediately by reply </TT></FONT><BR><FONT
size=2><TT>Dcac> e-mail and delete this message from your computer system.
Thank you.</TT></FONT> <BR><BR></BLOCKQUOTE></BODY></HTML>