XML table of contents file for PDFBOOKBINDER API

Here is my control file for making the PDFBOOKBINDER, Having touble making a table of contents, this code will merge the pdfs ( Also I need them to be RTF) it
says you can use RTF in the documentation but HOW? This code will display my tableofcontents.rtf but does not put in the page numbers... need help
Thanks,
Doug
<?xml version="1.0" encoding="utf-8"?>
<outline xmlns="http://xmlns.oracle.com/oxp/book/">
  <!--
   The 'title-page' element should point to a PDF title page inserted
   at the beginning of the book. (OPTIONAL)
  -->
  <!-- So here is the title page reference, in this case it is going to use an RTF template -->
  <!-- <title-page type="rtf">c:/temp/Tableofcontents.rtf</title-page> -->
  <!-- next follow the three documents we want to combine -->
  <item>
<content-container>
    <content>c:\temp\mypage1.pdf</content>
</content-container>
  </item>
<item>
<content-container>
    <content>c:\temp\mypage2.pdf</content>
</content-container>
  </item>
  <item>
<content-container>
    <content>c:\temp\mypage3.pdf</content>
</content-container>
  </item>
</outline>

Please take a look at this: http://blogs.oracle.com/xmlpublisher/2010/05/bookbindng_samples.html
Thanks!

