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...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

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
Appendix Orientation   Message List  
Reply | Forward Message #15073 of 16195 |
Re: Appendix Orientation

Chris,

That is the first thing that I tried and it didn't work. Logically it makes
sense. The weird thing is even though I have all of the region-before and
region-after set to 1in, they vary by what simple-page-master they belong to.
None of them actually have a 1 inch margin. I also do not think that anyone
else has done any customization that would cause this behavior but that is the
only explanation that I can think of.

Thanks for your help though. If I ever figure out what is going on I will be
sure to post my findings.

Amber

--- In dita-users@yahoogroups.com, "Chris Johnson" <chris.johnson@...> wrote:
>
> Hi Amber,
>
> 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
>
>
>
> Chris Johnson
> Solutions Consultant
> JustSystems Canada
>





Tue Jul 14, 2009 7:56 pm

ambermattson86
Offline Offline
Send Email Send Email

Forward
Message #15073 of 16195 |
Expand Messages Author Sort by Date

Does anyone know which stylesheet(s) are involved with the appendix tag? We use it and as of right now it is treated like a regular chapter and I am not sure...
ambermattson86
Offline Send Email
Jul 6, 2009
3:09 pm

Most bookmap appendix processing is in xsl\fo\commons.xsl, in a template called processTopicAppendix. Paul Masalsky - paulmasalsky@... ... From:...
Paul Masalsky
paulmasalsky
Offline Send Email
Jul 6, 2009
5:07 pm

Hi Amber! I suppose you are using the pdf2 transtype? ... Default behavior in pdf2 is that the appendix uses the page-sequence named "body-sequence". You will...
jannylund
Offline Send Email
Jul 7, 2009
6:06 pm

... Thanks! I will have to give that a try....
ambermattson86
Offline Send Email
Jul 8, 2009
5:18 pm

... Hello, I have successfully separated my appendix from the body and all is processing correctly as far as that goes. However, I still cannot seem to get...
ambermattson86
Offline Send Email
Jul 13, 2009
3:19 pm

Disregard that last message, I figured it out :-)...
ambermattson86
Offline Send Email
Jul 14, 2009
2:06 pm

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,...
Mark Peters
not_a_minifig
Offline Send Email
Jul 14, 2009
3:46 pm

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...
ambermattson86
Offline Send Email
Jul 14, 2009
5:38 pm

Hi Amber, 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. ...
Chris Johnson
chris_xmetal
Offline Send Email
Jul 14, 2009
7:12 pm

Chris, That is the first thing that I tried and it didn't work. Logically it makes sense. The weird thing is even though I have all of the region-before and...
ambermattson86
Offline Send Email
Jul 14, 2009
7:57 pm

Hello! ... You should try checking the FO file generated by your conversion. There you can clearly read what extents are set to the different page-masters and...
jannylund
Offline Send Email
Jul 15, 2009
1:06 pm

Where is this FO file once it is generated? I found the build.xml file and the delete was already commented out, so that is taken care of. I'm just not sure...
ambermattson86
Offline Send Email
Jul 15, 2009
1:57 pm

... In default DITA-OT it's in the same folder as the output pdf (which by default is {folder of input file}/out/). As I don't use XMetaL I can't tell where...
jannylund
Offline Send Email
Jul 15, 2009
2:36 pm

Ok XMetaL users, the FO file will most likely generate in the same place as your output. (However, I have one bookmap that refuses to generate an FO file that...
ambermattson86
Offline Send Email
Jul 15, 2009
5:35 pm

... When you have the FO file available, I suggest you try locating the problematic places and add the correct settings to get the look you want. Again I can't...
jannylund
Offline Send Email
Jul 15, 2009
7:37 pm

Ok everyone, I got the headers and footers working correctly, too. The following example will give you a landscape page with 1 inch margins on top and .5 inch...
ambermattson86
Offline Send Email
Jul 16, 2009
1:16 pm
Advanced

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