Re: [NTG-context] proposal about link borders

2014-03-23 Thread Hans Hagen

On 3/23/2014 5:28 PM, Aditya Mahajan wrote:

On Sun, 23 Mar 2014, Hans Hagen wrote:


Ok, as I dislike such viewer things, it will be like this:

\setupinteraction[state=start]

\enabledirectives[destinations.log]
\enabledirectives[references.border]
% \enabledirectives[references.border=darkgray]
% \enabledirectives[references.border=darkyellow]


Why not use references.frame? That is more consistent with ConTeXt
terminology.


because it's not a context frame but a pdf border -)

Hans



-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | 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] proposal about link borders

2014-03-23 Thread Aditya Mahajan

On Sun, 23 Mar 2014, Hans Hagen wrote:


Ok, as I dislike such viewer things, it will be like this:

\setupinteraction[state=start]

\enabledirectives[destinations.log]
\enabledirectives[references.border]
% \enabledirectives[references.border=darkgray]
% \enabledirectives[references.border=darkyellow]


Why not use references.frame? That is more consistent with ConTeXt 
terminology.


Aditya
___
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] proposal about link borders

2014-03-23 Thread Pablo Rodriguez
On 03/23/2014 04:31 PM, Hans Hagen wrote:
> On 3/22/2014 8:15 AM, Keith J. Schultz wrote:
>> Hi All,
>>
>> If we are going this then it would be nice to define the color of the link 
>> border.
>>
>> I will leave the details or a syntax up to the implementors.
> 
> Ok, as I dislike such viewer things, it will be like this:
> 
> \setupinteraction[state=start]
> 
> \enabledirectives[destinations.log]
> \enabledirectives[references.border]

Many thanks for the implementation, Hans.

I’m looking forward to downloading the next release.


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] proposal about link borders

2014-03-23 Thread Hans Hagen

On 3/22/2014 8:15 AM, Keith J. Schultz wrote:

Hi All,

If we are going this then it would be nice to define the color of the link 
border.

I will leave the details or a syntax up to the implementors.


Ok, as I dislike such viewer things, it will be like this:

\setupinteraction[state=start]

\enabledirectives[destinations.log]
\enabledirectives[references.border]
% \enabledirectives[references.border=darkgray]
% \enabledirectives[references.border=darkyellow]

\starttext

\placelist[chapter]

\chapter{one}
\chapter{two}

\stoptext


So, no key in a setup but a backend directive and only optional color
support. It's s document wide feature that has to be set before the
first link gets flushed in order to work. The default border color is 
gray which makes it useful for debugging to.


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | 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] proposal about link borders

2014-03-22 Thread Keith J. Schultz
Hi All,

If we are going this then it would be nice to define the color of the link 
border.

I will leave the details or a syntax up to the implementors.

regards
Keith.



Am 21.03.2014 um 18:30 schrieb Pablo Rodriguez :

> Hi Hans,
> 
> many thanks for fixing the issue with links (and other two issues about
> PDF information).
> 
> I have two proposals about hyperlinks, after having looked at an
> uncompressed file with hyperlinks. AFAIK, they haven’t been implemented
> (I have checked the wiki, the “ConTeXt Commands” documents, the
> reference manual, and the source [I apologize, if I have overlooked
> something]).
> 
> My first proposal would be an option to have link borders enabled. I
> guess that something like \setupinteraction[linkborders=on] would be a
> good choice. With this option, one can have an interactive version and a
> printable version of a document in the same file. This is extremely
> useful in many scenarios.
> 
> My second proposal would be an option to have colored link borders.
> \setupinteraction[linkbordercorlor=on] could be the option to enable
> color in link borders.
> 
> I think both proposals could be useful for (at least for some)
> interactive documents.
> 
> 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
> ___

___
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] proposal about link borders

2014-03-21 Thread Pablo Rodriguez
Hi Hans,

many thanks for fixing the issue with links (and other two issues about
PDF information).

I have two proposals about hyperlinks, after having looked at an
uncompressed file with hyperlinks. AFAIK, they haven’t been implemented
(I have checked the wiki, the “ConTeXt Commands” documents, the
reference manual, and the source [I apologize, if I have overlooked
something]).

My first proposal would be an option to have link borders enabled. I
guess that something like \setupinteraction[linkborders=on] would be a
good choice. With this option, one can have an interactive version and a
printable version of a document in the same file. This is extremely
useful in many scenarios.

My second proposal would be an option to have colored link borders.
\setupinteraction[linkbordercorlor=on] could be the option to enable
color in link borders.

I think both proposals could be useful for (at least for some)
interactive documents.

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
___