From: Douglas_Morrison@contractor.amat.com
Date: Mon Jun 07 2004 - 07:25:52 PDT
Hello Alexander,
Actually composer produces the effect I want, at least for landscape
content within a portrait page.
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.
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.
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".
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).
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.
Regards, Doug x2571
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.
Alexander Peshkov <peshkov@renderx.com>
Sent by: owner-xep-support@renderx.com
03/06/2004 16:53
Please respond to xep-support
To: "Douglas_Morrison@contractor.amat.com"
<xep-support@renderx.com>
cc:
Subject: Re: [xep-support] A3 pages and Landscape Pages
Attachments were removed from this document per sender's
request.
Hello Douglas,
Page dimensions are defined on every simple-page-master. Therefore you
just need to switch pagemasters appropriately (please find simple
example attached). I can't say what happens in XSL-FO produced by
Arbortext, but from your description I conclude that it just wrap
"landscape" tables in container with reference-orientation="90"
instead of using separate page-master. So the problem is in Arbortext
Composer rather then in XEP.
Best regards,
Alexander Peshkov mailto:peshkov@renderx.com
RenderX
Dcac> Most of my output is in A4 portrait mode, but I would like to be
able to
Dcac> output some pages in landscape mode and some pages on A3 landscape.
Dcac> Using xsl from Arbortext Styler I can produce landscape content (a
rotated
Dcac> table or a rotated graphic and caption) within a portrait page (as
defined
Dcac> by the positon of the header and footer) but the XEP produced pdf
has two
Dcac> drawbacks:
Dcac> i) if the content is longer than one page the overflow material is
lost,
Dcac> and
Dcac> ii) the page is displayed in portrait mode, so the table appears
sideways
Dcac> (i.e. English text runs from bottom to top) on the screen. Using
Arbortext
Dcac> Composer to produce the pdf, the pdf has additional pages to hold
overflow
Dcac> and the page is shown in landscape mode, making the content easier
to
Dcac> view.
Dcac> Is there any way of producing landscape pages (or landscape within
Dcac> portrait, viewed onscreen as landscape) and A3 landscape pages that
Dcac> revert back to A4 portrait at the end of the current element? The
Dcac> requirement to issue overflow pages automatically is a
'nice-to-have' that
Dcac> could be dropped, at a pinch. (In a way, what I want is a nested
pageset -
Dcac> but that is not allowed in xsl-fo).
Dcac> Regards, Doug x2571
Dcac> The content of this message is Applied Materials Confidential. If
you are
Dcac> not the intended recipient and have received this message in error,
any
Dcac> use or distribution is prohibited. Please notify me immediately by
reply
Dcac> e-mail and delete this message from your computer system. Thank
you.
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
This archive was generated by hypermail 2.1.5 : Mon Jun 07 2004 - 10:19:48 PDT