1-Visitor
June 28, 2012
Question
Problem with TMX file NoRepeatColumnheadToprule
- June 28, 2012
- 2 replies
- 1235 views
Adepters,
Using Arbortext Epic 5.3m040 running on Windows XP with 3 gig of RAM installed I am encountering a problem that I thought was solved y a custom.tmx file back in 2008. When a table continues to another page Arbortext Editor with Print Composer is repeating the top rule. This is not supposed to happen and I have no clue why it is happening now.
Does anyone else have this problem or a different fix for it?
Here is a snapshot of the top of the page and the applicable portion of the custom.tmx file:
[cid:image002.png@01CD554B.109375E0]
%------------------------------------------------------------------
% File: custom.tmx
%
% Description: This file defines special formatting instructions
% for all doctypes (locate in custom\inputs).
%
% Version: 2008-01-08 - testing complete, moved to production.
%
% 2007-07-25 Disable check for "5.0 (Chestnut)" so
% "5.2 (Maple and later") will work.
% -AWE
%------------------------------------------------------------------
% ****** Start of Patch NoRepeatColumnheadToprule.tmx
%
% Patch: NoRepeatColumnheadToprule
% EPIC Version: Version 5.0 (Chestnut)
% Reference Number: Case 33067
%
% This patch causes table columnhead top rules not to be repeated
% where the table breaks and continues to a new column or page.
% This patch is applicable for Epic 5.0 through 5.1.
\newif\ifrepeatcolumnheadtoprule
\repeatcolumnheadtoprulefalse
% Disable check for Chestnut so it will work for Maple.
%\checkfmtversion{Version 5.0 (Chestnut)}{NoRepeatColumnheadToprule}
\newif\ifrepeatcolumnheadtoprule
\repeatcolumnheadtoprulefalse
\def\Rowgroup #1#2{% ===
\rowgroup@fclass=#1\relax
\ifcase#2\relax
\rowgroup@head@false
\rowgroup@foot@false
\or
\rowgroup@head@true
\rowgroup@foot@false
\or
\rowgroup@head@false
\rowgroup@foot@true
\or
\rowgroup@head@true
\rowgroup@foot@true
\fi
\ifrepeatcolumnheadtoprule\else
\table@emit@rowrule@box{0}{\table@rowrule@mid}% most recent row rule
\setbox\table@rowrule@mid=\copy\table@rowrule@none
\fi
\setbox\rowgroup@box=\vbox
\bgroup
\vspan@reset
%
% Migrate inserts and marks into the main vertical list after the group.
% Remove when the OR starts doing it's own migration for deep-split. XXX
\adjustinto\rowgroup@migrations
\needmigrationtrue
}
% ****** End of Patch NoRepeatColumnheadToprule.tmx
\ / Andy Esslinger LM Aero - Tech Order Data
_____-/\-_____ (817) 279-0442 1 Lockheed Blvd, MZ 4285
\_\/_/ (817) 777 3047 Fort Worth, TX 76108-3916
Using Arbortext Epic 5.3m040 running on Windows XP with 3 gig of RAM installed I am encountering a problem that I thought was solved y a custom.tmx file back in 2008. When a table continues to another page Arbortext Editor with Print Composer is repeating the top rule. This is not supposed to happen and I have no clue why it is happening now.
Does anyone else have this problem or a different fix for it?
Here is a snapshot of the top of the page and the applicable portion of the custom.tmx file:
[cid:image002.png@01CD554B.109375E0]
%------------------------------------------------------------------
% File: custom.tmx
%
% Description: This file defines special formatting instructions
% for all doctypes (locate in custom\inputs).
%
% Version: 2008-01-08 - testing complete, moved to production.
%
% 2007-07-25 Disable check for "5.0 (Chestnut)" so
% "5.2 (Maple and later") will work.
% -AWE
%------------------------------------------------------------------
% ****** Start of Patch NoRepeatColumnheadToprule.tmx
%
% Patch: NoRepeatColumnheadToprule
% EPIC Version: Version 5.0 (Chestnut)
% Reference Number: Case 33067
%
% This patch causes table columnhead top rules not to be repeated
% where the table breaks and continues to a new column or page.
% This patch is applicable for Epic 5.0 through 5.1.
\newif\ifrepeatcolumnheadtoprule
\repeatcolumnheadtoprulefalse
% Disable check for Chestnut so it will work for Maple.
%\checkfmtversion{Version 5.0 (Chestnut)}{NoRepeatColumnheadToprule}
\newif\ifrepeatcolumnheadtoprule
\repeatcolumnheadtoprulefalse
\def\Rowgroup #1#2{% ===
\rowgroup@fclass=#1\relax
\ifcase#2\relax
\rowgroup@head@false
\rowgroup@foot@false
\or
\rowgroup@head@true
\rowgroup@foot@false
\or
\rowgroup@head@false
\rowgroup@foot@true
\or
\rowgroup@head@true
\rowgroup@foot@true
\fi
\ifrepeatcolumnheadtoprule\else
\table@emit@rowrule@box{0}{\table@rowrule@mid}% most recent row rule
\setbox\table@rowrule@mid=\copy\table@rowrule@none
\fi
\setbox\rowgroup@box=\vbox
\bgroup
\vspan@reset
%
% Migrate inserts and marks into the main vertical list after the group.
% Remove when the OR starts doing it's own migration for deep-split. XXX
\adjustinto\rowgroup@migrations
\needmigrationtrue
}
% ****** End of Patch NoRepeatColumnheadToprule.tmx
\ / Andy Esslinger LM Aero - Tech Order Data
_____-/\-_____ (817) 279-0442 1 Lockheed Blvd, MZ 4285
\_\/_/ (817) 777 3047 Fort Worth, TX 76108-3916

