Building paragraphs with the help of Lua

Hans Hagen
Play (35min) Download: MP4 | MP3

In the Oriental TeX project we use a combined approach to get nicely typeset paragraphs. We use a font with so many features that it drives font programs crazy but it works out well. We combine that with a special paragraph optimizer that improves the quality using different feature sets. This is a typical example of a local optimization that only kicks in on demand.

In this talk I will show how input is converted into nice looking output and how the already acceptable output can be further improved. I will also show how we visualize the process.

A byproduct of this effort is the TeX pararagraph builder rewritten in Lua. I will discuss a few issues that showed up when converting the original code into Lua and some of the outcomes that will be fed back into the LuaTeX code base.

You may also like:

  1. Making TeX support Unicode: The Quest of the Holy Grail
  2. The MetaPost Library
  3. Putting the cork back on the bottle: Improving Unicode support in TeX extensions
  4. Just in Time: Things we can only do with LuaTeX
  5. Improving margin paragraphs and float control

  • Share
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...