--
You received this message because you are subscribed to the Google Groups "PreTeXt development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pretext-dev...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/pretext-dev/27f7915e-34c4-4ae3-ad24-ebfec6bc681d%40gmail.com.
I am open to better solutions!
I'm basing this on my understanding of what I saw in the XSL, which is (shall we say) limited.
Publisher pagebreaks seem to be working fine if I use the xml:id of a theorem or definition (which I think is a numbered or block level thing?)
I agree that it would be great if the exercisegroup title and introduction did not get orphaned (or is that widowed?). I tried a few things yesterday, but all of them either didn't break the page when I wanted it to, or did break the page before every exercise group!
To view this discussion visit https://groups.google.com/d/msgid/pretext-dev/CA%2BR-jrd%2BBqZWOEWpHZQPmBNPALaq%3Dy6AaSpc4DVYXE7ZaNU4_g%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/pretext-dev/2c2097e7-50b4-42aa-906a-84954eaec1e6%40gmail.com.
I will try that and see if it works the same as what I put.
Getting page breaks right for exercise groups without publisher page breaks is a bit beyond my level of TeXpertise, so I am willing to settle for putting in the page breaks when they're needed.
To view this discussion visit https://groups.google.com/d/msgid/pretext-dev/CA%2BR-jreRD0q7A4JFdMPn9vibqTWCq-F8XWW8rZgOhLvr%2BpVpHA%40mail.gmail.com.
I can confirm that this works the same as my earlier attempt (and is surely more robust).
To view this discussion visit https://groups.google.com/d/msgid/pretext-dev/CA%2BR-jreRD0q7A4JFdMPn9vibqTWCq-F8XWW8rZgOhLvr%2BpVpHA%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/pretext-dev/e9212982-5c11-435b-ae4f-789d2e164e7b%40gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/pretext-dev/CA%2BR-jre2RjgDEumK7m-YF30kOpcA2ptTLCk7fx1POxeQw8Zy%3Dw%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/pretext-dev/CAH%2BNcPZCNL-5YQOs58OPxjZDjyO56YNFgegwMR4DaBgoWW0CZg%40mail.gmail.com.
PR opened.
No issues from this code change.
One bit of line breaking weirdness: a theorem that ended with a display equation, at the end of a page.
There's some vertical padding after display math. This cause the tcolorbox for the theorem to spill onto the next page, but it had no content! There was just a green blob at the top of the page.
But that could be user error, since I have custom tcolorbox settings for theorem and other blocks.
To view this discussion visit https://groups.google.com/d/msgid/pretext-dev/CA%2BR-jrdzp6gWpiGjJvzcggTT2n0i9OQwYynvxszG2o7ng0oXZA%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/pretext-dev/MTAwMDAzNy5iZWV6ZXI.1780772626%40pnsh.