2 Replies Latest reply: Nov 29, 2010 2:37 PM by myDwayneSmith RSS

    [CS4] Documents linked to other documents?

    myDwayneSmith Community Member

      When exporting a document for Digital Editions, InDesign is automatically trying to open another document.

      If it can't find that second document, the export fails — with the error message "undefined is not an object".

       

      If it DOES find the second document, Indesign opens it and the export proceeds correctly.

      I can find no reference to this second document in the resulting epub (I've checked the CSS, OPF, NCX and XHTML).

       

      The two documents are related, in that they have similar content and one may well have been used as the template to build the other.

      But I can't figure out why that would cause one to be NECESSARY for the correct export of the other.

       

      Resetting InDesign preferences makes no difference.

      Completely rebuilding the file fixes the problem — but I'd prefer to know why this is happening.

       

      Anyone with any ideas?

       

      d.

        • 1. Re: [CS4] Documents linked to other documents?
          P Spier CommunityMVP

          I have noe experinece with Digital Editions, but it sounds to me as if you've placed a page or pages from one file into another, or possibly there is an InCopy assignment involved. Have you checked the links panel to see that all links are up to date?

          • 2. Re: [CS4] Documents linked to other documents?
            myDwayneSmith Community Member

            Thanks for your time Peter.

             

            Yes, placing pages was what I originally thought too.

             

            But, I've pinned it down now. It only affects documents with hyperlinks. And what did I find when I delved into the hyperlinks? They'd been set up as "shared locations" rather than straight URLs (for who knows what reason).

             

            Rebuilding the files didn't actually fix the problem as I originally thought — it was just that I didn't discover the hyperlinks were broken until after the rebuild (and I assumed the rebuild broke them, rather than assuming that they were broken before the rebuild).

             

            At least that's one frustration with creating ePubs sorted. Onward and upward.

             

            Have a good one

             

            d.