ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* marginals from footnotes
@ 2021-10-19 17:16 Henning Hraban Ramm via ntg-context
  2021-10-20  8:29 ` Hans Hagen via ntg-context
  0 siblings, 1 reply; 3+ messages in thread
From: Henning Hraban Ramm via ntg-context @ 2021-10-19 17:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Henning Hraban Ramm

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?


\starttext

\samplefile{tufte}\inmargin{margin note}
bla\footnote{footnote\inmargin{margin note from footnote}} bla

\stoptext



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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: marginals from footnotes
  2021-10-19 17:16 marginals from footnotes 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
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen via ntg-context @ 2021-10-20  8:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

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

> \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)

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: marginals from footnotes
  2021-10-20  8:29 ` Hans Hagen via ntg-context
@ 2021-10-20  8:42   ` Henning Hraban Ramm via ntg-context
  0 siblings, 0 replies; 3+ messages in thread
From: Henning Hraban Ramm via ntg-context @ 2021-10-20  8:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Henning Hraban Ramm


> 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-10-20  8:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-19 17:16 marginals from footnotes 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 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).