4 Replies Latest reply: Oct 11, 2012 10:43 AM by argus08 RSS

    finding xrefs to a chapter

    argus08 Community Member

      Is there a way to find all cross-references to a particular chapter, similar to checking the Links view in Robohelp?

        • 1. Re: finding xrefs to a chapter
          Error7103 Community Member

          Chapters in a multi-chapter file or document,

          or chapters as separate files?

          • 2. Re: finding xrefs to a chapter
            argus08 Community Member

            Sorry, chapters as separate files in a book. There is a consolidated book and eight smaller books, two of which share two chapters. I want to find all cross-references (from any chapter in the consolidated book) to either of those shared chapters.

            • 3. Re: finding xrefs to a chapter
              Error7103 Community Member

              At least up to FM9, the seach dialog doesn't seem to offer anything that will find Xrefs by target file.

               

              And once found, what then?

               

              Assuming you are look for refs to file "ChaperFileName01"

               

              You could use a force-fail hack:

              1. Temporarily rename ChaperFileName01 to ChaperFileName01x
              2. Open the other files.
              3. Look for unresolved Xrefs

               

              You could also resort to MIF mucking.:

               

              1. Save all the files as MIF to .mif's.
              2. Open each in a Unicode UTF8-safe plain text editor.
              3. Search for string:
                <XRefSrcFile `<c\>ChapterFileName01.fm'>
              4. Hack the <Xref tag as needed.
              5. Save MIF.

               

              I suspect neither of these will enable whatever stewardship you have in mind.

              • 4. Re: finding xrefs to a chapter
                argus08 Community Member

                Thanks Error7103, the first option did what I needed (to ensure a particular variable and condition were applied consistently to text adjoining those xrefs).