In SUNY, we use Lumen Learning’s Candela/Pressbooks system as a centralized, hosted space.
There are many positives of having a hosted environment with quality courses. One of the main drawbacks of using Lumen’s System is that they do not prioritize print versions. We only have access to mPDF, not Prince for PDF exports.
I was curious if there was a command I could use from the command line of my own dev Pressbooks server where I can use my own theme/stylesheet with the XHTML from their server.
Use book cloning to move a book from Candela -> my dev server.
Use PDF export in the Pressbooks GUI.
Use find and replace to go through and change all of the automatically generated URLs that point to my dev server to point back to the production Candela server using Adobe Acrobat Pro.
What I am hoping is possible:
Export the XHTML from Candela (Lumen’s Pressbooks)
Upload that file to my dev server
From the command line, tell my server to do the same process that Pressbooks does through the export GUI, but using the XHTML from the other server.
Enjoy a print ready PDF without manually looking up all the URLs.
Is that possible?