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

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Problem with TMX file NoRepeatColumnheadToprule

AndyEsslinger
1-Visitor

Problem with TMX file NoRepeatColumnheadToprule

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

2 REPLIES 2

Adepters,

I received no response from adepters, but in case anyone is interested the root cause of the behavior described in my posting was caused by an undefined environment variable: APTCUSTOM.

I run at least two versions of Arbortext Editor using appropriate environment settings for each version. If I start Arbortext from the START-->ALL PROGRAMS-->Arbortext-->Editor instead of using the batch file then my customized TMX file was missing giving me the symptom illustrated.

If APTCUSTOM is not defined, its location defaults to [install-path]\custom and there is nothing but empty folders in [install-path]\custom. I can't use a custom directory inside C:\Program Files because only a process named "TRUSTED-INSTALLERS" is allowed to write there. In Windows 7 it is even more restrictive.

File this in case you see it again.
-Andy

\ / Andy Esslinger LM Aero - Tech Order Data
_____-/\-_____ (817) 279-0442 1 Lockheed Blvd, MZ 4285
\_\/_/ (817) 777 3047 Fort Worth, TX 76108-3916

So far, in my experience, Windows 7 has been a PITA.
Announcements

Top Tags