From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp-1.sys.kth.se (smtp-1.sys.kth.se [130.237.32.175]) by krisdoz.my.domain (8.14.3/8.14.3) with ESMTP id o790MFJR011458 for ; Sun, 8 Aug 2010 20:22:16 -0400 (EDT) Received: from smtp-1.sys.kth.se (localhost [127.0.0.1]) by smtp-1.sys.kth.se (Postfix) with ESMTP id D371F1563C1; Mon, 9 Aug 2010 02:22:09 +0200 (CEST) X-Virus-Scanned: by amavisd-new at kth.se Received: from smtp-1.sys.kth.se ([127.0.0.1]) by smtp-1.sys.kth.se (smtp-1.sys.kth.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Yw1izvSfP+Jb; Mon, 9 Aug 2010 02:22:07 +0200 (CEST) X-KTH-Auth: kristaps [85.8.60.109] X-KTH-mail-from: kristaps@bsd.lv Received: from lappy.cust.alltele.se (h85-8-60-109.dynamic.se.alltele.net [85.8.60.109]) by smtp-1.sys.kth.se (Postfix) with ESMTP id 2EE66155AEA; Mon, 9 Aug 2010 02:22:06 +0200 (CEST) Message-ID: <4C5F4A2D.9040506@bsd.lv> Date: Mon, 09 Aug 2010 02:22:05 +0200 From: Kristaps Dzonsons User-Agent: Thunderbird 2.0.0.23 (X11/20100318) X-Mailinglist: mdocml-discuss Reply-To: discuss@mdocml.bsd.lv MIME-Version: 1.0 To: discuss@mdocml.bsd.lv CC: aldis@bsdroot.lv Subject: Re: groff `Lk' badness References: <4C5EFD04.2050407@bsd.lv> <20100808193700.GC28837@usta.de> In-Reply-To: <20100808193700.GC28837@usta.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit >> mandoc formats its output as "foo: bar baz xyzzy", > > I think this is wrong, and > > "bar baz xyzzy: foo" > > would be better. I just committed a fix for this. Thanks! > The real mess is here: > > schwarze@rhea $ /usr/local/bin/groff --version | head -n1 > GNU groff version 1.20.1 > schwarze@rhea $ /usr/local/bin/groff -mdoc -Thtml link.in > [...] > NetBSD: http://www.netbsd.org/
> OpenBSD:
http://www.openbsd.org/

> > Groff doesn't even attempt to produce real hyperlinks > in -Thtml mode. Is this true? groff passes only style bits via groff_out(7). So it can't by design do anything more. Run groff -Z -mandoc to see for yourself. grohtml in general is pretty useless (even Werner has said so). Another part of the design of troff: it was never built for hierarchical output. > I think we should have something similar to: > > NetBSD: > http://www.netbsd.org/ Ours simply formats as LINK-NAME if a link name is specified, else just LINK. I generally think that writing an entire URI in a browser is superfluous as it usually shows up someplace, e.g., the status bar. I'm not married to this behaviour, I guess. If anybody else also thinks this should be changed, I'll do it. Kristaps -- To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv