[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference vaxuum::document_ft

Title:DOCUMENT T1.0
Notice:**New notesfile (DOCUMENT.NOTE) now available (see note 897)**
Moderator:CLOSET::ADLER
Created:Mon Feb 09 1987
Last Modified:Thu Oct 31 1991
Last Successful Update:Fri Jun 06 1997
Number of topics:897
Total number of notes:4397

662.0. "Table setups are being over-counted" by COOKIE::JOHNSTON () Tue Jul 14 1987 20:41

DOCUMENT has a problem nesting tables; it adds up the table setup for each
nested table to come up with a grand total, rather than considering each
table within its own "space":

<table>
<table_setup>(5\10\7\10\10)
<table_row>(Johnny\<table>
                   <table_setup>(4\7\10\10)
                   <table_row>(Sally...)
                   <endtable>)
<endtable>

DOCUMENT adds the two table setups in the above code to come up with 64
characters, which is 4 characters too long for s.s doctype.  One result is 
that the table rows are being crammed into the table in that little bitty font.

I found this out while doing a COMPILE/REVIEW in LSE.

Is there a workaround?

Is it corrected in V1.0?


Rose


T.RTitleUserPersonal
Name
DateLines
662.1yes, they areCLOSET::ANKLAMMon Jul 20 1987 09:0820
    
    At first, I thought this was a misunderstanding of the way table
    row counts are accumulated, but took another look. I see that
    there is a problem with a nested table that is not in the last column
    of an outer table. (the counts of nested tables are accumulated
    such that if when the nested table is in the last column, it won't
    overflow.)
    
    You can work around this problem by doing:
    
    <set_table_threshold>(200\200)
    
    This is the tag used internally to set the maximum values. By setting
    this very high, you can get the tag translator to overlook your
    values. Note that the text formatter itself may still force the
    nested table to the itty bitty font when you try to cram a 4-column
    table into a single column of a 5-column table!
                
    
    patti