CROSS-REFERENCING IN SUB-DOCUMENTS HEADINGS

This doc is to show how cross-referencing in a sub-document heading fails.

In this master doc we are gonna reference a sub-doc, and make calls to its inner headings.

Table of Contents

CROSS-REFERENCING IN SUB-DOCUMENTS HEADINGS	1

SUB-DOCUMENT HEADING 2 CHAPTER	1

THIS IS HEADING 3 CHAPTER	1

WHITHOUT A CROSS-REFERENCE (HEADING 4 CHAPTER)	1

AGAIN IN THE MASTER-DOC	1

We generate a TOC (aka index) that references correctly all the HEADING (master and subdocument).

Now we call to the sub.doc heading 2 (the tittle with the text “SUB-DOCUMENT HEADING 2 CHAPTER”) with a cross-reference like SUB-DOCUMENT HEADING 2 CHAPTER, that we can see correctly in the moment of generating it, but fails on clicking in “Tools/Update/Update All”, or in the next master-doc openning, showing the missage “Error: Reference source not found”...

Now, with all HEADINGS in the sub-documents cross-referenced from itself, cross-references from master document are persistent, and “survive” an “Update All” command (and closing and opening the master doc).

¿Would be possible to make a hide track of heading cross-references in every local doc? It doesn't look dificult, especially when the working is done...

--- HERE BEGINS THE SUB-DOCUMENT (but this line still stays in the master-document)---

--- HERE ENDS THE SUB-DOCUMENT (and this line is already in the master-document)---

AGAIN IN THE MASTER-DOC

Here we are again:

2012-01-19T11:00:14.17