<br><font size=2 face="sans-serif">Bob,</font>
<br>
<br><font size=2 face="sans-serif">Thanks very much for that suggestion.
One problem for me is the requirement to insert the psmi marker as a direct
child of fo:flow. The xsl I am using could put in several nested fo:blocks
before reaching the element that requires the change in page geometry.
I'm not sure how to get round that.</font>
<br>
<br><font size=2 face="sans-serif">It seems to me the best solution would
be to allow nested pagesets and process them accordingly. Why not?</font>
<br>
<br><font size=2 face="sans-serif">Regards, Doug x2571</font>
<br>
<br><font size=2 face="sans-serif">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 border width=100%>
<tr valign=top>
<td>
<br>
<br>
<br><font size=1 face="sans-serif"><b>"Bob Stayton" <bobs@sagehill.net></b></font>
<br><font size=1 face="sans-serif">Sent by: owner-xep-support@renderx.com</font>
<br><font size=1 face="sans-serif">07/06/2004 22:31</font>
<br><font size=1 face="sans-serif">Please respond to xep-support</font>
<td><font size=1 face="Arial"> </font>
<br><font size=1 face="sans-serif"> To:
<xep-support@renderx.com></font>
<br><font size=1 face="sans-serif"> cc:
</font>
<br><font size=1 face="sans-serif"> Subject:
Re: [xep-support] A3 pages and Landscape
Pages</font>
<br><font size=2 face="sans-serif">
</font></table>
<br>
<br>
<br><font size=2 face="Courier New">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>
<br><font size=3> </font>
<br><a href=http://www.cranesoftwrights.com/resources/psmi/index.htm><font size=2 color=blue face="Courier New"><u>http://www.cranesoftwrights.com/resources/psmi/index.htm</u></font></a>
<br><font size=3> </font>
<br><font size=2 face="Arial">Bob Stayton<br>
Sagehill Enterprises<br>
DocBook Consulting</font><font size=2 color=blue face="Arial"><u><br>
</u></font><a href=mailto:bobs@sagehill.net><font size=2 color=blue face="Arial"><u>bobs@sagehill.net</u></font></a>
<br><font size=3> </font>
<br><font size=3> </font>
<br><font size=3>----- Original Message ----- </font>
<br><font size=3><b>From:</b> </font><a href=mailto:Douglas_Morrison@contractor.amat.com><font size=3 color=blue><u>Douglas_Morrison@contractor.amat.com</u></font></a><font size=3>
</font>
<br><font size=3><b>To:</b> </font><a href="mailto:xep-support@renderx.com"><font size=3 color=blue><u>xep-support@renderx.com</u></font></a><font size=3>
</font>
<br><font size=3><b>Sent:</b> Monday, June 07, 2004 7:25 AM</font>
<br><font size=3><b>Subject:</b> Re: [xep-support] A3 pages and Landscape
Pages</font>
<br>
<br><font size=2 face="sans-serif"><br>
Hello Alexander,</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
Actually composer produces the effect I want, at least for landscape content
within a portrait page.</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
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><font size=3>
<br>
</font><font size=2 face="sans-serif"><br>
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><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
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><font size=3>
<br>
</font><font size=2 face="sans-serif"><br>
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><font size=3>
<br>
</font><font size=2 face="sans-serif"><br>
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><font size=3>
<br>
</font><font size=2 face="sans-serif"><br>
Regards, Doug x2571</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
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><font size=3> <br>
<br>
<br>
</font>
<table border=4 width=100%>
<tr valign=top>
<td width=39%><font size=3><br>
<br>
</font><font size=1 face="sans-serif"><b><br>
Alexander Peshkov <peshkov@renderx.com></b></font><font size=3> </font><font size=1 face="sans-serif"><br>
Sent by: owner-xep-support@renderx.com</font><font size=3> </font><font size=1 face="sans-serif"><br>
03/06/2004 16:53</font><font size=3> </font><font size=1 face="sans-serif"><br>
Please respond to xep-support</font><font size=3> </font>
<td width=60%><font size=1 face="Arial"> </font><font size=1 face="sans-serif"><br>
To: "Douglas_Morrison@contractor.amat.com"
<xep-support@renderx.com></font><font size=3> </font><font size=1 face="sans-serif"><br>
cc: </font><font size=3>
</font><font size=1 face="sans-serif"><br>
Subject: Re: [xep-support]
A3 pages and Landscape Pages</font><font size=3> </font><font size=2 face="sans-serif"><br>
</font><font size=1 color=#800080 face="sans-serif">Attachments
were removed from this document per sender's request.</font></table>
<br><font size=3><br>
<br>
</font><font size=2><tt><br>
Hello Douglas,</tt></font><font size=3><br>
</font><font size=2><tt><br>
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.</tt></font><font size=3><br>
</font><font size=2><tt><br>
Best regards,<br>
Alexander Peshkov
mailto:peshkov@renderx.com<br>
RenderX</tt></font><font size=3><br>
<br>
</font><font size=2><tt><br>
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.</tt></font><font size=3><br>
</font><font size=2><tt><br>
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:</tt></font><font size=3><br>
</font><font size=2><tt><br>
Dcac> i) if the content is longer than one page the overflow material
is lost,<br>
Dcac> and</tt></font><font size=3><br>
</font><font size=2><tt><br>
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.</tt></font><font size=3><br>
</font><font size=2><tt><br>
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).</tt></font><font size=3><br>
</font><font size=2><tt><br>
Dcac> Regards, Doug x2571</tt></font><font size=3><br>
</font><font size=2><tt><br>
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><font size=3> </font><font size=2><tt><br>
Dcac> use or distribution is prohibited. Please notify me immediately
by reply <br>
Dcac> e-mail and delete this message from your computer system. Thank
you.</tt></font><font size=3> <br>
</font>
<br>