Search the web
Sign In
New User? Sign Up
dita-users · DITA users group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
odd and even page alignment   Message List  
Reply | Forward Message #14987 of 16632 |
Re: odd and even page alignment

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
>





Sat Jul 4, 2009 4:49 pm

samk_y2k
Offline Offline
Send Email Send Email

Forward
Message #14987 of 16632 |
Expand Messages Author Sort by Date

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...
samk_y2k
Offline Send Email
Jun 30, 2009
9:09 pm

Hi, Can anyone help me please..I am hitting a deadline and that's making me anxious! Sammy...
samk_y2k
Offline Send Email
Jul 2, 2009
4:51 am

HI, Sammy, You will want to customize the attributes sets in: DITA_OT\demo\xmfo\cfg\fo\attrs\static-content-attr.xsl The margins in layout-masters.xml refer to...
Aliza Merzel
aliza.merzel
Offline Send Email
Jul 2, 2009
5:30 am

Hi Sammy, ... As far as I know you are editing the right file. The layout_masters.xml file is definitely the one that we edited to adjust margins. Since...
Deborah Pickett
deborah_arie...
Offline Send Email
Jul 2, 2009
5:36 am

Hi, I know that in DITA-OT1.4.3 the layout-masters.xml file is no longer used: you seem to have to copy the createDefaultLayoutMasters template from...
nigelparkerfrance
nigelparkerf...
Offline Send Email
Jul 2, 2009
10:07 am

... 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...
ambermattson86
Offline Send Email
Jul 2, 2009
12:50 pm

Amber, You rock! Worked for me as expected! To all others, thanks very much for responding. Regards, Sammy...
samk_y2k
Offline Send Email
Jul 4, 2009
4:49 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help