Re: [Groff] Bug in -mdoc `Bl -column' or I'm not getting something.

2010-05-09 Thread Kristaps Dzonsons
> Shouldn't this really do > > a ] ) ; b ] ) ; c]); > > since -separated lines are supposed to behave like columnar real > lines and only the closing terms are adjusted? (Answering myself with more possibilities.) Either that or a]);b]);c]); if we're to assume that `

[Groff] Bug in -mdoc `Bl -column' or I'm not getting something.

2010-05-09 Thread Kristaps Dzonsons
Hello, another groff question. Consider the following, .Bl -column asdfasdf asdfasdf asdfasdf .It a ) ] ;b ) ] ;c ) ; .El where is a tab. Why does this produce the following: a]) ; b]) ; c]); ^^^ ^^^ In words, each column's last closing-punctuation is buffered by a

Re: [Groff] End-of-line whitespace.

2010-05-09 Thread Ralph Corderoy
Hi Ted, > > I could match / *$ but it seems more logical to insist on an least > > one space being present, as you do. > > Matching a single space would be fine if you were confident of at most > one trailing space. NBut it's more than "logical", it is very > practical in many cases, to allow fo

Re: [Groff] End-of-line whitespace.

2010-05-09 Thread Kristaps Dzonsons
Ted, Ralph, Thanks for your responses. Beyond the `ds' family, are you aware of any other macros where trailing whitespace is meaningful? And just for the sake of finality, can you imagine any circumstances where free-form lines (i.e., w/o a leading macro) would be affected by trailing whit

Re: [Groff] editing the head-section in grohtml

2010-05-09 Thread Erich Hoffmann
Am Sun, 09 May 2010 06:49:28 +0200 (CEST) schrieb Werner LEMBERG : > > > Is it possible to edit the whole section, [...] > > [...] but I have to insert the line > > > > .HEAD > > > > into every file. > > Why is this a problem? It is no 'problem' and I can manage very well. Background is tha

Re: [Groff] Groff 1.19.2 and 1.20.1 differences

2010-05-09 Thread Werner LEMBERG
> Has thought been given to regression tests for groff? Yes. However, I lack time (and, admittedly, interest) to do that. Volunteers are highly welcomed. Werner

Re: Bug#579890: grotty: infinite loop when processing a man page

2010-05-09 Thread Werner LEMBERG
> In fact, you can reproduce this infinite loop with just the > following grotty input: > > x T utf8 > x res 240 24 40 > x init > p1 > Dt > > The following patch would turn this into a fatal error instead, > [...] Thanks a lot! I've applied your patch to the CVS repository. Wern

Re: [Groff] editing the head-section in grohtml

2010-05-09 Thread Werner LEMBERG
> Is it possible to edit the whole section, No. > and where is it stored? In file src/devices/grohtml/post-html.cpp, have a look into function html_printer::do_file_components(), which in turn calls html_printer::writeHeadMetaStyle(). The latter shows the hard-coded parts of the `head' secti

Re: [Groff] End-of-line whitespace.

2010-05-09 Thread Ted Harding
Hi Ralph, I think your points are mostly matters of taste and convenience! On 09-May-10 00:09:53, Ralph Corderoy wrote: > > Hi Ted, > >> Using the 'vim' editor, I can easily strip trailing spaces from a file >> I am editing with the command >> >> :1,$s/ [ ]*$// > > I'm not sure why the secon