Table of contents removes footnote numbers in its cross references, but not PDF bookmarks and inserting cross reference UI.
Example (heading with footnote numbers):
1. Correct heading with superscript footnote number:
2. Correct cross reference in TOC:
3. Bad cross reference in PDF bookmarks and Insert->Cross reference preview:
See attached screenshots.
Created attachment 89264 [details]
Insert -> Cross reference UI
Created attachment 89265 [details]
LibreOffice bookmark export in a PDF Viewer
Created attachment 89266 [details]
Created attachment 89267 [details]
Created attachment 89268 [details]
PDF export fix
Created attachment 89512 [details]
Test document 2
The solution has been extended for Fields » Document » Chapter cross-references, too (eg. cross-references in headers), see this test document.
Laszlo Nemeth committed a patch related to this issue.
It has been pushed to "master":
fdo#71645 remove footnote numbers in cross-references
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.
Hi László, is it possible that there was/is a regression with regard to "footnote numbers in cross-references"? I encounter the same problem on Ubuntu with Version: 188.8.131.52, which was fixed by your commit in comment 7.
I cross-checked with LO 5.0rc3 on Windows and it seems to be okay there.
Was there a regression in the 4.4.2 line that had been fixed in later 4.4.x versions?