Re: ASCII Text output using Jade

Subject: Re: ASCII Text output using Jade
From: Daniel Speck <dspeck@xxxxxxxxxxxx>
Date: Thu, 11 Jun 1998 13:07:11 -0400

Dan Hable wrote:

>         2) Could someone tell me if there is a command or escape
> sequence to force a line return?
>

With the SGML backend you can use the non-standard formatting-instruction
flow object class to insert arbitrary text strings into the output, for
example,

(element p
    (sosofo-append
        (formatting-instruction data: "&#RE;")
        (process-children)))

Note that \n is not recognized as a newline character--you either need to
do as I do above and use &#RE; or actually embed a newline in the string.
You must declare the formatting-instruction flow object class before using
it:

(declare-flow-object-class formatting-instruction
  "UNREGISTERED::James Clark//Flow Object Class::formatting-instruction")

-dan

--
Daniel Speck                              e-mail: dspeck@xxxxxxxxxxxx
Systems Engineer                           voice:     +1 301.548.7818
Thomson Technology Services Group            fax:     +1 301.527.4094
1375 Piccard Drive, Rockville, MD 20850      WWW:    www.thomtech.com



 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread
  • ASCII Text output using Jade
    • Dan Hable - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id KAA27790Thu, 11 Jun 1998 10:22:25 -0400 (EDT)
      • Daniel Speck - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id NAA01077Thu, 11 Jun 1998 13:21:30 -0400 (EDT) <=
      • Matthias Clasen - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id SAA06206Thu, 11 Jun 1998 18:35:21 -0400 (EDT)
      • <Possible follow-ups>
      • Dan Hable - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id MAA29995Thu, 11 Jun 1998 12:38:19 -0400 (EDT)
      • Reynolds, Gregg - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id NAA01343Thu, 11 Jun 1998 13:28:02 -0400 (EDT)
      • W. Eliot Kimber - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id LAA04577Mon, 15 Jun 1998 11:53:49 -0400 (EDT)