> Am 20.10.2021 um 10:29 schrieb Hans Hagen <j.ha...@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 ___________________________________________________________________________________