Open parameters with roman page numbers

Trying to use #page=nn to go to a specific page in a PDF file.  My code is an html http link and the PDF file is on a server elsewhere.  #page=nn works fine with arabic page numbers, but not with roman numerals used in the PDF file preface, foreword, etc.  The PDF file shows "i", "ii", etc. in the Adobe Reader page box.  There is "(1 of 8)" shown to the right of that box.  I can use a keyboard shortcut (shift-ctrl-n) to search for ii and it correctly goes to the second page.  Uppercase (II) does not work, however.  I tried #page="ii" in an attempt to preserve the lowercase parameter but no luck.
Any ideas?  Thank you.
Ralph

This forum is not meant as an access hub to ask people write you free custom scripts.
.. But -- fortunately for you, this particular question was interesting enough to spend 5 minutes on. It turned out to be as easy as I initially thought:
app.findGrepPreferences = null;
app.findGrepPreferences.findWhat="\\d+[-~=]\\d+";
r = app.activeDocument.findGrep(true);
while (r.length)
    t = r.pop();
    s = t.contents.split(/\D/);
    s[1] = s[0].substr(0,s[0].length-s[1].length)+s[1];
    s[0] |= 0; s[1] |= 0;
    u = s[0];
    while (s[0]++<s[1])
        u+=', '+s[0];
    t.contents = u;

Similar Messages

  • Printing bug with logical page numbers

    I have a PDF file set up with logical page numbering. If I want to print page 7-10 and type this in the Pages field, Reader prints physical pages 7 through 10 from the PDF file instead of logical page 7-10. I tried it in Reader X and XI and the problem occurs in both. I am pretty sure it worked in early versions, but I don't know what version it stopped working on. Is this a known issue?
    Rick

    Could it be that this file contains duplicate page labels? Can you share the file?

  • Getting chapter numbers to show up in the TOC with the page numbers...

    First, thank you all very much for posting replies.  This forum is wonderful.
    I have a doc that needs to have the chapter numbers show up with the page numbers in the TOC.
    I insert the <$chapnum> and <$currentpagenum> in the footer, and I get 1-1 to show up.
    To include the 1-1 in the TOC, do I have to edit the Reference Page, or is there another way.
    Thank you SO much for your help!!!!!!!!!!!!!

    Thank you VERY much!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    Got it to work.  However, my TOC will not update with the new building blocks.
    Have played and played with it.  Any suggestions?
    Thank you!!!!!!!!!!!!!!!!

  • Problem with opening/saving files in Pages/Numbers/Keynote

    Hello, First of all: sorry for my bad english.
    I had this problem already several months ago and already contact with the Apple hotline.
    The only thing that was said then and was helped "new user account" - well done.
    But:
    I can not do this every 3 months.
    The problem: I can not open a Pages / Numbers / Keynote files anymore.
    From iCloud / iCloud Drive it goes, locally stored open still.
    I'll get the error: "File can not be opened."
    Newly created files I can not save - no matter which hard disk - it will show "missing access rights"
    Of course, I've already deleted preferences, reset NV-RAM and repaired permissions (access rights) - via terminal "reset password" also.
    Anyone here knows this problem and knows a solution?
    Thanks in advance.
    configuration:
    MacPro (2009)
    2x2,93 GHz
    24 GB RAM
    SSD + HDD
    OS 10.10.2

    I have solved the problem.
    It occurred in connection with my scripture library „Font Explorer X Pro“.

  • Snow leopard  will no open existing files in Pages, Numbers, Appleworks etc

    I have installed Snow Leopard, after wiping the hard drive of my Mac Pro.
    I can open existing files, [ Pages, Numbers, Appleworks etc ] which display the outlines but not the text of document, although some file references and e mail address are shown in faded pale blue. Photos, .pngs display correctly. I have run full disc repair with no visible problems.
    Have reverted to OS X 10.5.8 to use the machine. Any help appreciated

    Read here >   Apple Safari 5.1 and Adobe Reader/Acrobat Advisory
    Use Preview instead.
    Right or control click a PDF file you have on the hard drive then click Get Info.
    Click the pop up button where you see: Open with
    Select Preview  (or if it's not available click "other" then navigate to the Applications folder then select Preview)
    Then click Change All

  • Roman page numbering

    So, my dissertation's nearly finished and I'm checking the University's formatting specifications. They want the main body from the Introduction to start at page 1. No problem: insert section break and restart numbering.
    But they want all the pages up to page 1 (e.g. abstract, preface, tables of content) to have Roman numeral numbering (i, ii, iii, iv etc.)
    I can't find any way to specify this (I don't think it's possible), but I also can't find a manual workaround e.g. I can't insert a text box near the bottom of a TOC page without it going into the footer field, where it immediately behaves like a footer item.
    Any ideas?
    Given the high uptake of Apple laptops by students, I'm surprised they don't make Pages more academic-friendly. The above function is pretty basic, as would a usable way of a) captioning illustrations and b) automatically listing those captions in their own TOC. For that facility alone I nearly did the whole thing in Word but resisted and resigned myself to creating an table of illustrations by hand.
    Still, it's getting better, the graphs look great and it was a pleasure to work with compared to MSW.

    Thanks Peggy. That's just perfect - talk about a buried feature. But that's just what one hopes for in these forums! How did you know? Is it in the manual somewhere or were you just exploring?
    You don't happen to have a solution to the captioning issue do you?
    I have a work around which goes like this:
    1. Insert photo (illustration/whatever) as floating object - full width of page.
    2. Create floating text box and insert caption - also full width of page.
    3. Group 1 & 2 together, resize and locate as inline object with text wrap (if desired).
    4. Make manual list of illustrations in a table.
    The good news is that I can still edit the text of the caption even when the items are grouped - and it does work - but it's not quick or pretty.

  • ID CS5 - problem with 2 page numbers in the same page

    Until InDesign CS3 I could put 2 page numbers in one page, either in document pages or in master pages, using 2 linked text frames, one in each of the pages I wanted to see the numbers. And this worked fine!
    In CS4, this stopped working in master pages. I had to override the text frames from master pages (ctrl/cmd + shift click on the text frames) to get this working, and I had to this in ALL document pages.
    I was hoping this problem was solved in CS5 but... the problem got worst!!! Now, not only I have to override the text frames, but I have to erase the markers and put them there again. Which means I have to put page markers individually in ALL pages.
    I wonder if there is a new way to do this? Does any one have the answer?...
    If not... I really really hope someone from Adobe reads this forum and try to solve the problem, because this is a great inconvenience...
    Thanks for any help

    Hi, Jongware,
    It is a bug since CS4, agravated in CS5, because until CS3 it worked very well.
    In fact, it worked through out a lot of pages. I think this was not created only to pages side-by-side but in fact to those articles that continued several pages ahead. So, in a magazine, when one has to break an article and continue this article in other page, one could (and still can) put a text frame in the of the first part of the article and type "Continue on [next page marker]". Then link this text frame with a new text frame on the page where the article continues, (on top of 2nd part of the article) and type "Continued from [previous page marker]".
    This situation – where text frames are in the document pages – still works fine.
    The problem is when this is a constant and you want to put it in master pages, and now it simply does't work. I mean, when every odd or even pages have both numbers. For me, it's a major problem, because several of my clients just love this!
    Is anyone of Adobe reading this? Are you going to help us and fix this problem, please?...

  • 2 spreads with same page numbers

    Hi everyone,
    I'm having an issue with indesign: I have 2 spreads in the document with the same page numbers (even in the pages panel).
    I created one new spread and placed it before the other.
    This is a problem since the page numbering inherit this.
    I tried to solve it myself, then I googled the problem, but i found nothing.
    Anyone knows how to solve it?
    Thanks!

    The small black triangle above the second page 4 is a new section marker. In the pages panel highlight the second page 4 then select numbering and section options and change the start page to 6.
    Oops I sent this before I saw your second post.

  • I can't open docs with the Pages 5.0

    I downloaded Pages 5.0.  Worked nice.  Last night I downloaded word docs from a state website, input information and saved it in Pages.  This morning I am getting pop-ups saying that I need Pages 5.0 to open the document.  Okay.  I went to the Apps page and it says that I have installed Pages 5.0.  How do I get 5.0 to work so that I can open these documents? This is very frustrating and is hanging up information that I need for my clients.
    Thank you for your help.

    Chaz,
    You may still have the iWork '09 apps on your Dock. They won't open documents that have been edited with the Maverick versions of iWork. Drag those old iWork icons off the Dock and drag the new apps onto the dock, if they are not there already.
    You can tell the icons apart if you look carefully. The new Pages icon has a yellow pen rather than a black pen, and the new Numbers icon has a 4-column chart rather than a 3-column chart.
    Jerry

  • Internet Explorer is opening itself with blank pages

    About two weeks ago, I was on my laptop when my buddy thought it to be funny when he started pressing a number of random keys on my keyboard. When he did this my computer screen froze and I had to restart the computer. When it came back on I tired to get
    onto Internet Explorer. I opened it and it came up a blank page, and wouldn't let me put anything into the address bar and nothing but a white screen comes up.
    Now two weeks later the Internet Explorer page is popping up on it's own and the page is still blank. Plus the pages are popping up about five at a time. This is become a very frustrating issue, especially since I just got this laptop a couple months ago.
    Is there anything that I can do to fix this issue without having to take it somewhere? I'm not very IT capable, but I now normally enough to get through small issue, but not this time. Any help would be great!

    Do you have other browsers, same issue were found on these browses or only IE was faced with this issue.
    First run a security scan. If nothing was detected, reset IE for a test.
    You can also go to Control Panel->Action Center->Troubleshooting->View All
    Then choose Internet Explorer Performace in the list (it is not included in some windows versions). It will begin to fix you IE. if it doesn’t correct, please paste the diag repot here.
    Check Event Viewer to find related error information.
    Regards
    Yolanda
    TechNet Community Support

  • Opening appleworks with maverick pages

    I have mac 10.9.1.  How do I open appleworks text documents with Pages

    Hello,
    if you still have iWork 2009 installed on your computer, you can open these documents with Pages 4.
    If not, LibreOffice 4.1 may be able to open them, then for instance, you can export them in .doc...
    osnola

  • Problem with total page numbers in Scripts

    Hi,
    I have a problem with total number of pages in the Script.
    I have a script of 15 pages.
    On every page, I am using &PAGE& of &SAPSCRIPT-FORMPAGES(C)&.
    Problem is : I am getting only single digit for SAPSCRIPT-FORMPAGES as long as the page number remains in single digit - like -
    1 of 1
    2 of 1
    3 of 1... till 9 of 1.
    But from 10th page, it is printing :
    10 of 15
    11 of 15
    12 of 15... till 15 of 15.
    So, i think the symbol SAPSCRIPT-FORMPAGES(C) is filled with value 15 , but it is prinitng only the first digit '1' for pages 1 to 9 and then printing both the digits '15' for pages from 10 onwards.
    So, please help me out in this problem.
    Thank you.

    Hi Ven,
    The CONDENSE option cannot be used on the program icon SAPSCRIPT-FORMPAGES
    (C) without an explicit length specification: This symbol is
    only replaced with a value after the form has been completely edited, as the
    total number of pages of a form is first known in the program function
    END_FORM or CLOSE_FORM. However, the size of the symbol (number of
    characters) is reserved correctly when the symbol first occurs, with the
    current page number. Therefore, only one character is reserved for option C
    (CONDENSE) on pages 1-9, two characters on pages 10-99, and so on.
    If you are sure that the total number of pages doesn't cross 99(i.e 2-digit number), then use the FORM pages as SAPSCRIPT-FORMPAGES(2CZ).
    Here Z will suppress the leading zeros, for the total number of pages.
    Hope this information would be useful for you.
    Reward points if this is useful.
    Pavan.

  • Can all Acrobat Readers open files with mixed orientation pages (portrait and landscape)?

    Can all Acrobat Readers open files with mixed orientation pages (portrait and landscape)? If not, which versions can? Thanks!

    Hi Sami,
    You can open files with mixed page orientations in all Adobe Readers There is no such constraint on opening files with different page orientations in Adobe Readers.
    In case if you have any other query please let us know. We will be happy to assist you.
    Regards,
    Aadesh

  • Continue page numbering from Main Section to Trailer Section

    Hello,
    I am trying to create a report which has multiple report blocks in the Main section. The page orientation is portrait for Main section. Now, I want to add a report block which should have a landscape orientation. So, I created this in the Trailer section. All that works out well.
    My next task is to add a Table of Contents as the first page of the output (pdf). This is clearly documented in the Building Reports 10g manual and works just fine for the Main section. i.e. the TOC comes out with correct page numbers. But, for the Trailer section, the page number retrieved by SRW.GET_PAGE_NUM shows a page number of 1 , since it's the first page in the Trailer.
    What I want is that the Trailer's page number should continue where the Main section left off. In fact, If I put a field in the margin for the trailer and source it from "Page Number" in the property pallet, I can see that it has the correct page number, i.e. it's main sections page number + 1. But, SRW.GET_PAGE_NUM seems to retrieve 1.
    Note that at the Report Module level, I have set the Format Order of Sections property to Main-Trailer-Header.
    Any inputs are much appreciated.
    Thanks,
    Manish

    That worked perfectly after I discovered I also needed to uncheck "use previous footnote". I also checked "First page is different" since it is a Section Title Page and did not need a page number. Now, all that is needed is the availability of different types/styles of numbering (Roman numeral for introductory pages as an example).
    What is happening is that I am self publishing a genealogical book on my family tree that also carries quite a lot of other family information and each of the "Sections" was built in Pages since I did not know how to correctly do sectioning to use a single Page document. There are eight SECTIONS, not pages, with a total 278 duplex (2 sided) pages.
    Thanks Yvan for helping clarify the sectioning.
    Sparkgapper

  • Survey for people using page numbering

    We're doing a study on page numbering in InDesign. If you've recently dealt with a page numbering issue in InDesign, please take a few moments to fill out a brief survey.
    I'll be contacting some of the review participants for a follow-up usability test.
    Thanks.

    Just wanted to chime in on the no-problems-here bandwagon.
    I *think* that most of the people who complain about limited options have no experience in creating books, nor, it seems, in reading books -- f'r instance, they never noticed odd pages go on the right and even ones on the left. They never noticed books hardly ever start at page 2. They don't understand roman numbered front matter should also has an even number of pages. They don't think it's weird to have only right hand pages numbered.
    Within those limitations, I can make ID document and book numbering jump through hoops. As long as they're circular hoops, that is. (And who'd ever heard of rectangular hoops? Or triangular?)
    (PS. I get asked rather frequently if I can remove that annoying blank last page, right after the one that says '127'. It really is hard to explain -- not to mention three blanks after a last page 125.)

Maybe you are looking for