ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* wrong /Rect in link annotations
@ 2020-11-07 11:47 Pablo Rodriguez
  2020-11-07 13:40 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Pablo Rodriguez @ 2020-11-07 11:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear list,

I have the following sample:

  \setupinteraction[state=start]
  \enabledirectives[references.border]
  %~ \definemakeup[slide]
  \define[1]\newurl{\goto{\tt\hyphenatedurl{#1}}[url(#1)]}

  \starttext
  %~ \startmakeup[slide]
  \newurl{a}

  compared to \newurl{a}.
  %~ \stopmakeup
  \stoptext

I’m afraid that with current latest rectangles for links got to the end
of the line when nothing stops them.

Could anyone confirm the issue?

BTW, I include the makeup, because previously this issue only took place
within makeups.

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: wrong /Rect in link annotations
  2020-11-07 11:47 wrong /Rect in link annotations Pablo Rodriguez
@ 2020-11-07 13:40 ` Hans Hagen
  2020-11-07 15:00   ` Pablo Rodriguez
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2020-11-07 13:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 11/7/2020 12:47 PM, Pablo Rodriguez wrote:
> Dear list,
> 
> I have the following sample:
> 
>    \setupinteraction[state=start]
>    \enabledirectives[references.border]
>    %~ \definemakeup[slide]
>    \define[1]\newurl{\goto{\tt\hyphenatedurl{#1}}[url(#1)]}
> 
>    \starttext
>    %~ \startmakeup[slide]
>    \newurl{a}
> 
>    compared to \newurl{a}.
>    %~ \stopmakeup
>    \stoptext
> 
> I’m afraid that with current latest rectangles for links got to the end
> of the line when nothing stops them.
> 
> Could anyone confirm the issue?
> 
> BTW, I include the makeup, because previously this issue only took place
> within makeups.
no, it has to do with the period not being there i.e. it's the last item 
on the list

so, this is not an issue in the latest upload but older

in lmtx we normalize paragraphs wrt left/right skip, hanging and shape 
properties, as well as left/right parfill skips as well as boxes nto 
lying about their dimensions (by using shifts) and i have to check some 
mechanisms for that - read: can do them nicer now without guessing

i will hack a solution but eventually will split off the lmtx/mkiv code 
for those bits and pieces (takes some time so it will happen after the 
flagging effort)

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: wrong /Rect in link annotations
  2020-11-07 13:40 ` Hans Hagen
@ 2020-11-07 15:00   ` Pablo Rodriguez
  0 siblings, 0 replies; 3+ messages in thread
From: Pablo Rodriguez @ 2020-11-07 15:00 UTC (permalink / raw)
  To: ntg-context

On 11/7/20 2:40 PM, Hans Hagen wrote:
> On 11/7/2020 12:47 PM, Pablo Rodriguez wrote:
>> [...]
>> I’m afraid that with current latest rectangles for links got to the end
>> of the line when nothing stops them.
>>
>> Could anyone confirm the issue?
>>
>> BTW, I include the makeup, because previously this issue only took place
>> within makeups.
> no, it has to do with the period not being there i.e. it's the last item
> on the list
>
> so, this is not an issue in the latest upload but older

Well, because install.sh changed, I wasn’t able to update after
2020.09.20 23:02 until two days ago.

In that version, only the makeup triggered the wrong rectangle.

> i will hack a solution but eventually will split off the lmtx/mkiv code
> for those bits and pieces (takes some time so it will happen after the
> flagging effort)

These are really good news.

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2020-11-07 15:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-07 11:47 wrong /Rect in link annotations Pablo Rodriguez
2020-11-07 13:40 ` Hans Hagen
2020-11-07 15:00   ` 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).