Re: [Groff] The \D request in nroff and troff modes

2010-07-27 Thread Tadziu Hoffmann
> Does this mean that tbl can't make horizontal rulers > in its tables in nroff mode, or is the drawing of > them implemented bypassing \D'l...'? In nroff they're drawn using \l and \L.

Re: [Groff] The \D request in nroff and troff modes

2010-07-27 Thread Anton Shepelev
Werner Lemberg: > I've just tested heirloom troff, and it doesn't > support \D'l ...' with nroff. Consequently, I > think AT&T nroff doesnt' do it either. Does this mean that tbl can't make horizontal rulers in its tables in nroff mode, or is the drawing of them implemented bypassing \

Re: [Groff] The \D request in nroff and troff modes

2010-07-26 Thread Werner LEMBERG
>> That seems odd. If this were pixel computer graphics then 13u may >> be rounded up to 24u but that would be a 24 pixel-long line >> occupying pixels 0 to 23 inclusive; clearly just a single character >> cell. > > Well, groff is different :) Doing \D'l 0 0' already draws something. > You get a

Re: [Groff] The \D request in nroff and troff modes

2010-07-15 Thread Werner LEMBERG
>> 0 1 2 >>+-+-+-+ ... >>0 244872 ... >> >> It's obvious that the values 0..23 are somehow `assigned' to >> character cell 0, and for orthogonality we have to assign >> position 24 already to character cell 1. >> >> Another complication is that everyt

Re: [Groff] The \D request in nroff and troff modes

2010-07-15 Thread Anton Shepelev
Hello, Werner. Many thanks for the info. I see that the problem lies deeper than I had thought. > It's obvious that the values 0..23 are somehow > 'assigned' to character cell 0, and for orthogo- > nality we have to assign position 24 already to > character cell 1. This is indeed on

Re: [Groff] The \D request in nroff and troff modes

2010-07-15 Thread Ralph Corderoy
Hi Werner, > 0 1 2 >+-+-+-+ ... >0 244872 ... > > It's obvious that the values 0..23 are somehow `assigned' to character > cell 0, and for orthogonality we have to assign position 24 already to > character cell 1. > > Another complication is tha

Re: [Groff] The \D request in nroff and troff modes

2010-07-14 Thread Werner LEMBERG
> I have found what may be a bug either in tbl or in groff's \D > request. Or I don't understand how either works. It's a problem which I don't know to solve while keeping tbl device independent. In troff PS mode, the registers \n[.H] and \n[.V] (the resolution in horizontal and vertical units,

[Groff] The \D request in nroff and troff modes

2010-07-13 Thread Anton Shepelev
Hello all, I have found what may be a bug either in tbl or in groff's \D request. Or I don't understand how either works. The same piece of code typesets differently in troff and nroff modes: .ll 36n .br The line below should be the current line-length: .br \D'l \n[.l]u 0' .