thegetty / rococo

"Rococo Ébénisterie in the J. Paul Getty Museum," by Gillian Wilson and Philippe Halbert
https://www.getty.edu/publications/rococo/
0 stars 0 forks source link

Fix italics formatting in running feet of PDF #57

Closed geealbers closed 3 years ago

geealbers commented 4 years ago

The running feet in the PDF don't hold italics formatting. As it turns out, this is impossible with PrinceXML's content: string(); function, which is what we've been using. I got formatting working in 106a662 by using flow: static() and content: flow(); (see https://www.princexml.com/doc/paged/#taking-elements-from-the-document) but it was causing an additional blank page to be inserted before each chapter in the PDF. I couldn't find a fix at the time, so I reverted it.