
I have been doing PG donations using the RST format for many years and have encountered and fixed the "Title level inconsistent:" problem MANY times but my latest file is giving me this for no obvious reason. I'm hoping that one of you can see what I'm missing. My RST files all use this underline format for the headings: ============= for the title ----------------------- for h1 `````````````````````` for h2 This is consistent with what the PG footer uses and has NEVER caused problems in the past. An example of where I've used it successfully is here: https://dev.gutenberg.org/files/64046/ The situation where I generally get the error is if I try to add a fourth level. I've learned not to do that. The attached file uses exactly the same convention and fails. Works just fine with no PG footer directive, fails with *Title level inconsistent *once you add that directive. The TOC shows the levels I would expect to get. I have tried removing the ``````` level underlining and that changes the error reported (different character reported as not in list, ` instead of =) ValueError: '=' is not in list but it still fails. Removing the ---- as well doesn't fail but of course you have no headings https://ebookmaker.pglaf.org/cache/20201229095936/ is my latest attempt to run this. The RST file is attached. Thanks. James Simmons