Re: [Groff] tables in a macro

2006-06-16 Thread Tadziu Hoffmann
> I want to have a variable parameter list. At maximum I can > have up to 10 parameters. Each parameter opens a new row. > If the parameter is empty then do not open a new row. If you can restrict yourself to a simple, particular layout and don't need the full flexibility of a general table form

Re: [Groff] tables in a macro

2006-06-15 Thread Werner LEMBERG
> > However I want to have a variable parameter list. At maximum I > > can have up to 10 parameters. Each parameter opens a new row. If > > the Parameter is empty the do not open a new row. > > [snip] > > I can't think of a simple way to make this work. The problem lies > in the nature of tbl

Re: [Groff] tables in a macro

2006-06-15 Thread Werner LEMBERG
> Recognition of numbers is handled by \fItbl\/\fP itself: Thanks for the reminder; I've added something similar to tbl.man. Werner ___ Groff mailing list Groff@gnu.org http://lists.gnu.org/mailman/listinfo/groff

Re: [Groff] tables in a macro

2006-06-14 Thread Erich Hoffmann
Am Dienstag, 13. Juni 2006 15:34 schrieben Sie: > > > For tables in macros please have a look at the hew hdtbl > > > package in the CVS. > > > > Thank you. I downloaded version 0.91 from > > the homepage, but with -Thtml it outputs a mass of > > -tags. > > Ah, hdtbl isn't yet set up for HTML outpu

Re: [Groff] tables in a macro

2006-06-14 Thread Tadziu Hoffmann
[snip] That was supposed to have been "... simply isn't there in _the_ macro that we use ..." (I shouldn't try to explain things in a hurry.) Anyhow, here's a little example to illustrate further the behavior of tbl/troff: .\" tbl .de HR .br \v'-.25m'\D'l \\n(.lu 0' .. .sp 3c .ll 7.5c .HR .ce

Re: [Groff] tables in a macro

2006-06-13 Thread Tadziu Hoffmann
> this is interesting. At the moment I am in the need of exactly > the same thing. So this comes in handy. However I want to have > a variable parameter list. At maximum I can have up to 10 > parameters. Each parameter opens a new row. If the Parameter > is empty the do not open a new row. > The

Re: [Groff] tables in a macro

2006-06-13 Thread Werner LEMBERG
> However I want to have a variable parameter list. At maximum I can > have up to 10 parameters. Each parameter opens a new row. If the > Parameter is empty the do not open a new row. > > The following didn't work. Seems I am missing something > > .eo > .de ATABLE .. > .TS > allbox tab(;); > cl.

Re: [Groff] tables in a macro

2006-06-13 Thread Werner LEMBERG
> > For tables in macros please have a look at the hew hdtbl > > package in the CVS. > > Thank you. I downloaded version 0.91 from > the homepage, but with -Thtml it outputs a mass of > -tags. Ah, hdtbl isn't yet set up for HTML output. Werner _

Re: [Groff] tables in a macro

2006-06-13 Thread Erich Hoffmann ggi
Hello! > Am Monday 12 June 2006 14:43 schrieb Tadziu Hoffmann: > > The following works: Thank you very much, Tadziu. It works, and now the next problem arises... :) Am Dienstag, 13. Juni 2006 07:56 schrieb Rüdiger Härtel: [...] > The following didn't work. Seems I am missing something > > .eo

Re: [Groff] tables in a macro

2006-06-13 Thread Erich Hoffmann
Am Montag, 12. Juni 2006 14:27 schrieben Sie: > > In general, you cannot have .TS ... .TE within a macro, only within a > diversion. For tables in macros please have a look at the hew hdtbl > package in the CVS. > > >Werner > Thank you. I downloaded version 0.91 from the homepage, but with -Tht

Re: [Groff] tables in a macro

2006-06-12 Thread Rüdiger Härtel
Am Monday 12 June 2006 14:43 schrieb Tadziu Hoffmann: > The following works: > > > .\" tbl > .eo > .de ATABLE .. > .TS > allbox tab(;); > cl. > \$1;\$2 > .TE > ... > .ec > .ATABLE A table > .ATABLE Another table > .ATABLE And "another one" > Hello, this is interesting. At the moment I am in the n

Re: [Groff] tables in a macro

2006-06-12 Thread Werner LEMBERG
> The following works: > > > .\" tbl > .eo > .de ATABLE .. > .TS > allbox tab(;); > cl. > \$1;\$2 > .TE > ... > .ec > .ATABLE A table > .ATABLE Another table > .ATABLE And "another one" Aah, nice idea. I'll add such an example to the tbl man page. Werner ___

Re: [Groff] tables in a macro

2006-06-12 Thread Tadziu Hoffmann
The following works: .\" tbl .eo .de ATABLE .. .TS allbox tab(;); cl. \$1;\$2 .TE ... .ec .ATABLE A table .ATABLE Another table .ATABLE And "another one" ___ Groff mailing list Groff@gnu.org http://lists.gnu.org/mailman/listinfo/groff

Re: [Groff] tables in a macro

2006-06-12 Thread Werner LEMBERG
> When I insert a table, everything goes well: > > .TS > allbox; > cl. > A table > .TE > > But when I put that into a macro: > > .de ATABLE > .TS > allbox; > cl. > A table > .TE > .. > > ...i get this output, when I don't call the macro: > > A table In general, you

[Groff] tables in a macro

2006-06-12 Thread Erich Hoffmann
Hello. I have the following problem with groff.19.1 on a SuSe 10.1. with the ms package and html output. When I insert a table, everything goes well: .TS allbox; cl. A table .TE But when I put that into a macro: .de ATABLE .TS allbox; cl. A table .TE ..