Follow-up Comment #8, bug #68668 (group groff):
[comment #7 comment #7:]
> [comment #6 comment #6:]
>> Run with:-
>>
>> groff -Tpdf -ms URexample.ms | okular -
>>
>> (file #59096, file #59097)
>
> I like the output but we disagree on the details of the API. People are
> _extremely_ accustomed to writing--and copy-and-pasting--full URLs as-is.
> And while one can still do that with your proposal, what happens if the
> hyperlink has a scheme and the second argument declares a different one? Who
> wins?
Neither, illegal link. Some links generally include the scheme (ftp:, https)
others do not (mailto:, sms:), so even with copy/paste you have to add the
scheme manually, either before the paste (and add space 1 after paste - you)
or with a space, after - me.
I'm not particularly fussed, its just the coding is easier if the link and
scheme are given separately (only for those where you don't want the scheme to
be included in the text).
>
> I remain confident in my proposal of comment #2.
>
> We'll eventually want to rename and rescope the `PDFFEAT` register to have a
> meaning more like `U` of _groff_ _man_ and _mdoc_, so that people can get all
> the hyperlinks disabled and formatted as text if they like. But I'd want a
> name more expressive than `U`.
Agreed.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?68668>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
