Re: Putting hyperlinks in a PDF document

2022-11-16 Thread G. Branden Robinson
At 2022-11-16T12:07:21-0500, Peter Schaffter wrote: > On Tue, Nov 15, 2022, G. Branden Robinson wrote: > > [adding Peter for a mom question] > > Peter, is there something "papersize.tmac" could be doing to help out > > mom(7) here? We'd then have that macro file wired up to all of our > > full-ser

Re: Putting hyperlinks in a PDF document

2022-11-16 Thread Peter Schaffter
On Tue, Nov 15, 2022, G. Branden Robinson wrote: > [adding Peter for a mom question] > Peter, is there something "papersize.tmac" could be doing to help out > mom(7) here? We'd then have that macro file wired up to all of our > full-service macro packages. The attached patch along with my most re

Re: Putting hyperlinks in a PDF document

2022-11-15 Thread G. Branden Robinson
Hi Deri, At 2022-11-15T23:20:49+, Deri wrote: > On Tuesday, 15 November 2022 19:21:05 GMT G. Branden Robinson wrote: > > At 2022-11-15T18:35:35+, Deri wrote: > > > Incidentally using \X'papersize ..." you can mix portrait and > > > landscape in the same document. > > > > It's a shame that

Re: Putting hyperlinks in a PDF document

2022-11-15 Thread Deri
On Tuesday, 15 November 2022 19:21:05 GMT G. Branden Robinson wrote: > At 2022-11-15T18:35:35+, Deri wrote: > > Incidentally using \X'papersize ..." you can mix portrait and > > landscape in the same document. > > It's a shame that gropdf(1) is the only output driver that recognizes > this dev

Re: Putting hyperlinks in a PDF document

2022-11-15 Thread G. Branden Robinson
At 2022-11-15T18:35:35+, Deri wrote: > Incidentally using \X'papersize ..." you can mix portrait and > landscape in the same document. It's a shame that gropdf(1) is the only output driver that recognizes this device control command. Like hyperlinks, it's a feature that seems to want increase

Re: Putting hyperlinks in a PDF document

2022-11-15 Thread Deri
On Tuesday, 15 November 2022 14:37:20 GMT G. Branden Robinson wrote: > [adding Peter for a mom question] > > Hi Deri, > > At 2022-11-15T13:43:49+, Deri wrote: > > It's a bug, try this work-around:- > > > > groff -Tpdf -mm -dpaper=letterl -rW=9i hyperlink.mm -P-p8.5i,11i > \ > > > > hyperl

Re: Putting hyperlinks in a PDF document

2022-11-15 Thread G. Branden Robinson
[adding Peter for a mom question] Hi Deri, At 2022-11-15T13:43:49+, Deri wrote: > It's a bug, try this work-around:- > > groff -Tpdf -mm -dpaper=letterl -rW=9i hyperlink.mm -P-p8.5i,11i > \ > hyperlink.pdf Interesting! Any idea what's going on here with the changed page dimensions making

AW: Putting hyperlinks in a PDF document

2022-11-15 Thread Oliver Corff
without rotational transposition? Just an idea, and no previous experience. Best, Oliver. O. Corff, oliver.co...@email.de   Originalnachricht   Von: Blake McBride Gesendet: Dienstag, 15. November 2022 13:54 An: G. Branden Robinson Cc: groff mailinglist Betreff: Re: Putting hyperlinks in a PDF

Re: Putting hyperlinks in a PDF document

2022-11-15 Thread G. Branden Robinson
At 2022-11-15T06:53:15-0600, Blake McBride wrote: > I'm sorry. I worded the problem poorly. > > -P-l (landscape) works fine. No problem there. It prints in > landscape. > > The problem is, when I use -P-l it kills the hyperlink code you gave > me. Oh, that's bizarre. I noticed the link text

Re: Putting hyperlinks in a PDF document

2022-11-15 Thread Deri
On Tuesday, 15 November 2022 12:53:15 GMT Blake McBride wrote: > I'm sorry. I worded the problem poorly. > > -P-l (landscape) works fine. No problem there. It prints in landscape. > > The problem is, when I use -P-l it kills the hyperlink code you gave me. > > So, -P-l changes the document fr

Re: Putting hyperlinks in a PDF document

2022-11-15 Thread Blake McBride
I'm sorry. I worded the problem poorly. -P-l (landscape) works fine. No problem there. It prints in landscape. The problem is, when I use -P-l it kills the hyperlink code you gave me. So, -P-l changes the document from portrait to landscape as expected. But the hyperlink code no longer works

Re: Putting hyperlinks in a PDF document

2022-11-14 Thread G. Branden Robinson
Hi Blake, At 2022-11-14T18:43:38-0600, Blake McBride wrote: > Thanks. That helped a lot! > > However, if I use "-P-l" on the command line, it doesn't work. > Strange. That makes it print in landscape mode. Any idea what is > going on? Do you mean you are expecting -P-l to format the page in l

Re: Putting hyperlinks in a PDF document

2022-11-14 Thread Blake McBride
Thanks. That helped a lot! However, if I use "-P-l" on the command line, it doesn't work. Strange. That makes it print in landscape mode. Any idea what is going on? Thanks! Blake McBride On Mon, Nov 14, 2022 at 5:31 PM G. Branden Robinson < g.branden.robin...@gmail.com> wrote: > Hi Blake,

Re: Putting hyperlinks in a PDF document

2022-11-14 Thread G. Branden Robinson
Hi Blake, At 2022-11-14T16:55:03-0600, Blake McBride wrote: > I am trying: > > .UR https://yahoo.com > Yahoo > .UE > > > And then calling: groff -mm -t -Tpdf file.pdf > > "Yahoo" shows but is not clickable. > > Sure appreciate some help! The problem is that no one has yet written hyperlinki

Putting hyperlinks in a PDF document

2022-11-14 Thread Blake McBride
Greetings, I am using groff with mm and tbl (but not MOM). How can I add hyperlinks to the document? Thanks! Blake McBride

Re: Putting hyperlinks in a PDF document

2022-11-14 Thread Blake McBride
I am trying: .UR https://yahoo.com Yahoo .UE And then calling: groff -mm -t -Tpdf file.pdf "Yahoo" shows but is not clickable. Sure appreciate some help! Thanks! Blake McBride On Mon, Nov 14, 2022 at 4:04 PM Blake McBride wrote: > Greetings, > > I am using groff with mm and tbl (but not