Summary: | EDITING, FILEOPEN: cross-referencing HEADINGS in a sub-document from master-document fails | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | gui <guigonse> |
Component: | Writer | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | NEW --- | QA Contact: | |
Severity: | major | ||
Priority: | medium | ||
Version: | 3.5.0 Beta3 | ||
Hardware: | x86-64 (AMD64) | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
MASTER and SUB-docs with failing cross-references
Repaired MASTER and SUB-document with functionall cross-references |
Created attachment 55769 [details]
Repaired MASTER and SUB-document with functionall cross-references
To cross-reference the sub-document HEADINGS from the master-document, first you should cross-reference them from the same sub-document
I think this is merely a clearer description of the workaround indicated in comment 1 (although I am not certain). Added for clarity, in any case: 1. In the sub-document, at the required location (or highlighting the required range), Insert > Cross-reference... > Cross-references tab > Type of "Set reference" / "Bookmarks" > enter a meaningful Name > click Insert. 2. In the master document, Insert > Cross-reference... > Cross-references tab > Type of "Insert reference" / "Bookmarks" > select the required mark > click Insert. It may be that the current problem highlighted by this bug is actually a limitation of ODF. The ODF v1.2 specification is not very clear about how inter-document citations (of headings, bookmarks, or reference mark) are to be treated. I forgot to mention that the provided examples still fail under: - Debian 7.3.0 x86_64 using v4.1.4.2 Build ID: 0a0440ccc0227ad9829de5f46be37cfb6edcf72 - Crunchbang 11 x86_64 using v4.2.0.4 Build ID: 05dceb5d363845f2cf968344d7adab8dcfb2ba71 OS set to All. The Writer Guide v4.0, Ch. 13, pp. 377-380, does however mention that this type of cross-reference between documents requires a reference mark to be set at the anchor point, so it may even be that this particular case is not a bug. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 55768 [details] MASTER and SUB-docs with failing cross-references but only if HEADINGS in the sub-document ARE NOT local cross-referenced from itself... Or, in other words, if you write a sub-document in wich you make cross-references to some of its headins, you will then cross-reference this headins from a master document in wich you have inserted the sub-doc; the rest of the headings will look OK when you insert the cross-reference, but doing a "Tools/Update/Update All" will convert all cross-references in a "Error: Reference source not found" message. Here you are a demo of a master and sub document with failing cross-references...