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

2020-06-16 Thread B 9
Ingo Schwarze wrote: > >> You say mdoc; shouldn't the links be Lk? > > In mdoc(7): yes, absolutely. > Use .Lk in mdoc(7), .UR is not supported by mdoc(7) at all. Thank you, Ingo, for letting me know that. I'll use Lk if I can figure out how to get it to format my text so it looks as nice as

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

2020-06-16 Thread Jan Stary
On Jun 16 02:36:40, hacke...@member.fsf.org wrote: > Ingo Schwarze wrote: > > > >> You say mdoc; shouldn't the links be Lk? > > > > In mdoc(7): yes, absolutely. > > Use .Lk in mdoc(7), .UR is not supported by mdoc(7) at all. > > Thank you, Ingo, for letting me know that. I'll use Lk if I can

Re: Why are Groff's macro packages not PDF-aware by default?

2020-06-16 Thread James K. Lowden
On Mon, 15 Jun 2020 21:24:23 +1000 John Gardner wrote: > Modifying the macro packages to use these features wouldn't be hard. > It's simply a matter of > > .if '\*(.T'pdf' .if d pdfmark \{\ > > .pdfmark ? > > .\} +1 I'm glad B 9 asked the question, because I've been meaning to try to

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

2020-06-16 Thread James K. Lowden
On Tue, 16 Jun 2020 13:36:41 +0200 Jan Stary wrote: > > Third, and worst of all, it then prints out the entire URL without > > wrapping, exceeding the right margin for long URLs. > > How do you suggest a long URL should be typeset? > It's an honest question: I don't know. It seems weird > to

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

2020-06-16 Thread Deri
On Tuesday, 16 June 2020 02:52:17 BST Ingo Schwarze wrote: > One person already recommended a way to make normal .Lk in mdoc(7) > and normal .UR in man(7) produce PDF links with groff, but i suggest > a different perspective. Decide what it is that you really want: > if you want excellent

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

2020-06-16 Thread Steve Izma
On Tue, Jun 16, 2020 at 09:55:01AM -0400, James K. Lowden wrote: > Subject: Re: Groff macro to make .UR and .UE links clickable in PDF? > > On Tue, 16 Jun 2020 13:36:41 +0200 > Jan Stary wrote: > > > How do you suggest a long URL should be typeset? > > It's an honest question: I don't know. It

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

2020-06-16 Thread Steve Izma
On Tue, Jun 16, 2020 at 03:00:55PM -0400, Peter Schaffter wrote: > Subject: Re: Groff macro to make .UR and .UE links clickable in PDF? > > I would add that inserting \: (the zero-width break point) before > or after every forward slash in a URL, depending on the style > guidelines of a document,

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

2020-06-16 Thread Peter Schaffter
On Tue, Jun 16, 2020, Steve Izma wrote: > Anyway, my strategies for typesetting for a printed document: Excellent advice, well reasoned and well presented. I would add that inserting \: (the zero-width break point) before or after every forward slash in a URL, depending on the style guidelines

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

2020-06-16 Thread B 9
On Tue, Jun 16, 2020, Steve Izma wrote: > Anyway, my strategies for typesetting for a printed document: I'm always impressed by people who know how to typeset AND how to write! Thank you for the clear and concise rules. Steve Izma wrote: > - don't set the URL at all in the body of the text

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

2020-06-16 Thread B 9
Jan Stary wrote: > Attached please see the PDF output of groff 1.22.4 and mandoc 1.14.5; > neither of them adds a newline before or after the clickable link. What is the groff command line you are using? I tried groff 1.22.4 on a couple different machines and couldn't come up with a clickable

[bug #58581] doc/groff.texi, man/groff_font.5.man: spacewidth value is missing units

2020-06-16 Thread Dave
URL: Summary: doc/groff.texi, man/groff_font.5.man: spacewidth value is missing units Project: GNU troff Submitted by: barx Submitted on: Tue 16 Jun 2020 02:04:59 AM CDT Category: