bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

-Thtml and tables - problem


From: Ole Storm
Subject: -Thtml and tables - problem
Date: 18 Mar 2002 04:37:15 -0800

Hi group,

I am trying to use groff to generate text- and HTML output from the
same source. I am, however, having some troubles getting the HTML
output to look right when using the .ta request to set tab stops in my
document.

For instance, the following 

.ds Z   foo\tbar\tfoo
.ds ZZ  foo\tbar\tfoobar
.ds ZZZ foo\tbar\tfoo\tbar
.ta 2i 4iR
\*[Z]
.br
\*[ZZ]
.br
\*[ZZZ]

will generate a table-like output using -Tlatin1

foo                 bar              foo
foo                 bar           foobar
foo                 bar              foobar

- but when using -Thtml it will produce this:

<p>foo bar foo<br>
foo bar foobar<br>
foo bar foobar</p>

- not very table-like output.

How can I make groff generate the 'right' <table> <tr>
<td>...etc</td>...etc. HTML output when using the -Thtml option???

I am using the following versions of groff and associated tools:

$ groff -v -Thtml test.txt
GNU groff version 1.17.2
Copyright (C) 1989-2001 Free Software Foundation, Inc.
GNU groff comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of groff and its subprograms
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.

called subprograms:

GNU soelim (groff) version 1.17.2
GNU pre-grohtml (groff) version 1.17.2
GNU post-grohtml (groff) version 1.17.2


Regards,

Ole Storm.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]