Has anybody experienced the following “accident”?
I add a new chapter in an existing document as a Heading 2 heading followed by Text Body paragraphs. The heading is formatted by its paragraph style without any additional character style nor direct formatting.
When the TOC is updated, one of the middle words (not the first nor the last one, always the same) in the TOC record shows up in italics! The TOC is protected against manual changes (as usual). I disabled the protection to apply Ctrl
+M
which reverted the word to its Contents 2 formatting. But whenever I update the TOC, italics is back.
I went to this unique Heading 2 (all others behave as expected) to make sure no extra formatting was there. I applied Default Character Style and Ctrl
+M
to make sure. But this didn’t fix the TOC issue.
As a last resort, I styled my heading Text Body then Heading 2 back. This time, the TOC is correct.
Has anybody an explanation for this?
In case there is a trick to forward a character style to the TOC, I am interested in it.
LO version: 7.0.4.2
Fedora Linux 33 with KDE Plasma desktop