microsoft word - Document links pointing to other .docx files are broken in a combined .pdf conversion

28
2013-12
  • Joel Marcey

    Let's say you have 5 .docx files, A-E. Some links in A.docx point to (probably relatively) to B.docx. So you would have a sentence in A.docx that says something like "For more information on this topic, see B.docx" and a link associated with B.docx that opens up that document (maybe the link is file:\c:\docs\B.docx).

    What I want to do is combine the 5 .docx files into 1 PDF file, with each .docx file being appended to the one before it. I want links preserved, but changed to reflect the new 1 whole PDF document instead of 5 separate ones. So instead of the link being file:\c:\docs\B.docx, it should be now be something local since B.docx is now integrated in one file with A.docx. So we need a bookmark or something else in order to get to the first page of B.docx.

    Right now, these type of links in the combined PDF still try to reach a separate document and give me a "File Not Found" type of error. I suppose I expect this on the surface, but I am trying to find a way to correct it.

    Does this make sense?

    Optimally, I would like a non-brute force, reusable method to accomplish this task (either within Word or programmatically) without having to cut and paste B.docx to the bottom of A.docx, then cut C.docx to the bottom of what is now A|B.docx, etc. and then manually add bookmarks and change the links. However, I am almost resigned to the point that I will have to go the cut | paste, add new bookmarks, change all links manually route. The problem is that each document can be on the upward of 300-400 pages, making cut | paste a bit of a pain.

    Note 1: The way I create the 1 PDF is by "Save As" each .docx file as a .pdf from Word, then using Adobe Acrobat to combine the .pdf files into 1.

    Note 2: Someone else on another forum actually had the same problem and wrote the question this way... "I've created hyperlinks from one DOC file to bookmarks in another. When converting to PDF, I've combined the DOC files to create a single PDF document. In the PDF document, the hyperlinks open the DOC version of the file rather than linking to a page in the PDF document. Is there a way to have the hyperlink convert so that it's not opening a DOC file but rather pointing to the correct bookmark in the PDF doc?"

    Note 3: All local hyperlinks work fine when I combine the documents into one PDF. It is the cross-document links that I am trying to figure out the best way to handle.

  • Answers
  • music2myear

    Is there a reason you cannot create one long word document prior to creating the PDF? The PDF system is not "intelligent" enough to note that the files you were referencing first were turned into pdf files and then that those pdf files were merged.

    What you need to do is when creating the merged file, merge the file in Word and create internal links as you note you have in other places in the document. Then turn this merged document file into a pdf file.

  • Adam

    I assume you want to use external files as a way to build together your final document from different files while keeping each part separate on disk.

    You may find you can still achieve this and also what you are asking here by embedding your documents in the final document using INCLUDETEXT. You can then use local links to bookmarks which are found in the source document. In theory this should work (I have not tested so let me know how it goes) as the bookmarks and content is "copied" into the document.

    The links to the bookmarks should then work and the files still remain external as you still make changes in each separate document and then update the main document to include the changed content.


  • Related Question

    Split Word/PDF files into multiple documents?
  • John

    I created a business card design on Word, each side of the card as one 85x55mm page. Most printers seem to want it in PDF file which is easy, but they sometimes want each side as a different document.

    Is it possible to split a word or PDF file into multiple documents, e.g split on a page-break? I can't find an option in Word 2007 and no idea about Acrobat but I doubt it.


  • Related Answers
  • user7809

    If using the commandline is an option, I would recommend pdftk.

    pdftk multipage.pdf burst

  • ianix

    If you're using Office 2007, you can install this Microsoft Add-in for converting to PDF, or update to Office 2007 SP2 that has this add-in included, as said here.

  • Mark Redman

    You can split pages from a PDF into individual documents using Acrobat.

  • Kells

    You can also use a free program like doPDF and print page 1 to a PDF, then print page 2 to a separate PDF.