• Cross-reference between 2 documents (1)

    Author
    Topic
    #425911

    Is there some code that is available to have cross-references from one document to another?

    Viewing 0 reply threads
    Author
    Replies
    • #982669

      You don’t need code to do this (although it can help if you need to produce lots of cross-references). The basic steps involve adding a bookmark in the target file where you want the crossref to point at and then going to the file that is to contain the crossref and adding an IncludeText field to that bookmark.

      I haven’t seen a code solution to set this up and it is far from bulletproof so it may not be all that worthwhile for a developer to create the code and userforms necessary to perform the task.

      • #982706

        As someone who has implemented this in code, I’ll say it ain’t easy, but it can be done. If you’re looking at making a ton of xrefs, it can be worth it. I for one hate that infernal, tiny cross reference dialog.

        Hack 44 (“Hack More Flexible Cross Referencing”) in my book (see signature below) covers how to implement your own cross reference dialog. We use a more complex version of that code (which includes a pulldown to choose external docs) in our authoring template.

        • #982743

          And for those who can’t get to a bookstore and want it right now, Word Hacks is available online from the Safari service, with a 14 day free trial (credit card required). See O’Reilly Network Safari Bookshelf – Word Hacks.

          Note: for anyone interested in Safari, it is available through several different portals and your password only seems to work at the original one. They all look pretty similar, but you might look at Addison-Wesley (this one seems a bit slow to me) and Informit to see if those appeal to you more than the above.

    Viewing 0 reply threads
    Reply To: Cross-reference between 2 documents (1)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: