Hide the "Error: Reference not found" in writer

I’m working on several documents that are ultimately assembled using a Master Document. In each sub-document there is links to some other sub-documents pages and when I look though the master document, the cross-references correctly display the targeted pages.

However, when I edit each sub-document, the document cannot obviously find the targeted page (as the target is not in the same document) and instead of the page number, there is the following message: “Error: Reference not found”.

That is quite logical, but this is a problem to me, because it makes difficult to adjust the overall design of the sub-documents… This add 24 to 26 extra characters (this should be 3 characters maximum) per error, and hence all my text split and adjustments are broken because of theses error messages, then this push the paragraphs to another page, etc…

Further more, each of these sub-documents are also meant to be distributed all alone (not assembled in the master-document).

Is there a solution to hide (or modify) these error messages when editing the sub-document?

Here is the current technique I use to add cross-references between the sub-documents:

  1. I insert a “Bookmark” at the page I want to target from another sub-document.
  2. In another sub-document, I insert a “Cross-reference” using the “Bookmarks” type and I write down the same bookmark name as in the first sub-document in the “Name” filed.

I tried to solve the problem using “Conditional Text”, but unfortunately I was unable to insert the Cross-References / Bookmark into the THEN part of the condition.

Hi

I have no idea to hide the field conditionally but you can “contain” it by inserting it in a frame: untick Width & Height AutoSize. You can anchor the frame As character (and remove the border of course).

Regards

Hello Pierre-Yves Samyn. Thank you for this interesting suggestion! That is not was I was expecting, but I will give it a try. My fear is that it will need tons a work to change all the links over all the documents. But as it seems there is no other solution, let’s try it :wink: