[NTG-context] interactive footnote links

Pablo Rodriguez oinos at gmx.es
Sat Jan 31 17:03:48 CET 2015


Hans,

I have a proposal for interactive footnote links.

First, the sample:

    \setupinteraction[state=start]
    \starttext
    a\footnote{b}
    \stoptext

In the PDF file, the two links are defined:

    << /Subtype /Link /Dest [13 0 R /Fit] /F 4
        /Rect [76.725 698.345 80.957 712.772] /Border [0 0 0]>>

    << /Subtype /Link /Dest [13 0 R /Fit] /F 4
        /Rect [61.654 115.692 65.886 127.715] /Border [0 0 0]>>

How about changing destination in both links for the following?

    /Dest [13 0 R /XYZ left top null]

BTW, there seems that /Rect dimensions are [left bottom right top]. This
would make:

    << /Subtype /Link /Dest [13 0 R /XYZ 61.654 127.715 null] /F 4
        /Rect [76.725 698.345 80.957 712.772] /Border [0 0 0]>>

    << /Subtype /Link /Dest [13 0 R /XYZ 76.725 712.772 null] /F 4
        /Rect [61.654 115.692 65.886 127.715] /Border [0 0 0]>>

If this feature were implemented, there would be no change in display
after clicking in a footnote link (or clicking back).

And that would make ConTeXt even more awesome than it is now :-).

Many thanks for your help and for your extraordinary work developing
ConTeXt,


Pablo
-- 
http://www.ousia.tk


More information about the ntg-context mailing list