Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

Capturing the first page number of a section

Return to Member Forum

  • Author
    Posts
    • #61730
      davidmacd
      Participant

      Is there any way to capture the first page number of each section in an ID document? I mean is there any auto marker or variable that is similar to Insert Variable | Last Page Number but that always shows First Page Number instead?

      What I want to do is show in the running head the page number range for the current section, i.e. for the first section the running head will contain something like 1–30, the second section will contain 31–44, the third section 45–77, and so on. The number of pages in each section is random.

      I know how to capture the last page number using the text variable method. But I don't know how to capture the first page number (well, apart from capturing it on the first page of the section using Current Page Number, but that isn't any use for rendering the same number on other pages in the section).

      Any ideas? Have searched, but although I could find lots about page numbering, I couldn't find exactly this problem. Using CS5.

    • #61734

      Use a cross-reference, perhaps.

    • #61745

      In Applescript, a section has a property 'page number start' which looks like it would do what you want.

      tell application “Adobe InDesign CS5.5”

      get page number start of first section of document 1

      end tell

      should get you going.


    • #61746
      davidmacd
      Participant

      I've tried the bookmark option without success.

      I'll see what Applescript has to offer.

      Thanks you kind people!

    • #61855
      c. umana
      Participant

      In master pages insert two variables:

      first on page and last on page (in the menu of this one define the source as «section»)

      of course, your document must have sections to feed the last page information. your variables in the master must look like this:

      «your name of variable first on page» 1 (it seems this number 1 is the code for the last page variable…)

      you may separate this variables with a hyphen: «your name of variable first on page»-1

      In each opening (chapter) section:

      insert via menu: type/insert special character/markers/current page number in a little frame that must be placed outside the page but touching the bleed/slug menu. This text —tagged with a style already provided when the variable «first on page was defined»— will give the requisite of what you called first page (although is clearly first-on-page). The master page wiill be filled with this information, that is the beginning of a section with a new page.

      Now, you simply must copy-paste this piece of text in the boundaries of each section (or apply no colour?) and you will have all sections really marked. You only need a master pagesv as the changes are determined by the little element in the page.

      I do not know how to insert here a picture I made if you need more information.

    • #61860
      c. umana
      Participant

      Corrections:

      1º paragraph, 2º line: last page number (instead of last on page) this is exactly the name of the variable…

      7º paragraph, 2º line: the page but touching the bleed/slug area (instead of menu)

      8º paragraph, 2º line: You only need to apply a unique master page

    • #68175
      Anonymous
      Inactive

      Any suggestion?
      I have the same problem…

Viewing 6 reply threads
  • The forum ‘General InDesign Topics (CLOSED)’ is closed to new topics and replies.
Forum Ads