Similar Messages

  • Table of contents file not taking book files into account

    Hi everyone,
    I've used Indesign's book panel to manage the chapters in a book that I've typeset. I set up the table of contents style (in a TOC document which is part of the books panel) and made sure that it used all the book chapters when compiling the table of contents by checking the option in the TOC styles diaglogue box.
    For some reason, the table of contents is ignoring all of the styles in the chapter files so it's not including anything in the table of contents other than a few headings that are within the file that contains the table of contents.
    I'm noticing that Indesign is creating a whole lot of duplicate files with a string of numbers appended to the file name, eg.
    Newbook_Cha531549083577
    These seem to duplicates of the chapter files but I have no idea why Indesign is creating them so I'm wondering whether I've got some corruption happening and whether this may be causing the problem with the table of contents.
    Has anyone had a similar problem and if yes, is there any solution?
    Really appreciate any advice.

    Peter,
    I'm having the same problem as gwh. The TOC won't go beyond the first document. All my style names are the same. I don't have style groups.
    To make the book I began with one long document that included all the chapters. I broke it into chapters by copying and pasting into new .indd documents (each one created by Save As from the first) and adding all those documents to the book.
    Generating the TOC from the one long .indd document works perfectly. I just can't get it to generate from the book (.indb) doc.
    I have all the documents in the book open. I have the first one active (in front). I generate the TOC, and I get only the entries for the first document. Here's a screenshot of my TOC box. I must be missing something really simple, huh?  (I'm using CS5)

  • Error while Creating Prestage Content File for Application in SCCM 2012

    Hi All,
    I am using SCCM 2012 SP1 on Win 2K8 SP R2 box. Database is SQL 2008 R2 SP1 CU6. I have trying to create Prestaged content for Applications for extracting pkgx files on DP's. I am getting the below error message for random applications(not for all applications
    but for random applications).
    Content that will be included into the prestaged content file (1):
    Citrix Receiver 13.3.0.55
    Export all dependencies: 'Yes'
    Selected distribution points: 'MPSERVER.GS.WORLD.PRESS.COM'
    Prestaged content file: 'G:\pkgxfiles\Application\Citrix Receiver 13.3.0.55.pkgx'
     Error: Distribution is currently in progress for selected packages: HM0000D9. Please wait and try again
    But if I see this application is successfully distributed to 2 of the distributions points long ago. If I reupdate the Distribution point and then again try to create prestaged content for this application then pkgx file for that application is getting
    created.
    Why this is happening and how can I resolve this?
    Thanks & Regards Uttam

    Since no one has answer this post, I recommend opening  a support case with CSS as they can work with you to solve this problem.
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • How do I create a Table of Contents page for ePub that link?

    I am new to E-Publishing, I have been able to my overall book but cannot figure out the Table of Contents. I need them to link to the chapter page. I have created a table of contents and they dont link. I tried to create hyperlink within the document but they only work in the pdf version and not the ePub. What can i do so that they link in the ePub version as well ?
    I dont know if this information would be helpful but I also wanted to mention that All the chapter names are set to the same style, and that the Table of content I have created so far was made through the TOC option in InDesign. Also the layout is fixed and I am using InDesign CC 2014

    Make sure the TOC is in the style source document
    Thank you so much! This was the thing I did wrong. There had been another document marked for style source. Now it works perfectly.
    Almute

  • Exporting R3 tables into Flat Files for BPC

    Dear BPC experts,
    I understand currently the way for BPC to extract data from R3 is via flat files. I have the following queries:
    1) What exactly are the T codes and steps required to export R3 tables into flat files (without going through the OpenHub in BI7)? Can this process be automated?
    2) Is Data Manager of BPC equivalent to SSIS (Integration Services) of SQL Server?
    Please advise. Thanks!!
    SJ

    Hi Soong Jeng,
    I would take a look at the existing BI Extractors for the answer to Q1, I am working on finishing up a HTG regarding this. Look for it very soon.
    Here is the code to dump out data from a BI Extractor directly from ERP.
    You need dev permissions in your ERP system and access to an app server folder. ...Good Luck
    *& Report  Z_EXTRACTOR_TO_FILE                                         *
    report  z_extractor_to_file                     .
    type-pools:
      rsaot.
    parameters:
      p_osrce type roosource-oltpsource,
      p_filnm type rlgrap-filename,
      p_maxsz type rsiodynp4-maxsize default 100,
      p_maxfc type rsiodynp4-calls default 10,
      p_updmd type rsiodynp4-updmode default 'F'.
    data:
      l_lines_read type sy-tabix,
      ls_select type rsselect,
      lt_select type table of rsselect,
      ls_field type rsfieldsel,
      lt_field type table of rsfieldsel,
      l_quiet type rois-genflag value 'X',
      l_readonly type rsiodynp4-readonly value 'X',
      l_desc_type type char1 value 'M',
      lr_data type ref to data,
      lt_oltpsource type rsaot_s_osource,
      l_req_no type rsiodynp4-requnr,
      l_debugmode type rsiodynp4-debugmode,
      l_genmode type rois-genflag,
      l_columns type i,
      l_temp_char type char40,
      l_filename    like rlgrap-filename,
      wa_x030l      like x030l,
      tb_dfies      type standard table of dfies,
      wa_dfies      type dfies,
      begin of tb_flditab occurs 0,
    *   field description
        fldname(40)  type c,
      end of tb_flditab,
      ls_flditab like line of tb_flditab,
      l_file type string.
    field-symbols:
      <lt_data> type standard table,
      <ls_data> type any,
      <ls_field> type any.
    call function 'RSA1_SINGLE_OLTPSOURCE_GET'
      exporting
        i_oltpsource   = p_osrce
      importing
        e_s_oltpsource = lt_oltpsource
      exceptions
        no_authority   = 1
        not_exist      = 2
        inconsistent   = 3
        others         = 4.
    if sy-subrc <> 0.
    * ERROR
    endif.
    create data lr_data type standard table of (lt_oltpsource-exstruct).
    assign lr_data->* to <lt_data>.
    call function 'RSFH_GET_DATA_SIMPLE'
      exporting
        i_requnr                     = l_req_no
        i_osource                    = p_osrce
        i_maxsize                    = p_maxsz
        i_maxfetch                   = p_maxfc
        i_updmode                    = p_updmd
        i_debugmode                  = l_debugmode
        i_abapmemory                 = l_genmode
        i_quiet                      = l_quiet
        i_read_only                  = l_readonly
      importing
        e_lines_read                 = l_lines_read
      tables
        i_t_select                   = lt_select
        i_t_field                    = lt_field
        e_t_data                     = <lt_data>
      exceptions
        generation_error             = 1
        interface_table_error        = 2
        metadata_error               = 3
        error_passed_to_mess_handler = 4
        no_authority                 = 5
        others                       = 6.
    * get table/structure field info
    call function 'GET_FIELDTAB'
      exporting
        langu               = sy-langu
        only                = space
        tabname             = lt_oltpsource-exstruct
        withtext            = 'X'
      importing
        header              = wa_x030l
      tables
        fieldtab            = tb_dfies
      exceptions
        internal_error      = 01
        no_texts_found      = 02
        table_has_no_fields = 03
        table_not_activ     = 04.
    * check result
    case sy-subrc.
      when 0.
    *      copy fieldnames
        loop at tb_dfies into wa_dfies.
          case l_desc_type.
            when 'F'.
              tb_flditab-fldname = wa_dfies-fieldname.
            when 'S'.
              tb_flditab-fldname = wa_dfies-scrtext_s.
            when 'M'.
              tb_flditab-fldname = wa_dfies-scrtext_m.
            when 'L'.
              tb_flditab-fldname = wa_dfies-scrtext_l.
            when others.
    *         use fieldname
              tb_flditab-fldname = wa_dfies-fieldname.
          endcase.
          append tb_flditab.
    *        clear variables
          clear: wa_dfies.
        endloop.
      when others.
        message id sy-msgid type sy-msgty number sy-msgno
        with  sy-subrc raising error_get_dictionary_info.
    endcase.
    describe table tb_flditab lines l_columns.
    " MOVE DATA TO THE APPLICATION SERVER
    open dataset p_filnm for output in text mode encoding utf-8
      with windows linefeed.
    data i type i.
    loop at <lt_data> assigning <ls_data>.
      loop at tb_flditab into ls_flditab.
        i = sy-tabix.
        assign component i of structure <ls_data> to <ls_field>.
        l_temp_char = <ls_field>.
        if i eq 1.
          l_file = l_temp_char.
        else.
          concatenate l_file ',' l_temp_char  into l_file.
        endif.
      endloop.
      transfer l_file to p_filnm.
      clear l_file.
    endloop.
    close dataset p_filnm.
    Cheers,
    Scott
    Edited by: Jeffrey Holdeman on May 25, 2010 4:44 PM
    Added  markup to improve readability
    Edited by: Jeffrey Holdeman on May 25, 2010 4:47 PM

  • Help needed with table of contents construction for ebook

    I am creating an ebook manuscript in Pages. I want to link the headings in the table of contents - instead of the page numbers - to the appropriate sections of my document. Is there any way to do that?
    Also, how can I edit the table of contents? I don't mean change the style. I've already done that. I just want to add extra spacing and insert a page break. Every time I try to insert my cursor to make these changes, the headings become highlighted in blue. How can I avoid that?

    Is your goal to have links on the chapter titles as an ease of use for the consumer of your ebook, or as a convenience to you that enables you to jump around the book with a single click?
    The first part of the conjunction does not appear currently possible in Pages. The second part is possible.
    Select a chapter title. Open the link inspector and choose the Bookmark tab. Add your chapter titles in order as bookmarks. No hyperlinks. Once done, you can use your mouse to select the bookmarked chapter title from the link inspector bookmark list that you want to instantly jump to in your Pages document. Simpler than using the TOC to do this.

  • XML Sax Exception with 9.2.0.5 express*.jar files for Olap API

    I was using the olap_api_92.jar that
    came with jdeveloper for the olap api and having a coding problem.. In trying to see
    if I could resolve the previous problem, I set my classpath to use the jar files provided with the 9.2.0.5
    install for AiX.. all beginning with express*.jar
    I now get an XML parsing error that I can't fix..
    which jar is good, the olap_api_92.jar seems to work..
    Help!
    thanks,
    Lisa Cox
    OCLC Inc.
    java.lang.RuntimeException: org.xml.sax.SAXParseException: <Line 179, Column 18>: XML-0124: (Fatal Error) An attribute cannot appear more than once in the same start tag.
    at oracle.olapi.metadata.MetadataFetcher.processXML(MetadataFetcher.java:237)
    at oracle.olapi.metadata.MetadataFetcher.fetchBaseMetadataObjects(MetadataFetcher.java:180)
    at oracle.olapi.metadata.BaseMetadataProvider.fetchMetadataObject(BaseMetadataProvider.java:150)
    at oracle.olapi.metadata.BaseMetadataProvider.fetchMetadataObject(BaseMetadataProvider.java:107)
    at oracle.olapi.metadata.mdm.MdmMetadataProvider.getMetadataObject(MdmMetadataProvider.java:147)
    at oracle.olapi.metadata.mdm.MdmMetadataProvider.getRootSchema(MdmMetadataProvider.java:174)
    at oracle.express.mdm.MdmMetadataProvider.getRootSchema(MdmMetadataProvider.java:144)
    at org.oclc.xwc.olap.OlapClient.main(OlapClient.java:494)

    The OLAP component versions are empty.
    <Check key="OLAP Catalog version" value=""/>
    <Check key="OLAP AW Engine version" value=""/>
    <Check key="OLAP API Server version" value=""/>
    Please doublecheck that the catpatch.sql script ran without any errors.
    Aneel Shenker
    Senior Product Manager
    Oracle Corp.

  • Table of Contents Issue for ePub

    I am trying to create a TOC for an ePub that looks like I want it to:
    Chapter One: The Name of Chapter One
    Chapter Two: The Name of Chapter Two
    etc.
    To do this:
    I imported the ePub styles from the ePub sample document
    On a page which begins a chapter I typed "Chapter X" and gave it the Chapter Number style
    Under that I put the name of the chapter and gave it the Chapters style
    I selected both the Chapter Number and Chapters styles in the TOC tab of the Inspector
    The resulting TOC in the ePub document looks like this:
    Chapter One
         Name of Chapter One
    Chapter Two
         Name of Chapter Two
    If I DEselect the Chapter Number style in the inspector the entire TOC gets messed up
    How can I get the TOC to look like I want (see above).
    Thanks.

    Make sure the TOC is in the style source document
    Thank you so much! This was the thing I did wrong. There had been another document marked for style source. Now it works perfectly.
    Almute

  • Multiple table of contents in document

    Hi there,
    I'm new in FM8. I recently received a document in FM8. The structure of the document is as follows:
    Every file of the document corresponds to a chapter. Each chapter contains a table of contents for its subheaders and paragraphs.
    Table of contents (here are the chapter from 1 to 10, only the chapters)
    Next is Chapter 1 which include a small table of contents with all subheads and paragraphs (e.g. 1.1, 1.1.1 and so on)
    The same goes chapter 2 to 10.
    That's not all.
    Chapter 7, 8, 9 and 10 are placed in different folders coresponding with chapters title. The rest of them (chapter 1 to 6) are placed all in the same folder.
    For chapters 7, 8, 9 and 10 I manage to update the second table of contents (which contains subheads and paragraphs - e.g. 1.1, 1.1.1 etc.)
    In the main folder which contains rest of the chapters there are TOC files for the main Table of contents and for the subeahds and paragraohs contents corresponding to each chapter. Here I have problems with updating them because when I open the book and update it only the main TOC will be updated. The problem appears when I create PDF. Because after creating PDF when I click on a chapter name in the TOC it will bring me to the chapter I want but when I click on the TOC for subheads/paragraphs nothing happened, except for chapters 7, 8, 9 and 10.
    So, to be more explicit.
    When I click on chapter 7 in pdf, acrobat will send me to the chapter 7 where I find another TOC in wich if I click on subead 7.3 it will send me to the page that includes subhead 7.3. Instead if I click on chapter 4 it will bring me to the page coresponding for chapter 4 but there if I click on subhead 4.3 nothing will happen.
    I will attach an example of that PDF.
    The file structure looks like that:
    Chapter 7 folder:
         - book
         - TOC file for chapter 7
         - chapter 7 (same structure goes for chapter 8, 9 and 10)
    Project folder
         - book (it contains all files from chapter 1 to 10)
         - TOC file (the main TOC)
         - TOC files for chapters
         - chapters' files
    Thank you. Any help will be appreciated.
    Excuse my poor written english.
    Trully yours,
    Fagaras Codrut Sebastian

    Hi,
    if you got an FM book which contains separate TOCs for each chapter, it was most likely created using either
    - the Systec TOOLBOX (http://www.systec-gmbh.com/en/sites/toolbox.php) or
    - FrameScript (http://www.framescript.com/) with an itl script named "DocToc" (http://www.i-frame.itl.info/i-frame-base.html, website currently only available in German)
    Without these solutions, you won't be able to comfortably handle a book like yours.
    Regards,
    Bernd

  • How do I locate the page I am viewing in the Table of Contents?

    Is there a way to open the table of contents to the page that I am already viewing?
    If I have searched a document, and I am at some random page, how do I find out where I am in the table of contents?  For example, in the eclipse help system and IBM's "info centers" there is a button that opens the table of contents to the nearest page to where I am so that I can guage the general intent of the pages I am reading, find related content or quickly assess that this is not what I'm looking for.
    I think the TOC is really a collection of "bookmarks" in a PDF file and not a true TOC, but I would assume that if they are sequential there would be a function to open the nearest one.  Can someone tell me if that exists?
    Thanks
    Doug

    If you are running Firefox 4 or higher on the "old" computer, then:
    (1) Open Help > Troubleshooting Information
    (2) Click the "Open Containing Folder" button next to "Profile Directory"
    (3) Copy everything to a safe place (please note that the copy of your profile does contain your browsing history and saved passwords, so best not to store in on media that you insert into public PCs)
    You can copy the bookmarkbackups folder to a USB flash drive, then on your new computer, import your bookmarks from there. See [https://support.mozilla.com/en-US/kb/Backing%20up%20and%20restoring%20bookmarks Backing up and restoring bookmarks | How to | Firefox Help].
    (To clone your entire setup, after you install Firefox on the new PC, you can close it and replace the contents of the new profile folder with the contents you saved from the old computer. That doesn't always work, though.)

  • Need to Export a hypertext index list or Table of Content when saving as pdf

    I have a catalog that is being converted from print to web and will be exported as a pdf and then converted to a flip book using a flash template. The flash template does have this capability and pdf files can and do import table of content text for navigating the pdf document. What I need to do is to take the Table of Contents list from the catalog (which I have tagged with hyperlinks) and have it appear in the pdf as a text-based table of contents with hyperlinks. I saw one post discussing "InDesign's index feature" but don't see that anywhere in my app. I am using CS3 currently. (been told to stay away from 4 til bugs are worked out of .ai and dreamweaver).

    You've stayed away from CS4 so long that CS5 will be shipping in the few weeks.
    As for your question, I'm not really sure what you're asking. Who's doing this converting for you?
    Bob

  • Split a Table of Contents on two pages

    Hi everyone!
    I would like to split a Table of Contents on two pages after my own wishes. Is it possible? I know that the TOC can be styled but make it split over 2 pages seems impossible. Does anyone have an idea? Thank you for any input!!!

    Thanks for the feedback.
    It's not my idea.
    It's a variant of what Apple explains in the technote:
    http://support.apple.com/kb/TS2127
    Symptoms
    +When you create a document in Pages, you can add page numbers to your pages, and even choose a numbering format (such as 1, 2, 3; A, B, C; or I, II, III). If you create a table of contents (TOC) for your document, the TOC will always display page numbers as Arabic numerals (1, 2, 3), even if you selected a different format for your page numbers (such as if you chose the letter scheme A, B, C).+
    +If your page numbers are not Arabic numerals, your document may be difficult to navigate since the TOC and page numbers won't match. As a general rule, you should use Arabic numerals to number your pages if you plan on including a TOC so that the TOC will reference page numbers correctly.+
    Resolution
    +If you've used a different numbering format, you can edit your TOC using this workaround:+
    _+Export your document as an RTF (Rich Text Format) document (from the File menu, choose Export, then select the RTF radio button in the resulting dialog).+_
    _+Open the RTF in Pages (from the File menu, choose Open or drag the RTF file onto the Pages icon in the Dock).+_
    _+Manually change the numbers in the Table of Contents section so that they match your page number scheme.+_
    _+Please note that some of your formatting may change during this process and may need to be corrected.+_
    Yvan KOENIG (from FRANCE jeudi 12 mars 2009 20:44:24)

  • How to specify a different config file for a weblogic 6.1 server

    Hi,
    I have 2 weblogic startup scripts (startWebLogic.sh and
    startWebLogic_recovery.sh) for the same domain.
    startWebLogic.sh uses config.xml file.
    I would like to use config_recovery.xml as the configuration file for startWebLogic_recovery.sh
    How would I do this ?
    I am using WebLogic Server 6.1 on SunOS 5.8 / HP-UX 11.0.
    Appreciate any help.
    Regards
    Gunaseelan Venkateswaran

    Hello Gunaseelan,
    This is not possible because WLS 6.1 needs a config.xml file, exactly this
    name, to start.
    What you can do is to define a recovery domain, called myrecovery_domain for
    instance, and put the config_recovery.xml, renamed "config.xml".
    Hope this helps,
    Ludovic.
    Developer Relations Engineer
    BEA Support.
    "Gunaseelan Venkateswaran" <[email protected]> a écrit dans le message
    news: 3cd6a324$[email protected]..
    >
    Hi,
    I have 2 weblogic startup scripts (startWebLogic.sh and
    startWebLogic_recovery.sh) for the same domain.
    startWebLogic.sh uses config.xml file.
    I would like to use config_recovery.xml as the configuration file forstartWebLogic_recovery.sh
    >
    >
    How would I do this ?
    I am using WebLogic Server 6.1 on SunOS 5.8 / HP-UX 11.0.
    Appreciate any help.
    Regards
    Gunaseelan Venkateswaran

  • Including Tagged Text in a Table of Contents

    I would like to include only a few words from a given paragraph in the Table of Contents.
    For example in the example paragraph, I would like only the term Blather to appear in the TOC "Blather - Blah blah blah blah."
    Is there a way I can tag "Blather" and then have the TOC dialog include Tagged Text?
    I'm using CS 5.5.
    Thanks you.

    Thanks Peter,
    I like the auto-updating feature of the second option.
    So that I understand, you're suggesting I create a hyperlink destination on the text to display in the TOC (right-click --> Interactive --> New Hyperlink Destination), and then manually insert a cross-reference to that hyperlink destination in my TOC (Type --> Hyperlinks & Cross-References --> Insert Cross-References --> Link to: Text Anchor)?

  • How to get only partial text of a paragraph into the table of content?

    Hi guys,
    currently I'm working on a manuscript based on the publication manual of the American Psychological Association.
    Unfortunately, there is some sort of heading that's placed right in front of further text. Here an example:
    +This is my heading.+ Now ordinary text formatted differently should follow.
    Does anyone here know, how to get the text of the heading (but not the following text) into the table of content? For as far as I know I can't format the heading as a different paragraph than the following text.
    By the way, I use pages'08.
    Thanks for your help

    Hi Dennis,
    thanks for your suggestion, unfortunately I already tried that and it didn't work. I have created several unique styles. Problem is, I need two diferent styles in *one paragraph* - one style for the "heading", which is consistent to the APA manual not an own paragraph (sorry, not my idea...), and another style for the following text. As my example above shows, the heading is followed by usual text and I may not press return after the heading and switch to a new paragraph..
    It has to look exactly like this:
    +heading in italics.+ Now heading is followed by usual text without changing the paragraph or starting a new line. Blurb blurb blurb whatsoever blurb blurb. The text goes on an on and an on you see.
    I can't format the heading differently than the text (because if I try, the whole paragraph is formatted this way) and so I can't add just the heading to the TOC. Do you see what my problem is? Got any other suggestion?

Maybe you are looking for