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

Improvements, mostly related to CSS and especially CSS print formatting #167

Merged
merged 8 commits into from
Jul 24, 2022

Conversation

ndw
Copy link
Contributor

@ndw ndw commented Jul 24, 2022

  1. Reworked CSS. The css-links parameter no longer exists (or the v:css-links variable). Added user-css-links and use-docbook-css. The way CSS links are generated has been changed. The underlying CSS, especially the print CSS, has been changed.
  2. Added an output-media parameter that has the value screen or print depending on the output media target.
  3. Added page-style and paper-size paramters for print rendering. These appear as class attribute values on the html element. The document status is also an class attribute value at this level.
  4. Added new class attribute values component, division, formalobject, and informalobject to make grouping chapters, appendixes etc, easier.
  5. Added CSS support for a draft watermark.
  6. Fixed a bug where sidebar was accidentally rendered in the DocBook namespace.
  7. Updated Prism.js and Highlight.js versions

@ndw ndw merged commit 4af8cdd into docbook:main Jul 24, 2022
@ndw ndw deleted the print branch July 24, 2022 16:27
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

Successfully merging this pull request may close these issues.

1 participant