pressbooks icon indicating copy to clipboard operation
pressbooks copied to clipboard

Buckram Bug: Paragraph indent setting not shared to prince PDFs

Open beckej13820 opened this issue 1 year ago • 0 comments

Prerequisites

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

  1. Download the Buckram theme to get a minimally styled books
  2. Add at least 2 paragraphs to the book
  3. From the pressbooks theme editor add a line to the elements scss file making the indent 2 em Screenshot 2023-11-05 at 6 55 52 PM
  4. From the Pressbooks diagnostics page, insert the pagedjs and inspect an element that should now indented 2em instead of 1 em.
  5. Notice that its still 1 em Screenshot 2023-11-05 at 6 53 02 PM

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

beckej13820 avatar Nov 06 '23 00:11 beckej13820