Open Source Publishing, Brussels

Design with Free and Open Source Software

 

 

 

 

 

 

Why publish printed documents with HTML?

  • the tools are Open Source and/or Free Software
  • there is a huge ecosystem (esp. in comparison to other FLOSS publishing tools)
  • plain text file formats enable collaboration (git, etherpad)
  • convergence between print and screen

The good

  • Ctrl+p

The bad

  • Specs are limited
  • Support even more so

CSS 2.1

  • Blink has best support
  • Webkit and Gecko don’t seem to support @page margins, :left :right pseudo classes

http://www.w3.org/TR/CSS2/page.html

 

@page :left {
  margin-left: 4cm;
  margin-right: 3cm;
}

@page :right {
  margin-left: 3cm;
  margin-right: 4cm;
}

CSS3

  • Still in development, not supported by browsers
  • Page model feels limited—could it be more generic?
  • Generated content overengineered? Fear of JavaScript?

http://www.w3.org/TR/css3-page/
https://drafts.csswg.org/css-gcpm-3/

 

@page {
  margin: 4cm 3cm 2cm 3cm;

  @top-center {
    font-family: sans-serif;
    font-size: 2em;
    content: counter(page);
  }
}

HTML2PRINT

 

 

 

Thank you: All organisers and attendees of Web Engines Hackfest 2015, Igalia and Collabora for sponsoring the Hackfest, and the Creative Industries Fund NL for sponsoring Eric Schrijver’s travel expenses.