Re: [NTG-context] marginals from footnotes

2021-10-20 Thread Henning Hraban Ramm via ntg-context

> Am 20.10.2021 um 10:29 schrieb 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

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
___


Re: [NTG-context] marginals from footnotes

2021-10-20 Thread Hans Hagen via ntg-context

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
___


[NTG-context] marginals from footnotes

2021-10-19 Thread Henning Hraban Ramm via ntg-context
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
___