Milos, In my experience, the problem Peter described occurs in some files that began life years ago and have been edited by various people since then. I have never seen it in newly created files, except in some cases when old material is pasted in with retained formatting.
Jean On Mon, 16 Aug 2021 at 01:12 Milos Sramek <[email protected]> wrote: > Hi Peter, > > odtclean.py is a script used to remove (usually invisible) direct > formatting (i. e. its tags) from text, so that the text can be > translated by translation programs (e. g. OmegaT). > I do not think it can cause this problem, but I have to check to be sure. > But I do not understand how to reproduce the problem - please send a > more detailed description how to reproduce it. Thanks. > milos > > On 8/15/21 9:31 AM, Peter Schofield wrote: > > Hello Olivier > > > > I do not know what odtclean.py is and its purpose. I am definitely no > software expert. > > > > When the ToC should odd formatting, I did not know what was causing it. > Only noticed a few months ago when changing a Heading 3 in a chapter. The > new text did not format to the Heading 3 style. > > Solution was to change the Heading 3 into Text Body, make the change and > then reapply Heading 3. Updating the ToC was then without problems. > > > > Regards > > Peter Schofield > > [email protected] > > Technical Writer, LO Documentation Team > > > >> On 15 Aug 2021, at 04:21, Olivier Hallot < > [email protected]> wrote: > >> > >> Hello Peter > >> Yes I noticed that behaviour in the ToC and when I changed color of the > Heading style. > >> > >> I don't know why this happens, I though originally that it was a > mistake introduced by the reviewer/author. > >> > >> No error in a blank file. > >> > >> Olivier > >> Untested guess: can it be a consequence of odtclean.py ? > >> > >> > >> Em 14/08/2021 12:23, Peter Schofield escreveu: > >>> Here is a little problem that you should look out for. > >>> When changing text in Heading 1, 2 and 3, direct formatting is > directly applied to the new text. This shows when updating the index for > the ToC. > >>> The only way to get rid of the error is to highlight the heading and > go to Format > Clear Direct Formatting in the Menu bar. > >>> Update the index for the ToC and the formatting error has gone. > >>> Could this be a problem in the template or in LibreOffice and has > anyone got a solution? > >>> Regards > >>> Peter Schofield > >>> [email protected] > >>> Technical Writer, LO Documentation Team > >> -- > >> Olivier Hallot > >> LibreOffice Documentation Coordinator > >> > > -- To unsubscribe e-mail to: [email protected] Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette List archive: https://listarchives.libreoffice.org/global/documentation/ Privacy Policy: https://www.documentfoundation.org/privacy
