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

2020-06-17 Thread Jan Stary
> > - don't set the URL at all in the body of the text but use a > > footnote or endnote marker and set the URL in the footnote or > > endnote, since these are usually set in a smaller point size > > and gives you more flexibility for fitting on lines; if a text > > contains a lot of URLS,

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

2020-06-17 Thread Raf Czlonka
On Tue, Jun 16, 2020 at 07:27:58PM BST, Steve Izma wrote: > > I find the whole idea of typesetting URLs in printed matter to be > full of contradictions, but this is mostly on account of how > contemporary Web frameworks construct URLs for dynamic pages and > need all sorts of variables set in the

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

2020-06-17 Thread John Gardner
Steve's list left out one other URL-handling strategy: omit them altogether if they aren't needed: *HTML:* https://tools.ietf.org/html/rfc6455";>RFC 6455 https://adobe.com/content/dam/acom/en/devnet/actionscript/articles/PLRM.pdf#page=144";>PostScript Language Reference Manual, page 130 *Text:

-ms anomaly

2020-06-17 Thread Doug McIlroy
This groff -ms document: .LP The formula is .EQ x = 1 .EN produces just what one expects. But if .LP is deleted, the formula is displayed in line. This causes little trouble in everyday life. Nevertheless, -ms is misinterpreting the output of eqn in this case

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

2020-06-17 Thread James K. Lowden
On Wed, 17 Jun 2020 08:59:17 +0200 Jan Stary wrote: > > This would be an ideal solution, if it is possible with groff. When > > I must have a URL visible in the text, I'd love for it to be in > > small text as a footnote. How hard is it to add footnotes to a > > package like mdoc in groff? > >

Re: -ms anomaly

2020-06-17 Thread Tadziu Hoffmann
> Nevertheless, -ms is misinterpreting the output of eqn in this > case. It appears to be intentional. At least in groff's implementation of the ms macros, the first call to a paragraph macro is special, in that it terminates the front matter and begins the body text, and redefines a number of