Pages: 1
Print
Author Topic: Content Page Number  (Read 6511 times)
yesicreated
Member

Posts: 5


« on: January 23, 2009, 03:29:06 AM »

does anyone know how do i change the content page number? when we output into PDF, there's a content page.. how do i change the page number?


* Untitled.jpg (14.29 KB, 632x253 - viewed 554 times.)
Logged
Derek Read
Program Manager (XMetaL)
Administrator
Member

Posts: 2621



WWW
« Reply #1 on: January 23, 2009, 12:12:38 PM »

I'm not sure why you would want to change it. Is the wrong number appearing?

Do you have a specific example of content that will cause the wrong page number to appear in the TOC? That seems unlikely, though I suppose it is possible. Perhaps you've messed something up in your XSL-FO?

If you're asking something else please provide more detail.
Logged
yesicreated
Member

Posts: 5


« Reply #2 on: January 28, 2009, 09:42:53 PM »

i'm asked to find out whether it's able to do so.. and it's not that the numbering is wrong.. yes, the number is in correct order but i don't want it to appear as 1, 2, 3.. i want it to appear at 1.14.1, 1.14.2.. is it possible?
Logged
Derek Read
Program Manager (XMetaL)
Administrator
Member

Posts: 2621



WWW
« Reply #3 on: January 29, 2009, 03:50:59 PM »

OK. You wish to change how it appears, including the the actual content displayed and this content includes a lot more information than just the page number.

Changing the header and footer using parameters is supported by our PDF3 output, which appears as "XMetaL Enhanced PDF via RenderX XEP" in our UI. Modifying footers and headers is described in Appendix B of the XMetaL Author Enterprise help.

However, what you want to do is more complicated and will require some pretty advanced XSLT + XSL-FO changes. It looks like you want to inject some additional text. The first thing anybody attempting to answer this question would need to know is what these additional number values represent. What are they counting. You've got what appears to be the page number prefixed by two other numbers separated by periods in your example:

<some value #1>.<some value #2>.<page number>

Please try to be more specific with your exact needs in future posts. Having to guess at what your are doing, even trying to guess which questions to ask, will make it less likely that anyone will want to try to help.
« Last Edit: January 29, 2009, 03:52:52 PM by Derek Read » Logged
yesicreated
Member

Posts: 5


« Reply #4 on: January 29, 2009, 09:35:03 PM »

sorry to confused you guys... and yes, you are right.. i would like to insert additional numbers..

for this, <#1>.<#2>.<#3>... it's the numbers i keyed in by myself... it is to replace the page numbers?

i will try to look at the XSLT, XSL-FO files.. but does anyone have any idea if this can be done?
Logged
Pages: 1
Print
Jump to:  

email us