Hyperlink to bookmark lost when converted to pdf

hyperlink from file1.odt to bookmark located in file2.odt is lost when exporting to pdf.

Libre office 7.6.4.1 windows 8
destination.odt (16.0 KB)
source.odt (37.6 KB)

If you really hope to be helped, edit your question (= modify it, don’t add a comment so that all needed information is grouped together) to mention, OS name, LO version and save format (at least we know it is .odt). Explain what your hyperlinks are intended for. How did you export to PDF (=which menu command?)? Have you configured the Links options?

Best: attach a small sample file. Probably two if you link to another document.

In fact, Writter instead of pointing to te right location in the pdf points to the destination source file .odt.
This is completely wrong!

the remaining of files as a new user I could not upload all the files
templateCover.odt (8.8 KB)
testLinks.odm (13.0 KB)

Your hyperlinks behave as expected. Only your specification is faulty.

I assume you want your links to jump inside the resulting PDF document, not to reference any outside one. This means you must not specify a filename in the hyperlink definition, otherwise the link will point to the designated .odt file, not the generated .pdf.

In the hyperlink dialog, erase the Document Path: field to keep only the Target:. Implicitly, this tells the target is inside the “final” document.

By “final” document, I mean either the master+subdocuments as a whole or the generated global PDF. Your links, being cross-document links, will no longer work if you control-click them in subdocuments (because the target file is now missing).

Apart from this, Your document is an horrible mess. You don’t use styles; everything is direct formatted. You space vertically with empty paragraphs and horizontally with tabs and spaces.

A master document can have text of its own. Since the cover is a one-of-a-kind part, appearing only at beginning of document, you’ll be better off designing your cover directly in the master rather than including it from an independent document.

Thank you very much for your solution which fixes the problem. However, the hyperlink dialog box should be redesigned because in a first place I have to specify in which file is located the target bookmark and thanks to your information I have to delete it after selecting the target. As a user I could never imagine that this is the way to fix it.
I believe the software should deal automatically with it.
Thanks again.
Joaquin.

The problem here is your workflow: you indirectly create an hyperlink in a to-be-generated document. The link must be effective in this non-existing single document (which has no name yet). During the “development”, target and starting point are disseminated over several files while, in the end, you have a single file left. Since the links should be functional in this unique final document, you must think within this single document context, not the “development” context, and specify the link properties accordingly.

Your workflow is a quite convoluted corner case. Several others could be used. Consequently, I don’t think something can be dove in the dialog because those not following the same workflow will object as their own workflow not being handled (and perhaps, this would make their fix much more difficult).