Re: Summary of man-page formatting

2021-03-16 Thread David Holland
On Tue, Mar 16, 2021 at 04:16:49PM +0100, Reinoud Zandijk wrote: > > > Right, and in my experience it would be completely unsuitable. :) > > > > > > Now, don't get me wrong, I love Lout and and when I need a batch > > > formatter it's what I use unless there are strong overriding reasons. > >

Re: Summary of man-page formatting

2021-03-16 Thread Mouse
> Yeah, who uses rendering a manpage in a tight loop ;) If it runs on > the older machines in a few seconds I don't think its going to be an > issue. And it isn't that slow is it? As someone who still routinely uses "older machines", if it is significantly slower than nroff, it will be a problem

Re: Summary of man-page formatting

2021-03-16 Thread Reinoud Zandijk
On Tue, Mar 16, 2021 at 01:08:39AM +, David Holland wrote: > On Sat, Mar 13, 2021 at 12:03:21PM +0300, Valery Ushakov wrote: > > > Well, there is lout to consider. > > [...] > > > I've never used it for manpage rendering though! A simple `awk' > > > script could indeed do it as its format i

Re: Summary of man-page formatting

2021-03-15 Thread David Holland
On Sat, Mar 13, 2021 at 12:03:21PM +0300, Valery Ushakov wrote: > > Well, there is lout to consider. > [...] > > I've never used it for manpage rendering though! A simple `awk' > > script could indeed do it as its format is quite easy. Uwe has > > experience with it :) > > Right, and in my

Re: Summary of man-page formatting

2021-03-14 Thread David Holland
On Sun, Mar 14, 2021 at 07:20:31PM +0100, Anders Magnusson wrote: > Agreed if the goal is to replace groff. > What i was referring to was only the ability to format nroff man pages > containing troff directives, nothing else.? It's really small for that > usage. > The troff part only generates

Re: Summary of man-page formatting

2021-03-14 Thread Anders Magnusson
Den 2021-03-13 kl. 16:06, skrev Valery Ushakov: On Sat, Mar 13, 2021 at 10:39:08 +0100, Anders Magnusson wrote: Den 2021-03-13 kl. 10:03, skrev Valery Ushakov: On Fri, Mar 12, 2021 at 10:54:46 +0100, Reinoud Zandijk wrote: Well, there is lout to consider. [...] I've never used it for manpa

Re: Summary of man-page formatting

2021-03-13 Thread Valery Ushakov
On Sat, Mar 13, 2021 at 10:39:08 +0100, Anders Magnusson wrote: > Den 2021-03-13 kl. 10:03, skrev Valery Ushakov: > > On Fri, Mar 12, 2021 at 10:54:46 +0100, Reinoud Zandijk wrote: > > > > > Well, there is lout to consider. > > [...] > > > I've never used it for manpage rendering though! A simple

Re: Summary of man-page formatting

2021-03-13 Thread Anders Magnusson
Den 2021-03-13 kl. 10:03, skrev Valery Ushakov: On Fri, Mar 12, 2021 at 10:54:46 +0100, Reinoud Zandijk wrote: Well, there is lout to consider. [...] I've never used it for manpage rendering though! A simple `awk' script could indeed do it as its format is quite easy. Uwe has experience with

Re: Summary of man-page formatting

2021-03-13 Thread Valery Ushakov
On Fri, Mar 12, 2021 at 10:54:46 +0100, Reinoud Zandijk wrote: > Well, there is lout to consider. [...] > I've never used it for manpage rendering though! A simple `awk' > script could indeed do it as its format is quite easy. Uwe has > experience with it :) Right, and in my experience it would b

Re: Summary of man-page formatting

2021-03-12 Thread David Holland
On Fri, Mar 12, 2021 at 10:54:46AM +0100, Reinoud Zandijk wrote: > > Like with many other problems, the current situation is poor and > > there's also no particularly viable way forward. > > Well, there is lout to consider. Its a selfcontained program > written in C only with no external depe

Re: Summary of man-page formatting

2021-03-12 Thread Reinoud Zandijk
On Sat, Nov 21, 2020 at 07:50:02AM +, David Holland wrote: > I think the _solution_ to this problem is a new typesetting engine > (not anything based on tex or roff), but this has to happen and become > viable independent of netbsd before we adopt it; if we jump the gun > it's as likely to beco

Re: Summary of man-page formatting

2021-02-16 Thread Dan Plassche
On 2020-11-15 12:20, Robert Elz wrote: > Date:Sun, 15 Nov 2020 03:10:08 +0100 > From:Kamil Rytarowski > Message-ID: <12f29556-2407-2f6f-de5c-67539bca6...@netbsd.org> > > | 1. NetBSD base ships with two programs that can format manual pages from > | base and most 3

