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

Ask Your Question
0

Misplaced cross-reference/table of contents links when exporting to PDF [closed]

asked 2020-12-02 17:06:15 +0200

JGL gravatar image

updated 2021-05-26 16:57:16 +0200

Alex Kemp gravatar image

Hello everyone,

I have a Writer document containing a table of contents and cross-references to headings. In Writer, those elements can be clicked as links to the page/heading they refer to.

When exporting to PDF, I would expect the above mentionned elements to behave the same. But, when opening the PDF using a viewer such as Adobe Acrobat Reader DC or Mac OS Preview, the clickable area of the link is severely misplaced relative to the word(s).

image description

The picture above shows a PDF export of a document containing "Please refer to Heading 1.2.1." where Heading 1.2.1 is a cross-reference link to the related heading. The words "Heading 1.2.1" themselves can't be clicked, as the clickable area is found elsewehere (i.e. at the very top of the page, as shown by the black rectangle and hand-shaped mouse cursor).

Something similar happens with the table of contents :

image description

Would that be a known issue, is there something I could be doing wrong? Using both 6.4.7.2 and 7.0.1.2 versions of LibreOffice on MacOS 10.15.7.

Thanks for your help !

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 2021-05-26 16:57:32.851984

Comments

Please edit your question to attach the sample file with the "paperclip" tool. Note that files can't be attached to comments and answers here are reserved for solutions.

ajlittoz gravatar imageajlittoz ( 2020-12-02 17:14:24 +0200 )edit

Under Fedora 33 (Linux), LO 7.0.3.1, Okular PDF viewer, works fine. All links are where they should.

ajlittoz gravatar imageajlittoz ( 2020-12-02 17:19:28 +0200 )edit

Can't either see any problem using macOS 11.0.1 (Big Sur), LO 7.0.3.1, macOS Preview / Linux Evince or Okular.

Opaque gravatar imageOpaque ( 2020-12-02 17:42:39 +0200 )edit

I used a Win 10 PC with LO 7.0.3.1 to export to PDF and it works as intended.

JGL gravatar imageJGL ( 2020-12-02 18:15:46 +0200 )edit

It seems to be related to the settings, as restarting the application in safe mode and reseting my user profile solved the issue. Now working as expected. Thanks for your time !

JGL gravatar imageJGL ( 2020-12-02 18:49:29 +0200 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2020-12-02 18:55:15 +0200

Opaque gravatar image

updated 2020-12-02 18:56:14 +0200

For the records (according to last comment of OP)_

Reset your LibreOffice user profile using the following procedure:

  • Start LibreOffice
  • Start in Safe Mode using Help -> Restart in Safe Mode and confirm the restart using button: Restart
  • Archive your profile expanding Advanced (click on the word Advanced right above Help button) and click Archive User Profile button
  • Select option Reset to factory settings
  • Activate [x] Reset entire user profile
  • Click button Apply Changes and Restart
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-12-02 17:06:15 +0200

Seen: 67 times

Last updated: Dec 02 '20