ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* footnotes and links
@ 2016-02-27 13:40 Hans Hagen
  2016-02-27 22:28 ` Pablo Rodriguez
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2016-02-27 13:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

The beta has a bit adapted note interactivity (rather tricky as these 
inserts have their own weirdness)

% \setupnotes[interaction=no]
% \setupnotes[interaction=yes]
% \setupnotes[interaction=text]
% \setupnotes[interaction=number]
\setupnotes[interaction=all]

\setupinteraction[state=start,focus=width,option=name] % option probably 
not needed

\starttext
     \dorecurse{10}{note #1\footnote[reference:#1]{\input ward \input 
tufte\relax} }
     \par
     \goto{OEPS  3}[reference:3]
     \goto{OEPS 10}[reference:10]
\stoptext

I can't check much (as I don't know what to expect, but there is no real 
definition of qualitative behaviour there anyway) but this is what can 
be done. I have no clue to what extent complex interactions between 
footnote splitting and their content can interfere.

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.com | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: footnotes and links
  2016-02-27 13:40 footnotes and links Hans Hagen
@ 2016-02-27 22:28 ` Pablo Rodriguez
  2016-03-02 12:32   ` Pablo Rodriguez
  0 siblings, 1 reply; 5+ messages in thread
From: Pablo Rodriguez @ 2016-02-27 22:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 02/27/2016 02:40 PM, Hans Hagen wrote:
> Hi,
> 
> The beta has a bit adapted note interactivity (rather tricky as these 
> inserts have their own weirdness)

Many thanks for the implementation, Hans.

> I can't check much (as I don't know what to expect, but there is no real 
> definition of qualitative behaviour there anyway) but this is what can 
> be done. I have no clue to what extent complex interactions between 
> footnote splitting and their content can interfere.

I’m afraid that this modification of your sample shows an issue:

    \setupnotes[location=text]
    \setupinteraction[state=start,focus=standard]

    \starttext
    \chapter{Text}
        \dorecurse{10}{note #1%
            \footnote[reference:#1]{\input ward \input tufte\relax}\par}
        \par
        \goto{OEPS  3}[reference:3]
        \goto{OEPS 10}[reference:10]
    \chapter{Notes}
    \placefootnotes
    \stoptext

Links from the first page land in the next footnote than they should.
Links that come back to the first page seem to be fine.

Many thanks for your help,

Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: footnotes and links
  2016-02-27 22:28 ` Pablo Rodriguez
@ 2016-03-02 12:32   ` Pablo Rodriguez
  2016-03-02 12:54     ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Pablo Rodriguez @ 2016-03-02 12:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 02/27/2016 11:28 PM, Pablo Rodriguez wrote:
> On 02/27/2016 02:40 PM, Hans Hagen wrote:
> [...]
>> I can't check much (as I don't know what to expect, but there is no real 
>> definition of qualitative behaviour there anyway) but this is what can 
>> be done. I have no clue to what extent complex interactions between 
>> footnote splitting and their content can interfere.
> 
> I’m afraid that this modification of your sample shows an issue:
> 
>     \setupnotes[location=text]
>     \setupinteraction[state=start,focus=standard]
> 
>     \starttext
>     \chapter{Text}
>         \dorecurse{10}{note #1%
>             \footnote[reference:#1]{\input ward \input tufte\relax}\par}
>         \par
>         \goto{OEPS  3}[reference:3]
>         \goto{OEPS 10}[reference:10]
>     \chapter{Notes}
>     \placefootnotes
>     \stoptext
> 
> Links from the first page land in the next footnote than they should.
> Links that come back to the first page seem to be fine.

Many thanks for your fix, Hans.

After updating to latest beta (from yesterday), footnote links work fine
(not extensively checked yet).

My (ignorant guess) is that updating luatex from 0.89.0 to 0.89.2
contained the fix.

Also for the record, so that no good action leaves unpublished :-).

Many thanks again for this huge improvement,


Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: footnotes and links
  2016-03-02 12:32   ` Pablo Rodriguez
@ 2016-03-02 12:54     ` Hans Hagen
  2016-03-02 13:27       ` Pablo Rodriguez
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2016-03-02 12:54 UTC (permalink / raw)
  To: ntg-context

On 3/2/2016 1:32 PM, Pablo Rodriguez wrote:

 > My (ignorant guess) is that updating luatex from 0.89.0 to 0.89.2
> contained the fix.

no, it doesn't relate to the engine as context doesn't use the engine 
for links and so .. just macro magic mixed with lua code

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.com | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: footnotes and links
  2016-03-02 12:54     ` Hans Hagen
@ 2016-03-02 13:27       ` Pablo Rodriguez
  0 siblings, 0 replies; 5+ messages in thread
From: Pablo Rodriguez @ 2016-03-02 13:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 03/02/2016 01:54 PM, Hans Hagen wrote:
> On 3/2/2016 1:32 PM, Pablo Rodriguez wrote:
> 
>> My (ignorant) guess is that updating luatex from 0.89.0 to 0.89.2
>> contained the fix.
> 
> no, it doesn't relate to the engine as context doesn't use the engine 
> for links and so .. just macro magic mixed with lua code

Well, I was simply wrong.

Could we have some more magic for indices?

    \setupinteraction[state=start, focus=standard]
    \enabledirectives[references.border]
    \starttext
    This is \index{text}text.\footnote{This is a footnote.}
    \title{Index}
    \placeindex
    \stoptext

Many thanks for your help,

Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2016-03-02 13:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-27 13:40 footnotes and links Hans Hagen
2016-02-27 22:28 ` Pablo Rodriguez
2016-03-02 12:32   ` Pablo Rodriguez
2016-03-02 12:54     ` Hans Hagen
2016-03-02 13:27       ` Pablo Rodriguez

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