[NTG-context] Placing margin notes on the left using Lua

Wolfgang Schuster schuster.wolfgang at gmail.com
Fri May 8 12:41:55 CEST 2015


> Am 08.05.2015 um 12:36 schrieb Hannes Riebl <hriebl at sub.uni-goettingen.de>:
> 
> On 05/08/2015 12:17 PM, Wolfgang Schuster wrote:
> 
>> Why don’t you use ConTeXt’s \margindata command to place your margin texts?
> 
> 
> Dear Wolfgang,
> 
> thank you for writing back! I cannot use \margindata because it creates overlapping notes. Instead, I use Lua to concatenate the notes in one line and print them side by side. Moreover, some notes are only relevant if they refer to a piece of text that spans multiple lines. Using Lua, I can drop the irrelevant notes. However, I would be very happy with a solution that uses \margindata!

You can use the “stack=yes” setting for \margindata to avoid overlapping texts.

Wolfgang


More information about the ntg-context mailing list