[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Error in hdtbl
From: |
Joachim Walsdorff |
Subject: |
Re: [Groff] Error in hdtbl |
Date: |
Mon, 04 Feb 2013 07:13:00 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; rv:15.0) Gecko/20120824 Thunderbird/15.0 |
Am 03.02.2013 22:47, schrieb Bernd Warken:
The following table
.TBL cols=3
.TR ".TD 1*2 .TD 2+3*2 colspan=2"
.ETB
wrongly gets:
| | |
+1*2---------------------------------------+2+3*2----------------+
while
.TBL cols=3
.TR
.TD 1*2
.TD 2+3*2 colspan=2
.ETB
gets it right:
| | |
+1*2-----------------+-2+3*2-------------------------------------+
|
Bernd Warken
hdtbl behaves right in both of your examples. The hdtbl-manpage says:
"If a macro has one or more arguments, and it is not starting a line, it
must be enclosed in double quotes." So you must write the second line of
the first example
.TR .TD 1*2 ".TD 2+3*2 colspan=2"
to get the expected result.
Jochim Walsdorff
--
Dr. Joachim Walsdorff • Hauptstraße 225 • D 69117 Heidelberg •
Tel. 06221-28680