[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

214.0. "Why is <LINE>(INDENT\...) limited to 3 levels?" by SARAH::P_DAVIS (Peter Davis, X-NYer) Tue Apr 07 1987 15:49

    Based on a suggestion from Patti Anklam, I used the <LINE>(INDENT\unit)
    tag to format some pseudo-code in a technical paper I was writing.
    I wanted the code to look like an algorithm written in a structured
    programming language, where indenting can be used to indicate
    structure.  Since the pseudo-code contained a lot of math, the various
    code/example tags didn't seem to fit the bill.
    
    Luckily, I was able to get by with 3 levels of indentation.  However,
    I noticed that the documentation for <LINE> specifies that that's
    the limit.  Why?  Is there any chance of lifting this restriction
    in future?  I can easily imagine a need for representing more complex
    algorithms, in which more levels of indentation would be needed.
T.RTitleUserPersonal
Name
DateLines
214.1can be uppedCLOSET::ANKLAMThu Apr 09 1987 16:058
    
    The limit is easily increased. I selected what I thought was a 'safe'
    value to keep people from ending up with terrible TeX errors if
    they got too deeply nested. I'll try to run some tests to see how
    far over one may safely go...
    
    patti