We will be migrating from Ask to Discourse on the first week of August, read the details here

Ask Your Question

Fields in master documents: referencing a header title from another document [closed]

asked 2016-07-29 11:39:38 +0200

Carlos Cámara gravatar image

updated 2020-08-12 16:56:55 +0200

Alex Kemp gravatar image

I am working with several files (eg: file1.odt file2.odt) which are combined in a master document and I would like to add a field to a chapter's title (header) that belongs to another file (eg: I would like to add a field in file1.odt pointing to chapter 3 in file2.odt). I know it is possible to add fields using Insert\Fields\More Fields (CTRL+F2 and then select the desired header from the "Cross Reference" tab (it may be labelled something else, as I am not using an English version), provided I have used headers (which I have done so). Unfortunately the header list only displays the headers within the same document, so I haven't found any way to link to a header belonging to another file.

Is there any way to fix that?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2020-08-12 16:57:05.303530

1 Answer

Sort by » oldest newest most voted

answered 2016-07-29 21:08:18 +0200

RGB-es gravatar image

updated 2016-07-29 21:10:20 +0200

You need to do it in the "old school way". This is the procedure:

1- Open file1.odt and select the paragraph used to mark the "chapter 3", either by painting it with the mouse or by triple clicking on it.

2- Insert → Field → More fields → Cross reference tab. On Type select Set reference, give the reference a Name and press Insert.

3- Let's say the reference name is "Cap3". Now open file2.odt and go to the point where you need the cross reference. Insert → Field → More fields → Cross reference tab, but this time on Type select Insert reference. The list will be empty, but just type "Cap3" on Name and then press Insert.

You'll see an error message on the document (Error: Reference source not found) but don't worry: on the master document everything will be OK.

edit flag offensive delete link more


Although it is a bit weird (As there is an error on the orignal document), it works like charm, thank you for your answer!

Carlos Cámara gravatar imageCarlos Cámara ( 2016-07-30 18:35:07 +0200 )edit

Question Tools

1 follower


Asked: 2016-07-29 11:39:38 +0200

Seen: 193 times

Last updated: Jul 29 '16