Using PrinceXML from the command line

You’d need to pull in the compiled stylesheet. Easiest way is probably: navigate to Custom Styles → PDF, copy the read-only content in the code area at the top, paste it into an empty CSS file on your dev machine and point Prince to that (Pressbooks normally compiles the SCSS during the export routine; that content on Custom Styles is what you’d get).

1 Like