Amber,
You rock!
Worked for me as expected!
To all others, thanks very much for responding.
Regards,
Sammy
--- In dita-users@yahoogroups.com, "ambermattson86" <ambermattson86@...> wrote:
>
> --- In dita-users@yahoogroups.com, "samk_y2k" <samk_y2k@> wrote:
> >
> > Hi,
> > I am new to DITA OT/XMetal/RenderX. Here is an issue I am trying to resolve
and may be it is very simple for experts on this forum:
> >
> > Note: I am using XMetal enterprise 5.5 to publish to PDF output (that uses
XEP renderer and DITA OT 1.4.2.1)
> >
> > Issue: The odd and even pages have uniform but different page margins. All
odd pages are slightly shifted towards the left while all even pages are shifted
towards the right.
> >
> > I want to centre align both even and odd pages so that they have equal
margins on left and right.
> >
> > I looked at DITA_OT\demo\xmfo\customization\fo\layout_masters.xml but it
doesn't seem to be the file that controls these margin attributes.
> >
> > Any help will be greatly appreciated!
> >
> > Regards,
> > Sammy
> >
>
>
> Hello Sammy,
>
> The file you want to edit is called custom.xsl
> It is in the DITA_OT\demo\xmfo\Customization\fo\xsl\ location. For XMetaL 5.5
the full path is usually something like this:
> C:\Documents and Settings\<username>\Application Data\SoftQuad\XMetaL
Shared\DITA_OT\demo\xmfo\Customization\fo\xsl\custom.xsl
>
> You will want to add the following lines to the bottom of the file (before the
end of the stylesheet)
>
> <xsl:param name="xm.page.margin.bottom" select="'1in'"/>
> <xsl:param name="xm.page.margin.top" select="'1in'"/>
> <xsl:param name="xm.page.margin.inner" select="'0.5in'"/>
> <xsl:param name="xm.page.margin.outer" select="'0.5in'"/>
>
>
> Hope that helps,
> Amber
>