Skip to content

Enable publisher page breaks for exercisegroup#2890

Closed
sean-fitzpatrick wants to merge 1 commit into
PreTeXtBook:masterfrom
sean-fitzpatrick:exercisegroup-pagebreak
Closed

Enable publisher page breaks for exercisegroup#2890
sean-fitzpatrick wants to merge 1 commit into
PreTeXtBook:masterfrom
sean-fitzpatrick:exercisegroup-pagebreak

Conversation

@sean-fitzpatrick

Copy link
Copy Markdown
Contributor

Adds one line to the template for exercisegroup so that if the xml:id of an exercise group is listed in the publisher file in latex/insersions/@pagebreak, a page break is added before the title and introduction of an exercise group.

This is to avoid the situation where the title and introduction of an exercise group are at the bottom of one page, with all the exercises on the next page.

rbeezer added a commit that referenced this pull request Jun 6, 2026
@rbeezer

rbeezer commented Jun 6, 2026

Copy link
Copy Markdown
Collaborator

Thanks, @sean-fitzpatrick! Merged, after I removed a trailing space character.

Needs to be in the Guide to keep documentation current, I had my assistant do that. You will see the extra commit.

Thanks for working though this one on the pretext-dev list.

@rbeezer rbeezer closed this Jun 6, 2026
@sean-fitzpatrick

Copy link
Copy Markdown
Contributor Author

Thanks Rob. I didn't think of adding to the guide, mostly because I was already expecting this to work ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants