ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <j.hagen@xs4all.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: wrong /Rect in link annotations
Date: Sat, 7 Nov 2020 14:40:44 +0100	[thread overview]
Message-ID: <4d771c99-e227-4dba-be3a-ea3bec7eb144@xs4all.nl> (raw)
In-Reply-To: <142bb338-09c3-539d-251b-f4171acd20da@gmx.es>

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
___________________________________________________________________________________

  reply	other threads:[~2020-11-07 13:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-07 11:47 Pablo Rodriguez
2020-11-07 13:40 ` Hans Hagen [this message]
2020-11-07 15:00   ` Pablo Rodriguez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4d771c99-e227-4dba-be3a-ea3bec7eb144@xs4all.nl \
    --to=j.hagen@xs4all.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).