You're on the right track - if you want to specify your page-masters manually you need to comment out the import of xm_layout_master_overrides.xsl.
However, as you've seen, this affects the header and footer processing. From the comments in xm_layout_master_overrides.xsl:
This override assumes:
1. the first page is an odd-numbered page
2. the last page is an even-numbered page
3. region-before and region-after extents will take their @extent values from the page margin variables
It's #3. that's probably causing the problems . Check that the region-before and region-after extents for *all* the simple-page-masters match the values you have specified for $xm.page.margin.top and $xm.page.margin.bottom. The "fancy-schmancy" (LoL) header/footer processing depends on this relationship.
Your results may vary, depending on what else your customization does.
HTH,
Chris
Solutions Consultant
JustSystems Canada
--- In dita-users@yahoogroups.com, "ambermattson86" <ambermattson86@...> wrote:
>
> Well...after I posted that I realized that I still have some issues. The appendix is definitely landscape now, but the way I fixed it created some header/footer issues.
>
> The first step is to separate your appendix from the rest of the body-sequence by creating a new page-sequence for the appendix (as Jan Nyland mentioned previously in this topic)
>
> For those using xmetal, unfortuntely the rest of Jan's advice won't work for you as the "fo/cfg/fo/layout-masters.xsl" file is not used (somebody correct me if I am wrong...)
>
> So for XMetaL users, the solution seems to be to go to Customization\fo\xsl\custom.xsl and comment out the import of xm_layout_master_overrides.xsl I am sure there are other ways to this but I am the lone customization person here (as a summer intern, so it isn't like I have had any formal training whatsoever) and this is the solution that seemed doable to me.
>
> This will allow you to go into Customization\fo\layout-masters.xml and change the page-width and page-height in any of the simple-page-masters that you want to be landscape.
>
> However, XMetal must do some fancy-schmancy processing in some of their stylesheets with respect to headers and footers, because mine no longer look as they did before. They're still there and all but they are really close to the top of the page. I'm currently trying to figure out what to do about that. If anyone has ideas/suggestions about that I would love to hear them. It is amazing sometimes how fixing one problem opens a whole new can of worms. :-P
>
> Amber
>
>
>
>
>
>
> --- In dita-users@yahoogroups.com, Mark Peters markpeters.work@ wrote:
> >
> > Hi Amber,
> >
> > What was the fix? I'm not trying to change the orientation of my PDF
> > output, but others might be interested in your findings.
> >
> > Thanks,
> > Mark
> >
> > On Tue, Jul 14, 2009 at 10:05 AM,
> > ambermattson86ambermattson86@ wrote:
> > >
> > >
> > >
> > >
> > > Disregard that last message, I figured it out :-)
> > >
> > >
> >
>