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
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 -----------------------------------------------------------------
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
participants (2)
-
Hans Hagen
-
Henning Hraban Ramm