-
-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Section titles in running header are conditioned by folios (book class) #1291
Comments
I guess I didn't get it despite looking too simple, like, why isn't it just a matter of removing the |
Because a book class must be able do disable headers on some pages (typically chapter pages):
Which is legit in most conventions, But it also needs to be able to disable page folio on some pages too. |
Seen "in passing" while fixing #1276 : In the book class, for the "section" command, having the section title in the running header is currently (SILE 0.12) conditioned by not having folios disabled...
IMHO, there shouldn't be such a relation between two decisions that should be independent (having running headers != having page folios). Removing that above-mentioned check without taking any other action would however be a breaking changes: the book class currently disables folios on chapter pages - so currently this behavior is what ensures having neither folios nor section titles on chapter pages (e.g. in the SILE manual)...
FWIW, my own approach to it in my own class implementation is to have noheaders, noheaderthispage etc. in a way similar to the folios, so the decision can be made wholly independent (https://github.com/Omikhleia/omikhleia-sile-packages/blob/main/packages/omiheaders.lua) - one reason being that I do want to be able to get page numbers on chapter pages ;-)
The text was updated successfully, but these errors were encountered: