Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8] picador CSS frontmatter folios not working #71

Open
mattretzer opened this issue Nov 6, 2017 · 1 comment
Open

[8] picador CSS frontmatter folios not working #71

mattretzer opened this issue Nov 6, 2017 · 1 comment

Comments

@mattretzer
Copy link
Contributor

mattretzer commented Nov 6, 2017

This is the file that gave me trouble, but in looking at older runs, it looks like it;'s just not working.:
https://www.dropbox.com/s/5w9zfp3yxiit1ts/9781250170583_MNU.docx?dl=0

When this rule is present:

section[data-type="preface"] {
  page: front; }

None of the frontmatter gets a folio in this .docx. To revert / nullify this rule I mocked up a one-off css:

section[data-type="preface"] {
  page: chapter;
  page-break-before: right;
  prince-page-group: start; }

Which rolls us back to the tor.css as a workaround, but doesn't apply lower-roman page number style; it's just numbering the frontmatter with decimal-type nums and restarting at main content.

@MacmillanWorkflows MacmillanWorkflows changed the title picador CSS frontmatter folios not working [8] picador CSS frontmatter folios not working Nov 7, 2017
@mattretzer
Copy link
Contributor Author

Turns out the issue is with '@page front:left' & '@page front:right' definitions in the core_tor.css.. the picador css tries to override '@page front' definitions but needs to be more specific (address left & right) to override the 'content:normal' rules from above. I fixed this issue with a oneoff again but maybe we should patch this one permanently sooner rather than later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant