[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

414.0. "<CODE_EXAMPLE> in stacked list" by AUTHOR::WELLCOME (Steve) Fri May 22 1987 15:39

DOCUMENT gives the error, "CODE_EXAMPLE invalid in this context; context
established by LIST on line ___" when fed the following file:

<CODE_EXAMPLE>(/CR)<LIST>(STACKED\BRACKETS)
  <LE><CODE_EXAMPLE>(:) <LIST>(STACKED\BRACES)
    <LE><CODE_EXAMPLE>(SYM)
    <LE><CODE_EXAMPLE>(MAC)
    <LE><CODE_EXAMPLE>(REG)
    <LE><CODE_EXAMPLE>(PST)
    <LE><CODE_EXAMPLE>(SEC)
    <LE><CODE_EXAMPLE>(ERR)
    <ENDLIST>
  <ENDLIST>

The problem seems to be the fact that it's a stacked list; I'm pretty
sure I've used CODE_EXAMPLEs in unstacked lists with no problem.  Any
chance of having DOCUMENT accept this case as well?
T.RTitleUserPersonal
Name
DateLines
414.1IncompatibleCLOSET::ANKLAMTue May 26 1987 08:457
    
    Sorry, monospaced examples and stacked lists are complex,
    incompatible environments.
    
    But, it looks to me as if all you really need is an <emphasis> tag;
    you are giving arguments to <code_example>, which in general
    results in italics.