[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

319.0. "LITERAL didn't work !!" by RDGENG::BALLARD () Thu Apr 30 1987 08:54

    I typed in my .GNC file the following segment :
    
    <LITERAL>
    <TABLE>
    <TABLE_SETUP>(2\16)
    <TABLE_ROW>(July\Benidorm)
    <TABLE_ROW>(September\Bruges)
    <TABLE_ROW>(December\Toronto)
    <ENDTABLE>
    <ENDLITERAL>
    
    expecting the output to be 
      <TABLE>
      <TABLE_SETUP>(2/16)
       .  .  .
      <ENDTABLE>

    
    but it all came out on ONE line instead of on SEPARATE lines.
    Why ??!
T.RTitleUserPersonal
Name
DateLines
319.1try <code_example><literal>...VAXUUM::KOHLBRENNERThu Apr 30 1987 09:1310
    <literal> ... <endliteral> does not preserve the format, it
    only prevents the tags from being "seen."  So the words are
    still words, and they get filled, justified, hyphenated, whatever.
    
    If you wanted the format to be preserved, then you have to
    surround the <literal>...<endliteral> with one of the "example"
    tags, such as <code_example>...<endcode_example>.  The example
    tags preserve the format and usually select a monospaced font,
    so that it looks like an example of what you would see on your
    monospaced screen, or line printer.