pressbooks
pressbooks copied to clipboard
Buckram Bug: Paragraph indent setting not shared to prince PDFs
Prerequisites
- [x] Can you reproduce the behavior you wish to address with all other plugins deactivated?
- [x] Are you running the latest version of Pressbooks and the latest version of WordPress?
- [ ] Are you experiencing this issue with one of our built-in root or book themes?
- [x] Did you perform a cursory search to see if your bug or enhancement is already listed?
Description
I am working to create a custom book theme. I have found that no matter what I set the buckram variable $para-indent the Prince export will always have 1em indents.
Steps to Reproduce
- Download the Buckram theme to get a minimally styled books
- Add at least 2 paragraphs to the book
- From the pressbooks theme editor add a line to the elements scss file making the indent 2 em
- From the Pressbooks diagnostics page, insert the pagedjs and inspect an element that should now indented 2em instead of 1 em.
- Notice that its still 1 em
Expected behavior: I expect the indent should apply to web, prince, and epub
Actual behavior: Indent seems to only apply to webbook.
System Information
System Information
Book Info
Book ID: 95 Book URL: https://restoryingeducation.pressbooks.sunycreate.cloud/ Book Privacy: Public
Browser
Platform: OS X Browser Name: Chrome Browser Version: 119.0.0.0 User Agent String: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
WordPress Configuration
Network URL: https://pressbooks.sunycreate.cloud/ Network Type: Subdomain Version: 6.3.2 Language: en_US WP_ENV: Not set WP_DEBUG: Enabled Memory Limit: 64M
Pressbooks Configuration
Version: 6.15.1 Book Theme: SUNY Press Book Theme Version: 1.0 Root Theme: Aldine Root Theme Version: 1.19.1
Pressbooks Dependencies
Epubcheck: Installed xmllint: Installed PrinceXML: Installed Saxon-HE: Installed
Must-Use Plugins
hm-autoloader.php: n/a
Network Active Plugins
Editoria11y Accessibility Checker: 1.0.12 Git Updater: 12.3.1 Koko Analytics: 1.3.2 Limit Login Attempts Reloaded: 2.25.26 Multisite Plugin Manager: 3.1.6 Pressbooks: 6.15.1 Pressbooks Network Catalog: 1.3.3 Pressbooks Stats: 1.9.0 Unconfirmed: 1.3.6 User Switching: 1.7.0
Book Active Plugins
Editoria11y Accessibility Checker: 1.0.12 Git Updater: 12.3.1 Koko Analytics: 1.3.2 Limit Login Attempts Reloaded: 2.25.26 Multisite Plugin Manager: 3.1.6 Pressbooks: 6.15.1 Pressbooks Network Catalog: 1.3.3 Pressbooks Stats: 1.9.0 Unconfirmed: 1.3.6 User Switching: 1.7.0
Inactive Plugins
Candela Citation: 0.2.4 Excalibur: 0.7.0 H5P: 1.15.6 Hypothesis: 0.6.0 Parsedown Party: 1.2.1 Pressbooks Shortcode Handler: 0.1 Pressbooks Shortcode Handler: 1.0.1 TablePress: 2.2 WordPress Importer: 0.8.1 WP QuickLaTeX: 3.8.6
Server Configuration
PHP Version: 8.1.18 MySQL Version: 5.7.30 Webserver Info: Apache
PHP Configuration
Memory Limit: 256M Upload Max Size: 150M Post Max Size: 150M Upload Max Filesize: 150M Time Limit: 60 Max Input Vars: 5000 URL-aware fopen: On (1) Display Errors: N/A
PHP Extensions
OPcache: Disabled XDebug: Disabled cURL: Supported cURL Version: 7.86.0 imagick: Installed xsl: Installed