Re: [NTG-context] footnotes and links

2016-03-02 Thread Pablo Rodriguez
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
___

Re: [NTG-context] footnotes and links

2016-03-02 Thread Hans Hagen

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
___

Re: [NTG-context] footnotes and links

2016-03-02 Thread Pablo Rodriguez
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
___

Re: [NTG-context] footnotes and links

2016-02-27 Thread Pablo Rodriguez
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
___

[NTG-context] footnotes and links

2016-02-27 Thread Hans Hagen

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
___