/open-publication-design

Open Publication Design

Primary LanguageHTML

Open Publication Design (OPD)

Resources for multi-format publication design

Covering the use of:

  • Multi-format outputting from Fidus Writer
  • CSS Typesetting with Vivliostyle
  • Github and GitLab Pages design with Docsify
  • Computational Publication design with Quarto
  • Git based publishing workflows

See the Wiki for documentationn and instructions: https://github.com/a-machine/opd/wiki

Examples

Ways to change Page Styles

Page style change by using page number counter: Use :nth()

W3C guidance: Selecting Pages - https://www.w3.org/TR/css-gcpm-3/#the-first-page-pseudo-element

This allows you to make a style for page number or range - here it's page 6, a blue background has been added.

See example Vivliostyle render page 6 here and CSS code here.

Sample CSS:

@page:nth(6) {

background: blue;

}