brechtm / rinohtype

The Python document processor

Home Page:http://www.mos6581.org/rinohtype

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Incorrect entry in footer

techauthoruk opened this issue · comments

Is there an existing issue for this?

  • I have searched the existing issues

PDF produced by rinohtype

This footer is inheriting the LAST sub-heading from the previous section:

image

This only occurs where the section doesn't have any sub-headings. So, in my use-case, section 17 has no sub-headings, so the footer inherits the last sub-section from section 16.

I don't know if this happens in Latex as well, as I can't test at the moment (Latex isn't configured)

Source files

image

Versions

rinohtype 0.5.5 (in development) [this from the current master branch]
Sphinx 6.0.0b3
Python 3.10.6 (main, Nov  2 2022, 18:53:38) [GCC 11.3.0]
Linux-5.15.74.2-microsoft-standard-WSL2-x86_64-with-glibc2.35

Again, I can work around this by making sure every section has at least one sub-heading, but would be good if this could be fixed (as again, I will probably forget x months down the line)