Image adjustments 2026#431
Conversation
|
@APEXCalculus here is the current PDF build. This is what we get direct from PreTeXt, with no further adjustments. When you have time, please have a look, and please be as picky as you like about placement of figures, page breaks, etc. I'd like to get the PDF to a point this summer where you're willing to do an APEX 5.0! |
|
Yes, I'll try to work on this, beginning soon. I have at least chapter 1 done so far; need to remind myself of how to edit/compile PreTeXt on my Windows machine. |
|
Ok, great. Since I already have this pull request open, I'm also open to what I think is an easier workflow for you: Just go through the PDF I've built, and make a list of images that aren't quite in the right place, page breaks that seem off to you, etc. Post those here, and I'll make the adjustments. (You could just say things like "shift figure 3.4.5 so that the caption lines up with the text on line...") I've done a few little tweaks already. One bit I was unsure of: there are a few places where a theorem or definition breaks over a page, with about 80% at the bottom of page N, and the remaining 20% at the top of page N+1. I can add a page break before the theorem/definition, but that leaves a lot of empty space behind. |
|
There is one pagebreak issue that I wasn't able to fix within PreTeXt (we could still manually edit the LaTeX after the fact). If the solution to an example begins with a numbered list, and it's at the bottom of the page, we can end up with the situation where the last line on a page is: Solution: And then the list begins on the next page. PreTeXt now has a way to list pagebreaks in the publisher file, but it seems like it doesn't work for example/solution. There are about half a dozen cases of this in the entire book, which is not too bad, but if it bothers you we can manually adjust. (Two of the six instances are in the L'Hospital's rule section.) |
|
The last commit contains some changes to make sure everything works if you manually add page breaks in the few cases where the last thing on the page is "Solution." Fortunately there are only 5 such cases. In the publication files I've listed the xml:ids of the examples where the pagebreaks should be added, to make it easier to find the spots in the .tex file. At this point I am going to stop working on PDF. But if you send me a list of figures you want adjusted, or pagebreaks that are needed, or places where the page needs to be enlarged, etc., I'll incorporate those changes. |
|
Sounds good. I'll start working on this soon, I hope. |
|
Turns out I wasn't quite done. It occurred to me that there was a simple fix to get page breaks for the example solutions where the "Solution" title was orphaned at the bottom of a page: just put an empty paragraph at the end of the |
|
This means you shouldn't need to touch the Make sure your pretext is up to date, and then you need to run:
You might be able to build the PDF in one command with |
|
Ah! Looks like you can go straight to PDF. First time through it'll need to build webwork and asymptote, so run |
This ended up being a much bigger pull request than planned.
Main goal: get the margin figures lined up properly, and deal with some page fitting.
Other things that happened:
align*so I made that changeNo changes to content, except for a few typo fixes.