Re: Groff macro to make .UR and .UE links clickable in PDF?

2020-06-19 Thread Nate Bargmann
* On 2020 19 Jun 16:24 -0500, Jan Stary wrote: > When I run gropdf over the groff -Z output, > I get the pdf file attached. > > Viewing it in macos's Preview, > the link is clickable and opens > http://www.frijid.net/madness/madness.html I concur with Deri as the link is not clickable in

Re: Groff macro to make .UR and .UE links clickable in PDF?

2020-06-19 Thread Deri
On Friday, 19 June 2020 21:45:14 BST B 9 wrote: > When I use 'gropdf' to parse it, the links aren't clickable. Same when > I paste it into https://rawgit.com/Alhadis/Roff.js/web-demo/index.html. The difference you are seeing, links/no links, is due to different pdf viewers. Some, acroread being

Re: Groff macro to make .UR and .UE links clickable in PDF?

2020-06-19 Thread Jan Stary
On Jun 19 13:45:14, hacke...@member.fsf.org wrote: > > > This is my output (diff to your output follows): > > Thank you, Jan Stary. I am a bit confused because the intermediate > output you sent doesn't have any PDF hypertext information in it. > > When I use 'gropdf' to parse it, the links

Fwd: Re: Groff macro to make .UR and .UE links clickable in PDF?

2020-06-19 Thread Steffen Nurpmeso
--- Forwarded from B 9 --- Date: Fri, 19 Jun 2020 13:55:30 -0700 From: B 9 To: Steffen Nurpmeso Subject: Re: Groff macro to make .UR and .UE links clickable in PDF? Message-ID: <20200619205530.n0y90%hacke...@member.fsf.org> Steffen Nurpmeso wrote: > Yes i am reading this list and yes this

Re: Groff macro to make .UR and .UE links clickable in PDF?

2020-06-19 Thread B 9
> This is my output (diff to your output follows): Thank you, Jan Stary. I am a bit confused because the intermediate output you sent doesn't have any PDF hypertext information in it. When I use 'gropdf' to parse it, the links aren't clickable. Same when I paste it into

Re: Groff macro to make .UR and .UE links clickable in PDF?

2020-06-19 Thread Jan Stary
On Jun 19 06:08:44, hacke...@member.fsf.org wrote: > Jan Stary (or anyone): would you please post the output of 'groff -Z > -mdoc -Tpdf' for the example input which converted Lk to hyperlinks? > I'd like to paste it into Alhadis's Roff.js and see where my groff is > going wrong. I'm including my

Re: Groff macro to make .UR and .UE links clickable in PDF?

2020-06-19 Thread Steffen Nurpmeso
B 9 wrote in <20200619061008.okwcr%hacke...@member.fsf.org>: |Since mdoc is a "semantic markup language", I presumed it would have |some way to specify a hyperlink in running text that won't (to the |best of mdoc's abilities) interfere with the flow of the text. The |exact implementation would

Re: -ms anomaly

2020-06-19 Thread Ingo Schwarze
Hi Tadziu, Tadziu Hoffmann wrote on Fri, Jun 19, 2020 at 03:33:24PM +0200: > Somebody wrote: >> Regardless of how the behavior arose, it is certainly a bug >> for -ms not to implement the semantics intended by eqn. > My point was that eqn does *not* intend any semantics. > > The Typesetting

Re: -ms anomaly

2020-06-19 Thread Tadziu Hoffmann
> Regardless of how the behavior arose, it is certainly a bug > for -ms not to implement the semantics intended by eqn. My point was that eqn does *not* intend any semantics. The Typesetting Mathematics User's Guide says: The .EQ and .EN are copied through untouched; they are not

Re: Groff macro to make .UR and .UE links clickable in PDF?

2020-06-19 Thread B 9
John Gardner wrote: > Steve's list left out one other URL-handling strategy: omit them altogether > if they aren't needed Yes, that is often the best solution when hyperlinks aren't available. How does one do that in groff? I've tried three things so far: UR/UE, Lk, and pdfhref. The first two

Re: Groff macro to make .UR and .UE links clickable in PDF?

2020-06-19 Thread B 9
"James K. Lowden" wrote: > On Wed, 17 Jun 2020 08:59:17 +0200 > Jan Stary wrote: > > I don't think something like that belongs into mdoc(7) at all. > > It's a "semantic markup language for formatting manual pages". > > Let it be what is is, and has been for decades. > > I think there's an