ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Placing margin notes on the left using Lua
Date: Fri, 8 May 2015 12:41:55 +0200	[thread overview]
Message-ID: <A429A359-C609-42A4-91CA-F8E936CD76C3@gmail.com> (raw)
In-Reply-To: <554C91A2.1050104@sub.uni-goettingen.de>


> Am 08.05.2015 um 12:36 schrieb Hannes Riebl <hriebl@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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2015-05-08 10:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-08  9:35 Hannes Riebl
2015-05-08 10:17 ` Wolfgang Schuster
2015-05-08 10:36   ` Hannes Riebl
2015-05-08 10:41     ` Wolfgang Schuster [this message]
2015-05-08 11:14       ` Hannes Riebl
2015-05-20 15:14         ` Hannes Riebl
2015-05-20 15:21           ` luigi scarso
2015-05-20 16:44             ` Hannes Riebl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=A429A359-C609-42A4-91CA-F8E936CD76C3@gmail.com \
    --to=schuster.wolfgang@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).