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

Cross reference problem

Return to Member Forum

  • Author
    Posts
    • #71912

      Hi everyone
      i have a problem here with my book, i changed some files name in that book everything is cool except Cross reference is Not and definitely that happened because i changed names of some file, so now i have to fix each on manually and that will take a lifetime for a book.
      so my question is: Dose anyone have any easier way to do that generally, script, plugin or anything can possibly help me?

      Thank you guys

    • #71913
      Allan Shearer
      Participant

      Hi Mohamed

      I’m a bit new here and so I would anticipate that someone might just reply with a more straight forward and/or easier solution … however, I’ll toss in my thoughts on how I would approach this.

      I would do a Save As and make an IDML file (thus too what you’re working on next is a COPY and you won’t damage your original INDD file).

      Then, I would open that IDML file in an XML editor (e.g., Text Wrangler, or Oxygen – the latter is what I use) and then look for the Cross References in the displaymap.xml file. You may at first be a bit overwhelmed at what all you find in here, however, if you find the Old filename that you’re trying to change to the New filename, you might just be able to figure out how to do a Find and Replace through the entire ‘archive’ (an IDML file is an archive of a whole lotta XML files).

      Be cautious, though, and ALWAYS make sure that you’re modifying an IDML file that you don’t care if you destroy it by doing some incorrect edits in this way. Thus, always working on a Copy of a file. This is how I do the most of my trial-and-error investigating. If I totally goof up, then there’s no panic because it was merely a Copy of the file. In that case, trash it, and try again.

      If you are able to find all the Old to New text strings to replace, then you’ll know if you’re successful when you then close the IDML file from the XML editor and double-click to open the IDML file in InDesign. If it opens without complaining and all your changes seem good, then, that might just be your fix.

      Having said all that … I won’t be at all surprised if someone else chimes in with the PROPER way to fix this more easily and elegantly. ;)

      Hope this helps.

      Yours,

      Allan

      • #71914

        Thank you so much Allan, I’ll give it a shot.

    • #71915
      Allan Shearer
      Participant

      FYI … I just tried this myself, and it worked well.

      I took a really basic example … assuming you were Cross Referencing across files (to a separate INDD file) which you then renamed. I was easily able to see the ‘old’ name in the IDML file and then change it to the ‘new’ name. When I closed the modified IDML file and opened it in InDesign the ‘broken link’ was resolved.

      Of course, my example was very very basic and had only ONE cross reference to fix. Yours will no doubt be a little bit more of a challenge, but, I’m quite confident that it can be fixed this way – if there is no other easier way from within InDesign.

      Happy to help you if you need it.

      Yours,

      Allan

    • #71925

      Alan I thought your answer was brilliant! Thank you so much for helping out.

    • #71929
      Allan Shearer
      Participant

      <<blush>> That’s high praise coming from the queen of InDesign! :) Thanks. :) Happy to help if and where I can. :)

      Allan

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