Re: Summary of man-page formatting

2020-11-23 Thread Thor Lancelot Simon
On Sat, Nov 21, 2020 at 07:50:02AM +, David Holland wrote: > On Sun, Nov 15, 2020 at 03:10:08AM +0100, Kamil Rytarowski wrote: > > I'm going to summarize the situation with formatters in the NetBSD base. > > A couple more points: > > > [...] old groff in base. > > There's an additional rea

Re: Summary of man-page formatting

2020-11-21 Thread tlaronde
On Sat, Nov 21, 2020 at 07:50:02AM +, David Holland wrote: > [...] > > (2) Thierry mentions kertex as an alternative to trying to import > ordinary tex into base (which is a nonstarter), but this never goes > anywhere; To put clearly things about the proposal: 1) I do not propose to import T

Re: Summary of man-page formatting

2020-11-20 Thread David Holland
On Sun, Nov 15, 2020 at 03:10:08AM +0100, Kamil Rytarowski wrote: > I'm going to summarize the situation with formatters in the NetBSD base. A couple more points: > [...] old groff in base. There's an additional reason to not update groff besides licensing, which is that recent groff depends o

Re: Summary of man-page formatting

2020-11-16 Thread Steffen Nurpmeso
Kamil Rytarowski wrote in <12f29556-2407-2f6f-de5c-67539bca6...@netbsd.org>: |I apologize for nerves and words that could be avoided. | |I'm going to summarize the situation with formatters in the NetBSD base. | |1. NetBSD base ships with two programs that can format manual pages from |base

Re: Summary of man-page formatting

2020-11-16 Thread Kamil Rytarowski
On 15.11.2020 08:18, Martin Husemann wrote: > On Sun, Nov 15, 2020 at 03:10:08AM +0100, Kamil Rytarowski wrote: >> 1. NetBSD base ships with two programs that can format manual pages from >> base and most 3rd party software: BSD mandoc (newest) and GPLv2 groff >> 1.19.2 (old, from 2005). > > Ignor

Re: Summary of man-page formatting

2020-11-15 Thread is
Hi, On Sun, Nov 15, 2020 at 12:43:58PM -0500, Mouse wrote: > But, of course, that's predicated on someone going to the trouble to > (a) build a DVI-to-text backend (not hard, if it doesn't yet exist, Whether the whole TeX-idea is useful for the purpose, I don't know at the momenti; but dvi2tty i

Re: Summary of man-page formatting

2020-11-15 Thread tlaronde
On Sun, Nov 15, 2020 at 12:43:58PM -0500, Mouse wrote: > >> - switch to something else (anything else?) > > As a general purpose doc tool [TeX] is fine, > > Only for typeset doc. For read-as-text doc - which, at least > personally, is far more important - it is, well, see below. (For > almost a

Re: Summary of man-page formatting

2020-11-15 Thread Mouse
>> - switch to something else (anything else?) > As a general purpose doc tool [TeX] is fine, Only for typeset doc. For read-as-text doc - which, at least personally, is far more important - it is, well, see below. (For almost all purposes, if I'm faced with typeset documentation, regardless of

Re: Summary of man-page formatting

2020-11-15 Thread Robert Elz
Date:Sun, 15 Nov 2020 03:10:08 +0100 From:Kamil Rytarowski Message-ID: <12f29556-2407-2f6f-de5c-67539bca6...@netbsd.org> | 1. NetBSD base ships with two programs that can format manual pages from | base and most 3rd party software: BSD mandoc (newest) and GPLv2 gr

Re: Summary of man-page formatting

2020-11-15 Thread Valery Ushakov
On Sun, Nov 15, 2020 at 03:10:08 +0100, Kamil Rytarowski wrote: > 10. I've suggested a MANWIDTH patch, which looked fine for upstream, but > it is not guaranteed to land upstream at all or in that form. > > http://netbsd.org/~kamil/patch-00287-mandoc-MANWIDTH.txt mandoc may support MANWIDTH as a

Re: Summary of man-page formatting

2020-11-15 Thread tlaronde
On Sun, Nov 15, 2020 at 03:10:08AM +0100, Kamil Rytarowski wrote: > 12. I recall recurring discussions about phasing out gplv2 groff from > the base and introduction of something else. > > I can see the following options: > > - do nothing, keep shipping gnu gplv2 groff > - upgrade to gplv3 grof

Re: Summary of man-page formatting

2020-11-14 Thread Martin Husemann
On Sun, Nov 15, 2020 at 03:10:08AM +0100, Kamil Rytarowski wrote: > 1. NetBSD base ships with two programs that can format manual pages from > base and most 3rd party software: BSD mandoc (newest) and GPLv2 groff > 1.19.2 (old, from 2005). Ignoring pkgsrc and most parts of what you listed in the p