Well, I went back to read the fine calibre usermanual about this fine expression (see photo above).
The full comment is here:
"This expression is rather complex, because it tries to handle a number of common cases simulataneously (
simultaneously?). What it means is that calibre will assume chapters start at either <h1> or <h2> tags that have any of the words (chapter, book, section or part) in them
or that have the class=”chapter” attribute.
Comment
As OO accepts usually one line for "Title", to get undertandable TOCs, I usually skips "chapter" names, (for me "chapitre"). This is one thing.
Question
So I would ask, how to insert some
"class="chapter" attributes in my ODT file?
What's that? Is it dangerous?