Open Source Publishing – Graphic Design Caravan

Lions and tulips

Tools · February 18th, 2009 · and

Designing with TeX: episode II

Users only need to learn a few easy-to-understand commands that specify the logical structure of a document“. If only we had sooner understood that user here is writer, not designer, we might have given up earlier. The Not So Short Introduction to LaTeX2 goes on to explain: “They almost never need to tinker with the actual layout of the document1.

‘Funny’ lions (TeX and LaTeX) and digital tulips (ConTeXt)

It is harder than we imagined, to start from scratch. How on earth does one change a font? How to work across packages? Marking up a LaTex document does resemble working with CSS or HTML, but only slightly. Each command, each tag is particular to the magnificent world of LaTeX itself. Many times we meet the paternalist humor of TeX’s father, as it has infected the whole TeX community it seems. We learn to understand the tong-in-cheek concept of ‘badness’ (depending on the tension put on hyphenated paragraphs, compiling a .tex document produces ‘badness’ for each block on a scale from 0 to 10.000), and a long history of wonderful but often incoherent layers of development, that envelope the mysterious lasagna beauty of TeX’s typographic algorithms. One day we will try to draw you that on the map.

But however exciting to designers like us, LaTeX does resist anything that shifts it’s model of ‘book’, ‘article’ or ‘thesis’. Fit for academic publishing but too tight for the kind of publication we’d like Verbindingen/Jonctions 10 to be: multilingual, multi-format, multi-layered. Small changes can be made without much trouble, but major ones (try for example to combine a custom paper size AND change the display of headers simultaneously) explode the document beyond repair.

At the point we are ready to give up, we remember Pierre Marchand’s comment to our earlier post. Following his advice, we finally decide to try out ConTeXt, another ‘macro package’ that uses the TeX engine. “While LaTeX insulates the writer from typographical details, ConTeXt takes a complementary approach by providing structured interfaces for handling typography, including extensive support for colors, backgrounds, hyperlinks, presentations, figure-text integration, and conditional compilation2. This could be what we were looking for.

ConTeXt was developed in the 1990’s by a Dutch company specialised in ‘Advanced Document Engineering’. They needed to produce complex educational materials and workplace manuals and came up with this interface to TeX. “The development was purely driven by demand and configurability, and this meant that we could optimize most workflows that involved text editing.”3

However frustrating it is to re-learn yet another type of markup (even if all two are based on the same TeX language, none of the LaTeX commands works in ConTeXt and vice versa), many of the things that in LaTeX we could only achieve by means of ‘hack’, now are built in and readily available. There are plenty of questions, bugs and dark areas still but we breath again.

We’re in the middle now of typesetting the book we’ve been working on for so long, so it is a bit early to know whether we will succeed in the end.

To be continued!

  1. The Not So Short Introduction to LATEX2 in 141 minutes; by Tobias Oetiker; Hubert Partl, Irene Hyna and Elisabeth Schlegl; Version 4.26, September 25, 2008 []
  2. http://wiki.contextgarden.net/What_is_ConTeXt []
  3. http://www.tug.org/interviews/interview-files/hans-hagen.html []

Tags: · , , , ,


  • 1. Menu Printing Dallas

    Feb 19, 2009 at 6:08 am

    The “native” deplate markup guides page templates, embedded with LaTeX code, footnotes, citations, bibliographies, semi-automatic index generation, table of contents etc. It is suitable for writing books, articles, plays (for screen or stage), or for creating small websites. By means of LaTeX or DocBook, it is possible to create PDF or RTF documents. From a users perspectives, viki or deplate is an intermediary format that can replace LaTeX. deplate’s LaTeX output is intended to be readable and well formatted. Because of the tight integration with LaTeX, you still get most of its features but with fewer quirks and support for more output formats. At least, that’s the main idea.

  • 2. LaTeX? WTF! : fork/memo

    May 27, 2010 at 6:43 pm

    […] to a use in a more general (design) field. After playing around some time, climbing up a steep learning curve, the book was finished and I ended up with some basic knowledge of […]