APEXCalculus / APEXCalculusPTX

In-progress conversion of APEX Calculus to PreTeXt
6 stars 20 forks source link

Any outstanding errata, etc? #304

Open sean-fitzpatrick opened 5 months ago

sean-fitzpatrick commented 5 months ago

Question for @APEXCalculus:

Are there any errata or other items needing attention that are not listed in the issues here? If not, I think I am going to start working on building the PDFs for this year, and get that out of the way early. (This is something new I'm trying, rather than trying to finalize textbooks and course outlines simultaneously at the end of August.)

I am not going to do anything about adding end-of-chapter review exercises just yet. Perhaps that's something you'd like to try tackling?

Also, you might be interested to know that over the last few weeks I converted our old linear algebra textbook, which is based on your Matrix Algebra, from LaTeX to PreTeXt. Source is on GitHub and you can see the book in HTML here. and in PDF here.

sean-fitzpatrick commented 5 months ago

If I have time I will continue working on image descriptions for the last few chapters, but that doesn't impact the PDFs.

APEXCalculus commented 5 months ago

I don't have any errata anymore. I think I addressed everything last summer and nothing new cropped up.

To build the .pdfs - is this a lot of manual work in positioning the graphics correctly once the "raw" latex is generated? If so, I'm willing to help with that. I never quite got codespaces to work properly to generate the needed latex. I think I got close, but there were a few things I was doing wrong, if I remember correctly. If you put the latex in a repo, I can wiggle images up/down on a page.

On Wed, Jun 12, 2024 at 4:07 PM Sean Fitzpatrick @.***> wrote:

Question for @APEXCalculus https://github.com/APEXCalculus:

Are there any errata or other items needing attention that are not listed in the issues here? If not, I think I am going to start working on building the PDFs for this year, and get that out of the way early. (This is something new I'm trying, rather than trying to finalize textbooks and course outlines simultaneously at the end of August.)

I am not going to do anything about adding end-of-chapter review exercises just yet. Perhaps that's something you'd like to try tackling?

Also, you might be interested to know that over the last few weeks I converted our old linear algebra textbook, which is based on your Matrix Algebra, from LaTeX to PreTeXt. Source is on GitHub https://github.com/sean-fitzpatrick/Math1410Text and you can see the book in HTML here https://opentext.uleth.ca/Math1410/. and in PDF here https://opentext.uleth.ca/PDF/Math1410_ebook.pdf.

— Reply to this email directly, view it on GitHub https://github.com/APEXCalculus/APEXCalculusPTX/issues/304, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABT5OFYMVS2B6FTDRVE4QPTZHCS7RAVCNFSM6AAAAABJHBDODKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM2DSNJZGM3TQNI . You are receiving this because you were mentioned.Message ID: @.***>

sean-fitzpatrick commented 5 months ago

Yeah, the one trouble work PreTeXt that I haven't yet worked out is that we don't have a good way to store the positioning of margin items in the source code.

(I might try to come up with something...)

But I think I have a workflow that isn't too bad:

  1. Produce new .tex files
  2. Compare to last year's adjusted .tex files
  3. Copy over all the positional adjustments and other tweaks
  4. Build the PDF
  5. Scan through the PDF for anything that's been moved out of place by edits over the last year
  6. Adjust, rebuild, go to step 5.

The main reason it's time consuming is that I've created far too many variants of the PDF. (10, in fact!)

For APEX proper, we have one-sided colour PDF (ebook), two-sided colour PDF (in case someone can afford colour printing), and two-sided black and white PDF for print-on-demand, and each of those can be done with or without the QR codes that link to the videos.

Then I have both colour and print versions of the PDFs for both of our calculus streams...

sean-fitzpatrick commented 5 months ago

In any case, I think I'm at the point where I can do this as efficiently as possible (for an inherently inefficient task).

Where there's still work to be done, for someone who has time:

The latter would be a good job for a student, or team of students, if we had money to pay them.

I think I'd like to redo most of the "terms and concepts" questions using the interactive question types we inherited from Runestone.

But Vilma Mesa just got her NSF grant approved to do exactly that sort of thing, with APEX and a few other books.

sean-fitzpatrick commented 5 months ago

I've figured out a way to store the vertical placement in the PreTeXt source, and use the extra XSL stylesheet to apply those placements when the .tex file is written.

But it's quite possible this is a bad idea. I posted my solution on one of the PreTeXt forums, and probably Rob or @Alex-Jordan will talk me out of it.

I've tested against the first section in the book, and everything seems to work the way I want it to, with no surprises. (I'm sure there are some edge cases I've missed that will come out if I try this against the whole book.)

I think the main downside is that the templates I'm modifying change upstream every year, so there is some maintenance, but that's a problem I'm already dealing with, on top of having to edit the .tex files every year.

APEXCalculus commented 5 months ago

To me this sounds like good news. The process is inherently inefficient, yes. There may be a better way that we haven't discovered yet. But it is WAY more inefficient to have to re-enter vertical placement every time you run the .tex file vs. doing it once and having it saved in PreTeXt. Yes, some changes to the content will make these vertical placements obsolete, but one is still far better off with having some work than not having any at all.

On Thu, Jun 13, 2024 at 1:03 PM Sean Fitzpatrick @.***> wrote:

I've figured out a way to store the vertical placement in the PreTeXt source, and use the extra XSL stylesheet to apply those placements when the .tex file is written.

But it's quite possible this is a bad idea. I posted my solution on one of the PreTeXt forums, and probably Rob or @Alex-Jordan https://github.com/Alex-Jordan will talk me out of it.

I've tested against the first section in the book, and everything seems to work the way I want it to, with no surprises. (I'm sure there are some edge cases I've missed that will come out if I try this against the whole book.)

I think the main downside is that the templates I'm modifying change upstream every year, so there is some maintenance, but that's a problem I'm already dealing with, on top of having to edit the .tex files every year.

— Reply to this email directly, view it on GitHub https://github.com/APEXCalculus/APEXCalculusPTX/issues/304#issuecomment-2166298535, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABT5OF62WY6MJZXZC2UJEODZHHGHBAVCNFSM6AAAAABJHBDODKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRWGI4TQNJTGU . You are receiving this because you were mentioned.Message ID: @.***>

sean-fitzpatrick commented 5 months ago

Fun fact: in the version of the book with videos, there are 1,204 things that get moved to the margin!

APEXCalculus commented 5 months ago

Sheesh ... that's a lot!

On Fri, Jun 14, 2024 at 2:33 PM Sean Fitzpatrick @.***> wrote:

Fun fact: in the version of the book with videos, there are 1,204 things that get moved to the margin!

— Reply to this email directly, view it on GitHub https://github.com/APEXCalculus/APEXCalculusPTX/issues/304#issuecomment-2168559811, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABT5OF4VXS7O3QFGBVCRD5DZHMZQRAVCNFSM6AAAAABJHBDODKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRYGU2TSOBRGE . You are receiving this because you were mentioned.Message ID: @.***>