On Tue, Mar 11, 2008 at 12:27:23PM +0100, Martin Stigge wrote: > Package: groff-base > Version: 1.18.1.1-17 > Severity: normal > > Hi, > > as brought up on debian-devel, please bring back support for the UR and > UE macros used to implement links like in a similar fashion the URL macro > does (but on several lines instead). Quite some packages are using UR/UE > rather than URL for their manpages. > > See also: http://lists.debian.org/debian-devel/2008/03/msg00326.html
Having investigated this a bit more, I should draw your attention to this: http://lists.gnu.org/archive/html/groff/2007-01/msg00258.html "The idea was to have a set of macros (written in pure classical troff) which is (a) in the public domain, (b) which runs with all troff incarnations, and (c) which man writers might use as a template for copying the relevant snippets to the man page's preamble." So, if you're concerned about portability of UR and UE, you should (ask your upstream to) add the following preamble to the manual page. You may well be able to arrange that this is prepended to the file during the build process, to avoid having to clutter up your source with it. This is not to say that I won't add this to Debian groff; in fact I'm looking at this now. .\" Check whether we are using grohtml. .nr mH 0 .if \n(.g \ . if '\*(.T'html' \ . nr mH 1 . .\" groff has glyph entities for angle brackets. .ie \n(.g \{\ . ds la \(la\" . ds ra \(ra\" .\} .el \{\ . ds la <\" . ds ra >\" . \" groff's man macros control hyphenation with this register. . nr HY 1 .\} . .\" Start URL. .de UR . ds m1 \\$1\" . nh . if \\n(mH \{\ . \" Start diversion in a new environment. . do ev URL-div . do di URL-div . \} .. . .\" End URL. .de UE . ie \\n(mH \{\ . br . di . ev . . \" Has there been one or more input lines for the link text? . ie \\n(dn \{\ . do HTML-NS "<a href=""\\*(m1"">" . \" Yes, strip off final newline of diversion and emit it. . do chop URL-div . do URL-div \c . do HTML-NS </a> . \} . el \ . do HTML-NS "<a href=""\\*(m1"">\\*(m1</a>" \&\\$*\" . \} . el \ \\*(la\\*(m1\\*(ra\\$*\" . . hy \\n(HY .. Cheers, -- Colin Watson [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

