TOC page number as roman numerals, body as decimal

Pretty new to the DDX world.  I'm using Cold Fusion 8 to generate a PDF.  I then use DDX to open the pdf, add a Table of Contents and headers/footers.  The Footers contain the page numbers.  Right now, the page numbers just start with the TOC (1) and go to the nd of the document.
I'm trying to figure out a way to number the TOC with roman numerals, but the rest of the document with decimals.  Right now, I'll accept i, ii, iii, iv, 5, 6, 7... but I'm guessing my customer will want the numbering started over at 1 when we hit the body of the document.  I'll cross that bridge later.  Right now, I can't seem to find a way to mix the numbering.  I know PageLabel is the place to attack, but I've had no luck so far.  My basic DDX markup looks like:
<DDX>
     <PDF result="out1">
          <TableOfContents>
               <Header>
               </Header>
               <Footer>
               </Footer>
          </TableOfContents>
          <PDF source="Doc1">
               <Header>
               </Header>
               <Footer>
               </Footer>
          </PDF>
     </PDF
</DDX>
I've placed <PageLabel format="lowerRoman"> at various placing with varying degrees of success.  Any help is greatly appreciated!

Hello,
i think the best way ist to create a 2 variables and add at every master page 1 to var1 or var2 .
At every following site of the first master pages add "1" to var1 .
At every following site of the second master pages add "1" to var2 .
With this coding you can fill your var1 and var2 i think
Put this on every site then i think you can fill var1 and var2 different.
If not you must make a simple coding var1 = var1 + 1 at site1 and var2 = var2 + 1 at site2
// data.#pageSet[0].Seite1.AktuelleSeite::ready:layout - (JavaScript, client)
this.rawValue = xfa.layout.page(this);
Regards
Edited by: Florian Martin on Jun 28, 2011 10:51 AM

