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 > psaut...@gmail.com > Technical Writer, LO Documentation Team > >> On 15 Aug 2021, at 04:21, Olivier Hallot <olivier.hal...@libreoffice.org> >> 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 >>> psaut...@gmail.com >>> Technical Writer, LO Documentation Team >> -- >> Olivier Hallot >> LibreOffice Documentation Coordinator >> Rio de Janeiro - Brasil - Local Time: UTC-03:00 >> LibreOffice – free and open source office suite: https://www.libreoffice.org >> Respects your privacy, and gives you back control over your data >> http://tdf.io/joinus >> >> -- >> To unsubscribe e-mail to: documentation+unsubscr...@global.libreoffice.org >> 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 > -- email & jabber: sramek.mi...@gmail.com -- To unsubscribe e-mail to: documentation+unsubscr...@global.libreoffice.org 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