ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Henning Hraban Ramm <texml@fiee.net>
Subject: Re: marginals from footnotes
Date: Wed, 20 Oct 2021 10:42:41 +0200	[thread overview]
Message-ID: <D0D7864A-ADF3-4669-945D-B51B19009750@fiee.net> (raw)
In-Reply-To: <b30b48b7-69bc-7cd0-d2de-859ffad792cb@xs4all.nl>


> Am 20.10.2021 um 10:29 schrieb Hans Hagen <j.hagen@xs4all.nl>:
> 
> On 10/19/2021 7:16 PM, Henning Hraban Ramm via ntg-context wrote:
>> Hi, this is an edge case, but I tried to replicate a feature from DANTE’s LaTeX DTK style where links in the text (and also in footnotes) get a QR code in the margin.
>> It works for me (using zint) in the running text, but not in footnotes. Actually, marginals in footnotes are never displayed. Maybe I shouldn’t expect it to work, but I’d like to have this... Is it possible?
> 
> you should know by now that in tex 'all is possible' somehow

Yes, but I didn’t want to assume too much, and since inserts are tricky...

> 
>> \starttext
>> \samplefile{tufte}\inmargin{margin note}
>> bla\footnote{footnote\inmargin{margin note from footnote}} bla
>> \stoptext
> \starttext
>    \samplefile{tufte}\inmargin{margin note}
>    bla\footnote{footnote\inmargin[scope=local]{margin note from footnote}} bla
> \stoptext
> 
> (note content is not part of the page flow)

Thank you, that works great so far!

Hraban
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

      reply	other threads:[~2021-10-20  8:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-19 17:16 Henning Hraban Ramm via ntg-context
2021-10-20  8:29 ` Hans Hagen via ntg-context
2021-10-20  8:42   ` Henning Hraban Ramm via ntg-context [this message]

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=D0D7864A-ADF3-4669-945D-B51B19009750@fiee.net \
    --to=ntg-context@ntg.nl \
    --cc=texml@fiee.net \
    /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).