ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* proposal about link borders
@ 2014-03-21 17:30 Pablo Rodriguez
  2014-03-22  7:15 ` Keith J. Schultz
  0 siblings, 1 reply; 6+ messages in thread
From: Pablo Rodriguez @ 2014-03-21 17:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


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

* Re: proposal about link borders
  2014-03-21 17:30 proposal about link borders Pablo Rodriguez
@ 2014-03-22  7:15 ` Keith J. Schultz
  2014-03-23 15:31   ` Hans Hagen
  0 siblings, 1 reply; 6+ messages in thread
From: Keith J. Schultz @ 2014-03-22  7:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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 <oinos@gmx.es>:

> 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
___________________________________________________________________________________


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

* Re: proposal about link borders
  2014-03-22  7:15 ` Keith J. Schultz
@ 2014-03-23 15:31   ` Hans Hagen
  2014-03-23 16:22     ` Pablo Rodriguez
  2014-03-23 16:28     ` Aditya Mahajan
  0 siblings, 2 replies; 6+ messages in thread
From: Hans Hagen @ 2014-03-23 15:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


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

* Re: proposal about link borders
  2014-03-23 15:31   ` Hans Hagen
@ 2014-03-23 16:22     ` Pablo Rodriguez
  2014-03-23 16:28     ` Aditya Mahajan
  1 sibling, 0 replies; 6+ messages in thread
From: Pablo Rodriguez @ 2014-03-23 16:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


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

* Re: proposal about link borders
  2014-03-23 15:31   ` Hans Hagen
  2014-03-23 16:22     ` Pablo Rodriguez
@ 2014-03-23 16:28     ` Aditya Mahajan
  2014-03-23 17:44       ` Hans Hagen
  1 sibling, 1 reply; 6+ messages in thread
From: Aditya Mahajan @ 2014-03-23 16:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


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

* Re: proposal about link borders
  2014-03-23 16:28     ` Aditya Mahajan
@ 2014-03-23 17:44       ` Hans Hagen
  0 siblings, 0 replies; 6+ messages in thread
From: Hans Hagen @ 2014-03-23 17:44 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


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

end of thread, other threads:[~2014-03-23 17:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-21 17:30 proposal about link borders Pablo Rodriguez
2014-03-22  7:15 ` Keith J. Schultz
2014-03-23 15:31   ` Hans Hagen
2014-03-23 16:22     ` Pablo Rodriguez
2014-03-23 16:28     ` Aditya Mahajan
2014-03-23 17:44       ` Hans Hagen

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