ietf-822
[Top] [All Lists]

Re: text/enriched

1993-08-15 22:38:05
On Sat, 14 Aug 93 10:26:02 +1000 rhys(_at_)cs(_dot_)uq(_dot_)oz(_dot_)au 
wrote...
Chris writes:

I think you are misunderstanding the use of verbatim within text/enriched.
It is for situations such as the following:

      The factorial computation can be expressed in C as a function:

      <indent><verbatim>
      int fact (int n)
      {
        if (n > 1)
          return (n * fact (n - 1));
         else
          return (1);
      }
      </verbatim></indent>

i.e. short code or text/plain snippets.  Now, this could be done with a
multipart/mixed, up to a point.  Note the use of <indent>.  If the message

I don't think you can expect every parser to indent verbatim sections.  In
fact if you do indent the verbatim text, it isn't verbatim any more.  Please
correct me if I am mistaken.


Cheers,

Rhys.

-- Mark Keasling
   AIR Company LTD, Nishikawa Mitsui Bldg, 1-3-14 Kitahama, Chuo-ku, Osaka 541
   email: makr%air(_at_)unify(_dot_)com    phone: +1 81 6201 4307    fax: +1 81 
6201 2107



<Prev in Thread] Current Thread [Next in Thread>