cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Table Bottom Border

xmlmarkup
1-Newbie

Table Bottom Border

Hi All,

Does anyone know how I can resolve the non-displaying of horizontal line (bottom border) on tables whenever the table continues to a second page? This very weird whenever the table continue to a second page the bottom border doesn't display on the first page. The vertical lines (right and left borders) are there and the table title continues to the second page just fine.

Please let me know if additional information is required. Thanks in advance for your help.

Regards,

Horace Burke

7 REPLIES 7

I believe this is default Arbortext Editor behavior for the formatting
engine, and I think it is actually a requirement in the standard for
CALS tables. If the table continues on the next page, but there is a
bottom table border on the first page, this could be misleading and
confusing to most readers.

There might be something you could do for it in the FOSI, either with
FOSI code or maybe TeX, but it might be hard-coded into the formatter.
Maybe someone else knows more about this.


BobSpangenburg
5-Regular Member
(To:xmlmarkup)

Mr. Burke,

I was looking for a possible answer, as well.Not having a rule at the bottom of a table that continues on the next page is normal behavior since it implies that the table is continued on the next page.

I know you can override therule at the top of the next page by use a TeX command of "\repeatcolumnheadtopruletrue" or "\\repeatcolumnheadtoprulefalse" (depending on whether or not you wanta rule)inside a custom.tmx file in the custom\inputs folder or in the doctype folder. The default here is to have a rule at the top of the next page.

I haven't found a command that deals with the bottom of the page before continuation, but that doesn't mean there isn't one. These command in the TMX file will override the formatting engine's defaults.

Hope this helps,

Bob

The presence or absence of a bottom rule for the multi-page table can be
controlled using a <doctype_name>.tmx file in the doctype directory.

The .tmx file should look something like the following:

%file: <doctype_name>.tmx
% ----------------------------------------------------------------

% duplicate table rules at page breaks
\TableRulePreBrk=2
\TableRulePostBrk=2

% ----------------------------------------------------------------

The use of the .tmx file is described in the help information, however
the content of a .tmx file is not detailed. In this case the settings
are TeX instructions to be used by the formatter.

Hope this helps.

David

David S. Taylor


Project Manager, Structured Information
Institute for Research in Construction
National Research Council Canada
Bldg. M-23A, Room 239
1200 Montreal Road, Ottawa, ON K1A 0R6

Are \TableRulePreBrk=2 and \TableRulePostBrk=2 the values for having the
border, or for not having the border?





Good question. This is what I found in an old note about a tmx file. It
is not what I use because I want the bottom horizontal rule missing when
the table is continued.

% 0=none, 1=last row rule, 2=first table rule
% One of these two values should always be 1. It is possible to set
% the other value to 0, 1 or 2. If neither value is 1, the row rule
% appears before the break.
\TableRulePreBrk=0
\TableRulePostBrk=2


-Andy
\ / Andy Esslinger F-22 Tech Order Data
_____-/\-_____ (817) 279-0442 LM Aero Box 748
\_\/_/ Fort Worth, TX 76101


Hi Andy,

I found a post you made back on June 2/06 about this topic and here is
information from Arbortext that you included:

% There are two ways in which rules can be duplicated to prevent a gap
% in the table when the table breaks across pages and columns. It is
% also possible to make the gap appear on either side of the page
break.
% Of course, if there is a repeated column heading, there will be no
% evidence of a missing rule following the page/column break. These
% options are controlled by the following user settable variables:
%
% \TableRulePreBrk 0=none, 1=last row rule, 2=first table rule
% \TableRulePostBrk 0=none, 1=last row rule, 2=first table rule
%
% Where the last row rule (referred to below as the "row rule") is the
% rule that would normally appear between rows that become
% separated by a column or page break. The first table rule is the
% first row rule encountered in any part of the table.
%
% The defaults for these user settable variables are:
%
\TableRulePreBrk=1 % use the last row rule before the break
\TableRulePostBrk=1 % use the last row rule after the break
%
% One of these two values should always be 1. It is possible to set
% the other value to 0, 1 or 2. If neither value is 1, the row rule
% appears before the break.
%
% If TableRulePostBrk>0 and there is a repeating column heading, the
% value is treated as 0, which results in the row rule being placed
% before the break as mentioned in the paragraph above.

Since we (NRC) always repeat the table header at page breaks, it appears
I could achieve the same results as I now get (with both set to 2) by
setting \TableRulePostBrk=0. It's being treated as zero anyway.

Because the CALS table model specifies no rule at the break I think this
requires /TableRulePreBrk=2 to force a rule to appear. Both 0 and 1 in
a CALS table would turn off the bottom rule.

Cheers,

David

David S. Taylor

Project Manager, Structured Information
Institute for Research in Construction
National Research Council Canada
Bldg. M-23A, Room 239
1200 Montreal Road, Ottawa, ON K1A 0R6
cleccese
5-Regular Member
(To:xmlmarkup)

Thanks for this! If you want the continued table border closed top on first page, open on top and bottom on the middle pages and closed bottom on the last page, put this in the .tmx file:


\repeatcolumnheadtoprulefalse
\TableRulePreBrk=0
\TableRulePostBrk=1

Announcements