[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

259.0. "Numbered List Problem" by CONRAD::SERACK (Ken Serack) Wed Apr 15 1987 20:14

    
    We are having problems with numbered lists.
    
    When the list number is less than or equal to 9, there is a 2 character
    space between the list number and the list item.
                                                                  
    When the list number is less than or equal to 99, there is a 1 character
    space between the list number and the list item.
    
    We can live with this (just barely :-). The real problem is as follows:
                                                                  
    When the list number is greater than 99, there is (depending
    on the doctype) either no space between the list number and the list
    item, or the number overwrites the list item. The latter is especially
    true when the numbers are terminated with periods.
    
    It would be very nice if document could put the same amount of space
    between the number and the list item no matter how large the list.
    
    Ken Serack
    DECwest Engineering
T.RTitleUserPersonal
Name
DateLines
259.1will think on itCLOSET::ANKLAMThu Apr 16 1987 18:279
    
    that's  tough one to implement, because it implies that DOCUMENT
    needs to know, whenever it does a list, how many items there are.
    Or, it takes the 'worst case' approach and formats all lists
    as if there were three digits for the numbers.... need to look at
    this more closely before jumping in.
    
    patti
    
259.2then the user could predeclare the necessary spaceATLAST::BOUKNIGHTEverything has an outlineThu Apr 16 1987 23:204
    how about another optional parameter specifying the number of 'places'
    to reserve for the list number?
    
    jack
259.3yCLOSET::ANKLAMFri Apr 17 1987 16:175
    
    yes, it would have to be something like that.
    
    patti
    
259.4Why can't DOCUMENT Figure it out?CLOSET::KAIKOWMon Apr 20 1987 09:182
Now that DOCUMENT is a 2 pass processor, why can't it figure it out for the 
user?
259.5why not.CLOSET::ANKLAMMon Apr 20 1987 09:235
    
    the overhead for that would be enormous. The only mechanism we have
    for saving first-pass information for use during the second pass
    is the symbol table. 
    
259.6Is this on or off the track?CLOSET::KAIKOWMon Apr 20 1987 09:322
Could you create an internal symbol for each list to keep track of such things?
As each list is terminated, the symbol would become available for the next list.
259.7right justified numbers50372::CAAHANSHans Bachner, ADG MunichMon May 25 1987 04:032
    Suggestions in .2 or .6 would also allow for right-justified list
    entry numbers (also requested in a previous note).  :-)