Heading 3 problem in user guide 7.0 template

Here is a little problem problem see if someone can provide a solution.

Heading 3 style in the 7.0 template for user guides.

If you edit the text in a Heading 3 style and you then re-generate the ToC, the edited Heading 3 text becomes italic.
If you create a new Heading 3 to change the text, delete the old Heading 3 text and re-generate the ToC, the new Heading 3 is OK.

Is there a problem in LibreOffice generation of a ToC or is it a problem in the 7.0 template?

At the moment, I am a little lost as to how to fix this problem.
Suggestions are welcome.

Regards
Peter Schofield
psauthor@gmail.com

Hello Peter

I'm unable to reproduce with a new file based on JHW template
(LibreOffice_7.x_Template_JHW.ott) and LO
Version: 7.0.1.2
Build ID: 7cbcfc562f6eb6708b5ff7d7397325de9e764452
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: kf5
Locale: pt-BR (pt_BR.UTF-8); Interface: pt-BR
Calc: threaded

Is there a direct formatting or a spurious h3 style that may be
obfuscating the original Heading 3 Style?

Olivier

The current 7.0 template has h2 and h3 TOC entries very similar

(visually only a small indentation for h3).

I am confused. When I open the Styles dialog for the 7.0 from Jean, I find that the H3 style contains Bold Italic as one of its characteristics. So, it seems to me that the text should be Bold Italic every where the H3 style is used. What am I missing?

Dan

This occurs in some earlier version of files, including ones you have
updated for Draw using a template for LOv6. As a bonus. If I change the
colour of the H3 style (and possibly other styles), some words remain in
green as well as showing up as italic in the ToC. If I select those words
and remove manual formatting, both problems Go away. I conclude that it’s
something odd in the files themselves, not anything to do with 5he template
- somehow, sometime, someone applied a manual format to some words.

Jean

Dan, Peter is saying that the italics show up in the *ToC* after a heading
is edited. See also my other note on this thread. - Jean

Yes, it’s a manual (direct) formatting problem, explained in more detail in
another note.
Jean

Hello Dan and Olivier

Heading 3 in the 7.0 template is set to Bold Italic.
When the ToC is generated, Heading 3 entry appears in a ToC without being bold or italic, which normal.
If you edit any text in a Heading 3, then regenerate the ToC, the edited words in the Heading 3 entry appears as italic in the ToC. This is the problem.
This only applies to chapter ToC. In the book ToC, the entry for Heading 3 is dropped.

At the moment, if I have to edit a Heading 3 in the chapter text, then I create a new Heading 3 and delete the old Heading 3 that was going to be edited. It is a workaround so that italic text in the ToC does not appear.

Regards
Peter Schofield
psauthor@gmail.com