Skip to content
No results
  • One man and his blog
STM publishing: tools, technologies and change
  • One man and his blog
STM publishing: tools, technologies and change
  • Examples, LuaTeX

LuaTeX: visualizing interword glue calculations

Introduction In this example we will use the “post_linebreak_filter” to iterate over all the lines in a typeset paragraph and use the data provided by LuaTeX to insert pdf_literal nodes which draw a box to show the size of the…

  • Graham Douglas
  • December 4, 2011
  • Examples, LuaTeX

Producing printers crop marks with MetaPost and LuaTeX nodes

Introduction In this article I’ll show a technique for producing crop marks using the MetaPost library (MPlib) which is built into LuaTeX. There is a lot of ground to cover so I’ll try to focus on/summarise the most important/useful areas…

  • Graham Douglas
  • December 2, 2011
  • Examples, LuaTeX, PDF technical

Creating PDF pattern fills with LuaTeX nodes

Introduction This is a short example to introduce two very useful LuaTeX API functions which let you work with low-level PDF objects. Here we’ll use them to explore a PDF feature called pattern fills which (from the PDF specification) are…

  • Graham Douglas
  • December 1, 2011
  • 1 Comment
  • PDF technical

Evince PDF viewer: a Windows productivity tool

Adobe’s PDF reader (Adobe Reader) is certainly a very nice tool for viewing PDFs but it has one annoying “feature” (certainly on Windows): it puts some form of “lock” on the PDF file you are viewing. If you have the…

  • Graham Douglas
  • November 29, 2011
  • Examples, LuaTeX

Basic example of LuaTeX’s process_input_buffer callback

Introduction As mentioned in a previous post, LuaTeX provides a facility called callbacks in which you write a Lua function (your callback) and register it with LuaTeX through the callback.register() API function. callback.register() takes two parameters: A predefined callback name:…

  • Graham Douglas
  • November 28, 2011
  • 1 Comment
  • Examples, LuaTeX

Wow, it works! (or, nodes and output routines)

Introduction As I explore more of LuaTeX I’m constantly amazed by its versatility. Over the last few days I have been reading about \output routines which are, deservedly, deemed some of the more complex parts of TeX. Caveat to readers:…

  • Graham Douglas
  • November 27, 2011
Prev
1 … 10 11 12 13 14 15 16 … 22
Next
Copyright © 2026 - WordPress Theme by CreativeThemes

Powered by
►
Necessary cookies enable essential site features like secure log-ins and consent preference adjustments. They do not store personal data.
None
►
Functional cookies support features like content sharing on social media, collecting feedback, and enabling third-party tools.
None
►
Analytical cookies track visitor interactions, providing insights on metrics like visitor count, bounce rate, and traffic sources.
None
►
Advertisement cookies deliver personalized ads based on your previous visits and analyze the effectiveness of ad campaigns.
None
►
Unclassified cookies are cookies that we are in the process of classifying, together with the providers of individual cookies.
None
Powered by