Quote:
Originally Posted by davidfor
Ugly, but it would work. And the attached screenshot is a quick edit of the database to prefix the ToC entries with two em-dashes for each level. I tried spaces, but they don't show up. Non-breaking spaces probably will, but I can't be bothered to work out how to enter them.
|
I don't think nbsps will work, as QString::simplified removes all chars which return true for QChar::isSpace, which includes
https://www.compart.com/en/unicode/category/Zs. I could write a patch to prevent this though (it's in N3TableOfContentsWidget::setContent(Shortcover const&)), and I might add the ability to use spaces for TOC depth feature to seriesmeta. Also, if this method is used, the chapter titles should probably be normalized too (simplified also removes repeated whitespaces within the string).