<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 &nbsp;x2571</font>
<br>
<br><font size=2 face="sans-serif">The content of this message is Applied
Materials Confidential. &nbsp;If you are not the intended recipient and
have received this message in error, any use or distribution is prohibited.
&nbsp;Please notify me immediately by reply e-mail and delete this message
from your computer system. &nbsp;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>&quot;Bob Stayton&quot; &lt;bobs@sagehill.net&gt;</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">&nbsp; &nbsp; &nbsp; &nbsp; </font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; To:
&nbsp; &nbsp; &nbsp; &nbsp;&lt;xep-support@renderx.com&gt;</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; cc:
&nbsp; &nbsp; &nbsp; &nbsp;</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Subject:
&nbsp; &nbsp; &nbsp; &nbsp;Re: [xep-support] A3 pages and Landscape
Pages</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</font>
<br><font size=3>&nbsp;</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=&quot;A3landscape&quot;
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=&quot;A3landscapethenA4portrait&quot;.</font><font size=3>
<br>
</font><font size=2 face="sans-serif"><br>
Another approach might be to use a processing instruction, such as &lt;?changepageset
type=&quot;A3landscape&quot;&gt; 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 &nbsp;x2571</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
The content of this message is Applied Materials Confidential. &nbsp;If
you are not the intended recipient and have received this message in error,
any use or distribution is prohibited. &nbsp;Please notify me immediately
by reply e-mail and delete this message from your computer system. &nbsp;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 &lt;peshkov@renderx.com&gt;</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">&nbsp; &nbsp; &nbsp; &nbsp; </font><font size=1 face="sans-serif"><br>
 &nbsp; &nbsp; &nbsp; &nbsp;To: &nbsp; &nbsp; &nbsp; &nbsp;&quot;Douglas_Morrison@contractor.amat.com&quot;
&lt;xep-support@renderx.com&gt;</font><font size=3> </font><font size=1 face="sans-serif"><br>
 &nbsp; &nbsp; &nbsp; &nbsp;cc: &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=3>
</font><font size=1 face="sans-serif"><br>
 &nbsp; &nbsp; &nbsp; &nbsp;Subject: &nbsp; &nbsp; &nbsp; &nbsp;Re: [xep-support]
A3 pages and Landscape Pages</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </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>
&quot;landscape&quot; tables in container with reference-orientation=&quot;90&quot;<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 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; mailto:peshkov@renderx.com<br>
RenderX</tt></font><font size=3><br>
<br>
</font><font size=2><tt><br>
Dcac&gt; Most of my output is in A4 portrait mode, but I would like to
be able to<br>
Dcac&gt; 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&gt; Using xsl from Arbortext Styler I can produce landscape content
(a rotated<br>
Dcac&gt; table or a rotated graphic and caption) within a portrait page
(as defined<br>
Dcac&gt; by the positon of the header and footer) &nbsp;but the XEP produced
pdf has two<br>
Dcac&gt; drawbacks:</tt></font><font size=3><br>
</font><font size=2><tt><br>
Dcac&gt; &nbsp;i) if the content is longer than one page the overflow material
is lost,<br>
Dcac&gt; and</tt></font><font size=3><br>
</font><font size=2><tt><br>
Dcac&gt; ii) the page is displayed in portrait mode, so the table appears
sideways<br>
Dcac&gt; (i.e. English text runs from bottom to top) on the screen. Using
Arbortext<br>
Dcac&gt; Composer to produce the pdf, the pdf has additional pages to hold
overflow<br>
Dcac&gt; and the page is shown in landscape mode, making the content easier
to<br>
Dcac&gt; view.</tt></font><font size=3><br>
</font><font size=2><tt><br>
Dcac&gt; Is there any way of producing landscape pages (or landscape within<br>
Dcac&gt; portrait, viewed onscreen as landscape) &nbsp;and A3 landscape
pages that<br>
Dcac&gt; revert back to A4 portrait at the end of the current element?
The<br>
Dcac&gt; requirement to issue overflow pages automatically is a 'nice-to-have'
that<br>
Dcac&gt; could be dropped, at a pinch. (In a way, what I want is a nested
pageset -<br>
Dcac&gt; but that is not allowed in xsl-fo).</tt></font><font size=3><br>
</font><font size=2><tt><br>
Dcac&gt; Regards, Doug &nbsp;x2571</tt></font><font size=3><br>
</font><font size=2><tt><br>
Dcac&gt; The content of this message is Applied Materials Confidential.
&nbsp;If you are<br>
Dcac&gt; not the intended recipient and have received this message in error,
any</tt></font><font size=3> </font><font size=2><tt><br>
Dcac&gt; use or distribution is prohibited. &nbsp;Please notify me immediately
by reply <br>
Dcac&gt; e-mail and delete this message from your computer system. &nbsp;Thank
you.</tt></font><font size=3> <br>
</font>
<br>