summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Dew <marcoz@osource.org>2012-01-14 23:02:51 -0700
committerMatt Dew <marcoz@osource.org>2012-01-14 23:02:51 -0700
commit65ba594c8e6c28ed5ec99552812bc238855f8f9a (patch)
tree312c8530afba801594beeee544863e325a539474
parentcc6006cb0db1373fffe92e9f00a8d06c8387e914 (diff)
informaltable cleanup
On certain tables, add top and bottom borders to table header and a bottom border to the table. This matches what those tables in the old pdfs looked like. the <?dbfo keep-together='always'> prevents tables from splitting across pages. Useful for tiny tables. Converting the colwidth to a floating point, WARNING: table-layout="fixed" and column-width unspecified => falling back to proportional-column-width(1) Signed-off-by: Matt Dew <marcoz@osource.org>
-rw-r--r--specs/bigreq.xml45
1 files changed, 24 insertions, 21 deletions
diff --git a/specs/bigreq.xml b/specs/bigreq.xml
index 5cc04ec..13a233e 100644
--- a/specs/bigreq.xml
+++ b/specs/bigreq.xml
@@ -46,12 +46,13 @@
<para>For example, a normal <function>PolyLine</function> encoding is:</para>
-<informaltable id='PolyLine' pgwide='0' frame='none'>
- <tgroup cols='4' align='left'>
- <colspec colwidth='0.5in' colname='c1'/>
- <colspec colwidth='1.5in' colname='c2'/>
- <colspec colwidth='1.5in' colname='c3'/>
- <colspec colwidth='2.0in' colname='c4'/>
+<informaltable id='PolyLine' frame='none'>
+ <?dbfo keep-together="always" ?>
+ <tgroup cols='4' align='left' colsep='0' rowsep='0'>
+ <colspec colname='c1' colwidth='1.0*'/>
+ <colspec colname='c2' colwidth='3.0*'/>
+ <colspec colname='c3' colwidth='2.0*'/>
+ <colspec colname='c4' colwidth='11.0*'/>
<thead>
<row>
<entry namest="c1" nameend="c4"><function>PolyLine</function></entry>
@@ -112,12 +113,13 @@
<para>An extended-length <function>PolyLine</function> encoding is:</para>
-<informaltable pgwide='0' frame='none'>
- <tgroup cols='4' align='left'>
- <colspec colwidth='0.5in' colname='c1'/>
- <colspec colwidth='1.5in' colname='c2'/>
- <colspec colwidth='1.5in' colname='c3'/>
- <colspec colwidth='2.0in' colname='c4'/>
+<informaltable frame='none'>
+ <?dbfo keep-together="always" ?>
+ <tgroup cols='4' align='left' colsep='0' rowsep='0'>
+ <colspec colname='c1' colwidth='1.0*'/>
+ <colspec colname='c2' colwidth='3.0*'/>
+ <colspec colname='c3' colwidth='2.0*'/>
+ <colspec colname='c4' colwidth='11.0*'/>
<thead>
<row>
<entry namest="c1" nameend="c4"><function>PolyLine</function></entry>
@@ -210,11 +212,12 @@
<para>The name of this extension is &ldquo;BIG-REQUESTS&rdquo;.</para>
-<informaltable pgwide='0' frame='none'>
- <tgroup cols='3' align='left'>
- <colspec colwidth='0.5in' colname='c1'/>
- <colspec colwidth='0.5in' colname='c2'/>
- <colspec colwidth='2.0in' colname='c3'/>
+<informaltable frame='none'>
+ <?dbfo keep-together="always" ?>
+ <tgroup cols='3' align='left' colsep='0' rowsep='0'>
+ <colspec colname='c1' colwidth='1.0*'/>
+ <colspec colname='c2' colwidth='2.0*'/>
+ <colspec colname='c3' colwidth='15.0*'/>
<thead>
<row>
<entry namest="c1" nameend="c3">BigReqEnable</entry>
@@ -238,10 +241,10 @@
</row>
</tbody>
</tgroup>
- <tgroup cols='3' align='left'>
- <colspec colwidth='0.5in' colname='c1'/>
- <colspec colwidth='1.5in' colname='c2'/>
- <colspec colwidth='2.0in' colname='c3'/>
+ <tgroup cols='3' align='left' colsep='0' rowsep='0'>
+ <colspec colname='c1' colwidth='1.0*'/>
+ <colspec colname='c2' colwidth='2.0*'/>
+ <colspec colname='c3' colwidth='15.0*'/>
<thead>
<row>
<entry namest="c1" nameend="c3">=&gt;</entry>