Julie Blanc (EUR ArTeC / Université Paris 8 - EA349 / EnsadLab)
{ @media print }
A (bright) future without desktop publishing
</>
About Design, Paris College of Art, March 14th, 2023
Back to the eighties, do you know how books were made ? before the micro computer ?
It’s the time of the photocomposition, to layout and typesetting a book, there are many many steps
The text is composed by photocomposition compagnies, which have big machines, big calculator, to create the typesetting of the text with a mechanism of very fast photography.
The graphic designer must ask for strips of text to be composed, by giving the dimensions of the text, the font, the size of the characters. This requires a lot of projection for the graphic designer.
They think about what the text could look like and ask for the composition.
They couldn’t make mistakes because the composition is very expensive.
Once the text strips are received, they can be pasted into the layout. Everything was very handcrafted.
To layout a book there were dozens and dozens of people involved
The main reason I'm talking about this time, it’s to show you that desktop publishing has really changed things for graphic design and layout book.
So, at the beginning of the nineties, desktop publishing revolutionized the way to compose, layout and publish books
the graphic designer no longer needs to depend on a big photocomposition company.
he or she can compose the books on his computer and see the result live, it’s like big revolution.
it's at this time that we start to see independent graphic designers. Before, it took many people to make a book. Today, just you, with your computer.
I will not go on the story of Desktop Publishing. Just, the first software was called Aldus Page Maker, and there is also after QuarkXpress and some little software.
It's important to understand that it took a long time for graphic designers, publishers and other professionals to adopt Desktop publishing.
In fact, in the mid-nineties, ten years after Page Maker, we were just starting to use the desktop publishing
But above all, in nineteen ninety nine, the first version of Adobe InDesign appeared. Adobe bought Aldus four years earlier and completely transformed the software.
And today, when you want to design and publishing a book, there is just adobe indesign. POINT.
1991 (Tim Berners-Lee)
But along this story, there is an other one, and it's also about publishing. This is the story of World Wide web.
Today, when we think of the web, we think of commercial websites, closed applications and social networks
but we forgot that the web was mainly created for the publication of documents.
Back to nineteen hundred and ninety nine, Tim Berners-Lee, a British computer scientist at CERN, invent the web and publishes the first web site ever presenting the characteristics of the web and the hypertext
“The WorldWideWeb (W3) is a wide-area hypermedia information retrieval initiative aiming to give universal access to a large universe of documents”
Tim Berners-Lee
He write: The WorldWideWeb (W3) is a wide-area hypermedia information retrieval initiative aiming to give universal access to a large universe of documents.
“The [WWW] project is based on the philosophy that much academic information should be freely available to anyone”
Tim Berners-Lee
He trying to build a web of connected documents, especially scientific articles, which he wants to make available to scientists around the world for free.
By the way, two years later, the Web was placed in the public domain, signalling the project's desire for openness and universalism. The story of the web is a beautiful story
At that time, the world wide web is both an idea and a web browser .
You can see on this picture the first web browser, called world wide web and the first web site published by Tim Berners Lee.
In this website he explains the principles of his project,
To work everywhere and on all machines, which is quite revolutionary for the time because generally each machine has its own language
HTML
Hypertext Markup Language
1991
So, to work everywhere and on all machines, you need a simple, readable and accessible language
It’s HTML, the HyperText Markup Language
it’s what we call a markup language that allows to represent the structure of a web document with tags added between sentences or words to indicate the role of the text.
You have an exemple here on the left
In order to be displayed on any terminal whatever its graphic display capacity, HTML is a very simple language,
without any indication of formatting or possibility of control of its presentation, modification of fonts, colors or text size. It’s not possible with HTML.
Today, if I display it in a web browser, it shows me the default content, it's readable
But pretty soon after Tim Berners Lee's proposal, web authors, as well as users, will demand a way to have control over this rendering.
CSS
Cascading Style Sheets
1994
In nineteen ninety-four, Håkon Wium Lie, a Norwegian computer scientist, joined by Bert Bos, a Dutch computer scientist, formulated a proposal of Cascading stylesheet, it's CSS.
CSS provides a way to control the rendering of the HTML document with styling options applied to each element
So, it’s an exemple of CSS, you can see at the top, h2 that indicate all the style applied to html title element level 2
And here, this is the previous HTML page with some CSS styles applied to it
HTML / CSS
Separation of content and presentation
So, the main characteristic of the web is the separation of content, the semantic structure of a document and the presentation, the visual rendering.
this is really a revolution for graphic designers, who have been used to designing layouts for print media for debate
Responsive design with CSS media queries
@media screen and (min-width: 1080px){...}
The display should be designed for a variety of media so that anyone can access it.
CSS is a very interesting language. You can use it to design what your websites will look like on very different screen sizes, without changing the content. Today, we call it responsive design
And for this, there are syntaxes in CSS called media queries, which allow you to target which style will be applied to which screen.
But, if you read the very first proposal of CSS, there is also something very remarkable that appears.
Current browsers consider the computer screen to be the primary presentation target, but [CSS] has the potential of supporting many output media, e.g. paper , speech and braille.
Here: "Current browsers consider the computer screen to be the primary presentation target, but [CSS] has the potential of supporting many output media, **paper**, speech and braille." and that is what interests us today.
Responsive design = screen + print + ...
@media print{...}
Since the beginning of the web, there is a media queries that allows to target the paper outputs, or should I say, the paper displays of a web document. This is the @media print query
Creating PDF with the browser
SO, it means you can actually create PDF with the browser
On all web browsers, you have an option that allows you to print the web page. It’s here: File > print
A layout with pages is then generated, this is where your @media print styles are applied. And you can then, choose to print the document on your personal printer, but you can also choose to save this document in PDF format. This is where the book design begins actually
Open Source Publishing
Graphic design with free and open source softwares (F/LOSS)
And now, I want to talk about designers that change things: Open Source Publishing
These are a group of Belgian graphic designers who use exclusively free and open source softwares for all the work they do. And it's important because...
Program: La Balsamine, 2013–2014
Open Source Publishing
in two thousand and thirteen, they were the first graphic designers to use print features for the web and show that it was possible to use them to design print publications. And print publication that look good
So here, it's a booklet program for a theater in Brussels, called La balsamine
On the double page on the right, they explain the whole process of creating the booklet
Book: Wim Nijenhuis The Riddle of the Real city , 2017
Open Source Publishing
After the conception of this program, they also made much more ambitious projects, like this beautiful book
ypou can see images, margin notes, bichromie, it's very cool to be capable of doing this in web browsers
Graphic experiments
Louise Drulhe, Atlas critique d'internet , EnsAD, 2015
There have also been other interesting projects with css print, like this one. This is Louise Drulhe's graduation project. She made a very nice website that you can see online. But also, she programmed a print layout with web technologies where she takes the principles of responsive design for paper. Each time she printed a version of her site, she changed the size of the paper. With the CSS style sheets, the layout was adapted to the new paper size.
This is a very interesting experimental publication where you can see what you can do with HTML and CSS and that would not be possible with desktop publishing
Performative publications
Stéphanie Vérin (éd.), Festival Poisson-Évêque. Conversation, documentation, restitution , 2017
Design graphique: Luuse
An other one, made by Luuse. this is a booklet made for a festival in Belgium. During all the festival, they invited the participants to write on pad, it's an online collaborative text editor (like google doc but in free and open source). This is like a documentation of the festival. They took the content, transformed it into HTML and they could do the layout.
I don't know if they did the layout directly during the festival. But in any case, it is possible to get the contents as you go along and to add the style sheets to make a layout at the same time as the contents are written, because of the pad. Luuse do a lot of workshop with this idea
PrePostPrint
Gradually, there are more and more graphic designers who have started to work with alternative processes. And this is how, in two thousand and seventeen, SArah Garcin and Raphël Bastide founded PrePostPrint
So, PrePostPrint it’s like a label, a group of people with the same interest on experimental publications made with free software, often with HTML and CSS, but not only
Raphaël Bastide, Sarah Garcin, Open Source Publishing, Luuse, Quentin Juhel, Bonjour Monde, Julien Taquet, Eric Schrijver, Loraine Furter, etc.
We have organized a few events, such as an independent publishing fair, conferences, workshops.
It was especially the first two years. After that you know, there was the covid
It was all very informal, it was more a spirit, a way to meet. Anyone could come or call themselves Prepostprint
prepostprint.org
PrePostPrint highlights experimental publications made with free software.
Today, PrePostPrint is mostly a website where you can find a lot of resources about alternative publications. Actually, last October, there was a kind of PrepostPrint rewival in Rotterdam, from a publishing partyline organized by Varia.
it was a good time to get together again and we are still wondering what PrePostPrint can be
Code X, 01 — PrePostrint, éditions HYX, 2017
Also, during the independent publishing fair we had organized five years ago, there was this small publication printed with different resources on alternative publishing processes. It's published by X and you can find project presentations, texts and even a glossary.
It's also the first publication I made with HTML and CSS, it wasn't easy at the time
Flux → Pagination
Because, besides all this, there are also more technical issues about using HTML and CSS to printed publication.
What we do mainly is this, cut a content flux into different pages, but it’s not the simple. We don't just want a website that is cut into pages, we cannot yet call this result a book.
Missing features
Running headers, page number, facing pages, page float, etc.
In web browsers, some features are missing because Web is not mainly design for the print. For example, you need to control when and where your content needs a page break. You also need many specific elements used in printed layout: margins, running headers, page numbers, position elements in relation to the page, and so on
So how do we add all these elements ?
Main international standards organization for the World Wide Web (Lead by Tim Berners-Lee since 1994)
Let's go back to our little story of the web
We have seen that to create a web page, we essentially need two languages: HTML and CSS
These languages evolve all the time to allow more and more advanced formatting on the web
and the authority in charge of directing the evolution of the web language is the W3C, lead by Tim Berners Lee obviously
The W3C is a big consortium, with a lot of people, company , university involved. They constantly improve the HTML and CSS languages with new features, and all the process is open.
If you look a little bit, you can find discussion lists about this, working papers, there are many things that are published on the web, even if they are not finished.
So, the W3C decides on the functionality of HTML and CSS, how the languages are written. Then, it’s the browser constructors who decide how to implement these languages in their browsers
I often use these two images to explain this. The W3C is the architects of the web, they make the plans, how the languages are written and how they should work. But then, it's the web browser constructors who actually build how the languages will be used in their browsers and what features will be available
So, if you look at CSS, is designed like that by W3C, in small modules call specifications. Each module is dedicated to a specific functionality. The features are improved little by little by updating the modules after long discussions to know what is the best syntax
The colors you see on the screen indicate the status of the discussion process. Of each module.
The browsers implement the modules that are in the most advanced processes.
But in red, the working drafts are the ones that are the least advanced, where there is still a lot to discuss before the module is solid. So generally, browsers don't implement them
You see where I'm going with this. Here, there is module specifications called Paged Media et Generated content for paged media. And it ’s actually the CSS syntaxes we need for print. It’s red, it’s bad. browsers have not implemented these features.
In other words, the CSS you see on the screen is CSS that exists, that was written by the W3C to make printed layouts, but if you add it to your browser, nothing will happen.
A free and open source JavaScript library that paginates content in browser
to create PDF outputs of any HTML content
pagedjs.org
It's to answer these missing functionalities that we have developed Page.js, a javascript library to paginate content in the browser and to create PDF which will be printed books. And it"s based on W3C standards.
Core team
Adam Hyde
Fred Chasen
Julien Taquet
Julie Blanc
Coko Foundation
When I say "we", Here, is the core team of Paged.js. But it is a project that we want community-driven and we invite everyone to participate.
How does it work? Let's look at a web page with content
In your code you just add the script from PAged.js
And here is the result of your web page, you now see a paginated visualization of the content and all the CSS dedicated to the functionalities for printing have been applied. Paged.js is what is called a polyfill: it supports CSS features that are not yet implemented in browsers to make them possible to use
Before showing you lots of things that can be done with Paged.js, I'm going to let this little video run, which shows how I code books, so you can see what it looks like
Single source publishing
Use the possibilities of the web and the print at the same time
Amélie Dumont, CityFab2.docs , 2020
CSS flexbox
Position and distribute flexible elements in a flexible space
the instruction was to create a web publication and a print publication of the same content and to find the specificities for each of the media.
As you see, for the printed version, Romane made the pages
Romane Poupelin Workshop « Scripter Gutenberg : des publication de papier et d’écran », Esad Orleans, 21-27 janvier 2020
Workshop: L'idéal anarchique, November, 13th-18th, 2021
Use the camera to integrate background in images (Julien Bidoret)
Atla Press Book
It's not only alternative practice in the world of graphic design but Paged.js is also use in publishing house. I think it's very important because we can't have adoption only from the graphics designers side, we need a bigger community to make things better
C&F éditions
Nicolas Taffin, Typothérapie , C&F éditions, 2023.
If tyou read French, this one is a realy good book about typographiy and publishing
The web to print library (web.2print.org)
coordinated by Lucile Haute, with Quentin Juhel and Antoine Lefebvre
Thank you
julie-blanc.fr
julieblancfr
contact@julie-blanc.fr
Made width HTML & CSSslides.julie.blanc.fr