brechtm / rinohtype

The Python document processor
http://www.mos6581.org/rinohtype
GNU Affero General Public License v3.0
500 stars 60 forks source link

Incorrect entry in footer #387

Open techauthoruk opened 1 year ago

techauthoruk commented 1 year ago

Is there an existing issue for this?

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
techauthoruk commented 1 year ago

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)