Similar Messages

  • Display page number in roman numeral

    Is it possible to create a form field that will display the page number in roman numerals and increment by one digit on each of the following pages? If anyone knows of a script that will do this I would greatly appreciate it.

    Yeah, it's possible. Create a unique text field on each page with this code as the custom calculation code:
    event.value = romanize(event.target.page+1);
    Then place this function at the doc-level (I didn't write that one):
    function romanize(num) {
        if (!+num)
            return false;
        var digits = String(+num).split(""),
            key = ["","C","CC","CCC","CD","D","DC","DCC","DCCC","CM",
                   "","X","XX","XXX","XL","L","LX","LXX","LXXX","XC",
                   "","I","II","III","IV","V","VI","VII","VIII","IX"],
            roman = "",
            i = 3;
        while (i--)
            roman = (key[+digits.pop() + (i * 10)] || "") + roman;
        return Array(+digits.join("") + 1).join("M") + roman;

  • Re-write numerical page numbers to roman numerals for an introduction?

    Hi there everybody,
    I've been attempting (for some considerable time!) to typeset and format a book. The book needs to have roman numerals running from the first title page (which is in reality left blank through using a secondary master page without page numbers). However, I didn't realise I would need to use roman numerals in the introduction, and instead started the page numbers from the first title page of the introduction. Therefore, my pages that are numbered by roman numerals (copyright page etc) stop at this point and in the introduction become numbers.
    I need to change it so it is roman numerals up until the first page of the actual book, all through the introduction,  but when I try to change it in the Numbers and Sections tab, it tells me that i've already used the numbers i've typed in.
    Basically I would like to know how to take off the first set of roman numeral page numbers and start again??
    I'm very confused!! Help would be MUCH appreciated.
    Lucy

    Is this any help?
    Working with Page Numbers and Sections | Managing Pages and Books with Adobe InDesign CS6 | Que

  • Layout Items Linking to ToC Page Number

    Does anyone know if there is way to link layout elements to page numbers in a Table of Contents?
    For instance, I have a layout full of ads. If I was to move an ad to another page I want the ToC to update the new page number automatically. Is there any way to do this?
    Thanks

    TOC sees only paragraph styles.
    I explained a way of doing this using non-printing tags that are grouped with ads, however, in the June/July 2009 issue of InDesign Magazine. The method allows automated sorting by category and advertiser.

  • Search rollover page number not consistent with thumb and pdf page number

    Please respond by e-mail to
    [email protected]
    Adobe Reader 9.0 and 8.1.2.
    Mac OS X 10.4.11
    Mac PowerPC G4
    640 MB SDRAM
    Does Adobe Reader have a search window phrase rollover, yellow-highlighted pop up page number bug displaying the wrong page in some circumstances?
    If Yes, how do I report that bug to get Adobe to fix it?
    Viewing the same PDF:
    MacPreview does not have the problem described below,
    Adobe Reader does have the problem.
    Adobe Reader, search phrase rollover, pops up a page number that is yellow-highlighted, e.g., p# 29, and is wrong, whereas the page number for the thumb and PDF are both the same and are correct.
    My PDF has been set on Acrobat Pro to properly paginate the first eight pages in lowercase Roman numerals (i, ii, iii, iv, v, vi, vii, viii) followed by Arabic numerals (1, 2, etc.). My PDF uses an AcrobatPro special setting to properly handle this pagination scheme. The search phrase rollover pops up a yellow-highlighted page number that wrongly adds 8 pages to the page number for the thumb and for the PDF page. Suspiciously, we have 8 pages with lowercase Roman numbers. Remember, viewing the same PDF, MacPreview works perfectly, producing identical and correct page numbers for the phrase, thumb, and PDF.

    the method u followed is fine as need a page number staring from a specify value which u input.
    @section is only for resetting page number to 1 for every group and for that pdf and ppt will be fine but only for rtf u need to use that ( pressing F9).
    u can use @section and initial page number combined but they give u same output as get now. rtf output wont support it will only reset 1 every time
    What ever u do rtf output wont support initial page number code ..........
    i mentioned that F9 work around to mention that it is the only work around u have upto now to control rtf output with regards to page number.
    Guru's correct me if i am wrong. wait for a day or two if some one from guru's confirm it .
    If u need real confirmation raise an SR oracle will let u know .

  • I need to start the page numbers over for a new section in a document (i.e. first six pages are roman numerals, next 70 need to be in arabic numerals), but for some reason, the automatic page numbering has started over at number 3 instead of 1. Help!!

    If anyone has any idea why it's doing this, or what I can do to fix it, please help!

    No idea why it's doing this.
    You should be able to fix it by using Insert > Page Number, rather than 'Automatic Page Numbering.'
    Set Page Numbers in your second section to "Start at:" 1
    Regards,
    Barry

  • When I generate the TOC in RH7, the first page number is "v" instead of 'i' - how can I fix it?

    When generating a word doc from RH7 everything works fine except for the roman numbering in the TOC footer.  It begin with a "v" (5) instead of "i":
    The roman numerals count up on the following 4 TOC pages - so, the TOC is numbered from v to viii.  The body of the document starts on page 1 just as it should.  I've tried every setting I can think of to no avail.
    As an aside, I have an un-numbered cover and next a copyright page before the TOC but if RH is counting those then I should be starting with page iii on the TOC (which would aggravate me only slightly less - two roman numerals worth, to be exact).
    Is there a way to fix this or should I just shave my head and resign in disgrace as the company technical writer?
    Thanks in advance!

    I'm guessing here but you have two pages before the TOC and Word is probably seeing both of those with Odd section breaks and would print the cover with a blank page after, likewise the copyright. Thus making the TOC the fourth sheet of paper.
    Have you printed the document and have you checked the section break type?
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Roman numerals page numbering

    How can I use lower case roman numerals for numbering my pages?
    Pages 5.2 (1860)
    MacBook Pro OSX 10.9.3

    Sorry, wasn't paying attention to your version, in Pages 5.2:
    select the number > Toolbar > Document > Section > Page Numbering > choose the numbering method
    Peter

  • How to print logical page number in TOC of report

    My report has three sections - header, main, trailer.
    after each group break in the main section the page number is saved using the srw.get_page_num(pageNum).
    this records are used to build the toc in the trailer section.
    Problem: srw.get_page_num delivers only the logical pagenum of the section,
    means if the header section spans more than one page (for example 2), the main section starts at physical pagenum 3.
    If I don't know how many pages my header contains I never have the real page number in my toc, beacuse i have to add the number of "header pages" to the saved pagenum of the main section to compute the "physical pagenum".
    Is there a possibility to save the physical pagenum in the header section (in a trigger) ?
    Message was edited by:
    [email protected]

    Thats my huge problem - i can not calculate the number of pages
    nor in the main section neither in the header section.
    The problem is not to know how many pages are in the trailor section.
    I have to know, how many pages are in the header section without to start multiple the report.
    If I have this number i can add it to the "logical" page number" of the main section to get the physical page number of the report.
    the page numbers of the main section are available.
    Message was edited by:
    [email protected]

  • Is there a way to add roman numerals to the footer? (eg. page i of n)

    Is there a way to add roman numerals to the footer? (eg. page i of n)

    Hi Emily ,
    You may face challenges doing this task in Acrobat .
    If you have created the PDF from word ,I would recommend doing the page numbering in Word, not Acrobat, since you have more flexibility with that program.
    Or the second option is ,if you know how to play around with java script.Here is the code for the same.
    Yeah, it's possible. Create a unique text field on each page with this code as the custom calculation code:
    event.value = romanize(event.target.page+1);
    Then place this function at the doc-level (I didn't write that one):
    function romanize(num) {
        if (!+num)
            return false;
        var digits = String(+num).split(""),
            key = ["","C","CC","CCC","CD","D","DC","DCC","DCCC","CM",
                   "","X","XX","XXX","XL","L","LX","LXX","LXXX","XC",
                   "","I","II","III","IV","V","VI","VII","VIII","IX"],
            roman = "",
            i = 3;
        while (i--)
            roman = (key[+digits.pop() + (i * 10)] || "") + roman;
        return Array(+digits.join("") + 1).join("M") + roman;
    Regards
    Sukrit Dhingra

  • Text too close to page number in TOC

    Most of the time I can take care of unattractive line breaks in the TOC by putting in non-breaking spaces in a paragraph.
    However, I sometimes have a situation where the text of a TOC entry is too close to the page number on the right. The text is so close to the page number that in some cases no leader dots show, or only one or two leader dots show.
    The entry and its page number fit on a single line, so putting in non-breaking spaces won't solve the problem. I could put in a soft return (Shift-Enter) in the TOC entry to force a line break, but it isn't efficient because I have to put in the soft return manually each time the TOC is updated.
    If anyone has a tip on how to handle this problem efficiently, I'd love to know about it.

    Van
    That is absolutely brilliant. It also seems to prevent multi-line TOC entries from encroaching on the page number area in general.
    For ages I thought the only way around this ugly problem would be to wait 200 years for Adobe to give us four different indent options (first line left, left, right, and last line right) instead of the three that we currently have. (Last line right doesn't exist.)
    I'll just add one more suggestion that might make your line breaks and page number positions in the TOC 100% automatic instead of merely 98%.
    (It doesn't sound like much of an improvement, but if you've ever had to manually adjust the TOCs for 50 manuals every time you regenerated them, then you'll know where I'm coming from.)
    If you have any TOC paragraph specifications that use more than one tab, for handling section or chapter numbers at the front of the paragraph for example, then you'll notice that if a TOC entry wraps to two or more lines then the page number will no longer be printed at its intended tab stop, but will use one of the earlier tab stops instead (because in the new line there are no longer any previous tab characters to fill the earlier tab stops).
    The cure for this is to go to the TOC specification flow on the Reference pages, and in the problematic paragraph format add an extra tab character in front of the <$pagenum> building block.Then...
    If the TOC entry only covers one line, the extra tab character will be ignored.
    If the TOC entry covers two or more lines, the extra tab character will be used to fill up the previous stop so the page number settles at its intended tab stop.
    If you have TOC specifications that rely on more than two tab positions, just add more tab characters in front of the <$pagenum> building block (and regenerate) until the page number (in multi-line entries) lands at the correct tab stop.
    Thank goodness FM uses absolute tabs and not relative ones.

  • I am trying to create an outline for a communication class. Is there a way for me to input Roman numerals in pages?

    I am trying to create an outline for a communication class. Is there a way for me to input Roman numerals in pages?

    Only one Bookmarks Toolbar is allowed. You can create Folders on the bookmarks toolbar (named "Sports", "News", etc.) and add or move your bookmarks to those folders.
    *https://support.mozilla.org/en-US/kb/bookmark-folders-organize-your-bookmarks
    **Above demonstrates making folders in Bookmarks Menu in the Library window, but you can do the same under Bookmarks Toolbar in the Library window..
    **You can also create a new folder in Bookmarks Toolbar by right-click on the Bookmarks Toolbar itself and choose New Folder to create a folder on the Bookmark Toolbar.
    *More Bookmarks information - https://support.mozilla.org/en-US/kb/use-bookmarks-to-save-and-organize-websites?redirectlocale=en-US&redirectslug=how-do-i-use-bookmarks
    Other-
    *update Java to 1.6.0_35 or 1.7.0_7 for security issues
    **https://support.mozilla.org/en-US/kb/use-java-plugin-to-view-interactive-content
    *update Shockwave Flash for security issues
    **https://support.mozilla.org/en-US/kb/install-flash-plugin-view-videos-animations-games#w_keeping-flash-up-to-date

  • How do I get rid of -1 page number from TOC

    When I create and import a TOC in to my document, the first TOC page has no number, which is OK, the second page is numbered -1 and the last TOC page also has no number. I am trying to get rid of the -1 from the second page. I have tried a number of things from Format >Document>Numbering and Format>Page Layout>Master  Page Usage but nothing succeeds. Would be grateful for any help if anyone recognises this problem. Thanks.

    Got to where the page number is, usually a Master Page, and either delete it, or set it to a color that is set to invisible (via Color Views) prior to publication.
    Check both Left and Right MPs.
    View > Master Pages
    In most templates, the page number is a "#" in the header or footer.

  • Setting up where Roman Numerals stop and page 1 Begins

    I did set this up, once, but have sence forgotten how to make an adgustment. Actually I currently have it set to count roman numerals to VIIII, then start "normal" numbering afterwards, which begins at page 10. Ideally I'd like the "normal" numbering to begin with 1 after the end of the roman numerals.
    Any help?
    Thanks All.

    Daniel Flavin wrote:
    From the pages Panel, right click on a page icon or use the Fly Out > Page & Section options. Start a new section; it can be defined as desired. (Also select document page 1 and set the option for i, 1, a, or A there as well.)
    I will give it a try in the morning. Thanks for your suggestion.

  • Page number in body

    how to get page number in body of report

    There is solution for this. please refer to this thread
    http://social.msdn.microsoft.com/forums/en-US/tfsreporting/thread/b901c9b4-320e-4fbc-afa9-495d5566c168/
    With the Data or Layout tab view active select "Report" -> "Report Properties"
    On the "Report Properties" dialog select the "Code" tab
      In "Custom code:" add the new Functions to get the page numbers:
    Public Function PageNumber() as String
         Dim str as String
         str = Me.Report.Globals!PageNumber.ToString()
         Return str
    End Function
    Public Function TotalPages() as String
         Dim str as String
         str = Me.Report.Globals!TotalPages.ToString()
         Return str
    End Function
    Use it like:
    ="Page " + Code.PageNumber() + " of " + Code.TotalPages()
    Thanks Ayyappan Thangaraj, http://SQLServerRider.wordpress.com

Maybe you are looking for

  • What is the information we can get the through details tab in RSMO

    Hi to all, Currently I am working for P.support project, All of you well known about the importance of Details tab in rsmo screen. Here we have 4 options from where we can get more informaiton... 1) Reqest 2) Extraction 3) processing 4) Datapacket in

  • Query of servoce contract

    Hi experts I use resource-related billing for a cs order. and also the cs order reference a service contract(contract type wv).I want to know if i can set the billing price for the spare part which will be used in the cs order? because Inow i use dp9

  • Interaction in the variable selection screen possible?

    I have a query with related 3 variables: a Product Division is related to a Hierarchy-name and to a Hierarchy-node. I want the enduser only to fill in 2 variables in the selection screen: Product Division and Hierarchy-node. Is this possible? If a en

  • SAP ECC 6.0 VS SAP 4.7 C

    Hi All, Can any one explain me SAP ECC 6.0 VS SAP 4.7 C ?

  • SQLJ Object Demo Oracle 8.1.6/7

    Hi I tried the object demo from ORA_HOME\sqlj\demo\Objects. The result looks verry strange: $ java ObjectDemo *** SQLJ OBJECT DEMO *** Selecting person attributes. Selected person attributes: name = Wolfgang Amadeus Mozart ssn = 123456 address = Am B