Re: Format-agnostic hyperlinks

2020-07-24 Thread John Gardner
In any case, handling line-wrapping isn't the responsibility of the hyperlink macro. Mono is more of a general-purpose utility-belt for low-level Roff programming than a high-level document preparation package (in the sense of ms, mm, mom, mdoc, etc). No need to implement the Boyer-Moore algorithm

Re: Format-agnostic hyperlinks

2020-07-23 Thread B 9
John Gardner wrote: > > Does your package interpret the URL that's passed in? > > Nope, not at all. URLs are passed through verbatim; authors can always add > \: themselves, although toggling word-breakage is probably better achieved > using a "no-wrap" macro. I think that's the solution www.t

Re: Format-agnostic hyperlinks

2020-07-23 Thread John Gardner
> > albeit a bit mind warping to see Markdown and Troff mixed. Heh, I wouldn't call that Markdown. Particularly when I'm going to add a third syntax for email addresses: .[ "This mailing list" ]< *groff@gnu.org * > .[ *groff@gnu.org * ]<> The reason for this third syntax is so "mailto:"; won't

Re: Format-agnostic hyperlinks

2020-07-23 Thread B 9
John Gardner wrote: > Recent discussion on this list about PDF and HTML links galvanised an > earlier attempt of mine to implement hyperlinks in Troff in a device- and > package-agnostic manner: It's still very much a W.I.P., but > > .[ "here's what I've done so far" ]( > https://github.com/Alha

Format-agnostic hyperlinks

2020-07-23 Thread John Gardner
Hey folks, Recent discussion on this list about PDF and HTML links galvanised an earlier attempt of mine to implement hyperlinks in Troff in a device- and package-agnostic manner: It's still very much a W.I.P., but .[ "here's what I've done so far" ]( https://github.com/Alhadis/Mono/commit/f363ed