Skip to content
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

Incorrect running header initialization in absence of odd header #43

Closed
Omikhleia opened this issue May 8, 2023 · 2 comments · Fixed by #54 or #50
Closed

Incorrect running header initialization in absence of odd header #43

Omikhleia opened this issue May 8, 2023 · 2 comments · Fixed by #54 or #50
Assignees
Labels
bug Something isn't working
Milestone

Comments

@Omikhleia
Copy link
Owner

Omikhleia commented May 8, 2023

Resilient.book 2.0:
If an essay never runs \odd-running-header -- I failed to notice it earlier because I usually have the book name here -- then on the first even page after a chapter title, we won't get the chapter title.
To investigate further, but this might be due to the header being fully bypassed (and thus not clearing the status set by \noheaderthispage)?

@Omikhleia Omikhleia added the bug Something isn't working label May 8, 2023
@Omikhleia
Copy link
Owner Author

Omikhleia commented Aug 4, 2023

Hmm it's worse than that, the logic is quite broken.
I knew very little when I initially wrote this package, deriving it from the core book class ;)

We need to use info nodes to be sure which title ended up on a page...

@Omikhleia
Copy link
Owner Author

Omikhleia commented Aug 17, 2023

And this is tricky, because info nodes add a box, which has to be inserted at the right place not to cause side-effects (blank lines, parindent issue) = just after the chapter/section text ideally...
... But without its styling, so we need a slightly different approach in our generic styling system here...
... and its a mess with text casing / inputfilters on the title content.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant