Inserting Newlines

(I´ve taken all solutions from the dsssl-list)

A

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

(make formatting-instruction data: "
")

Norman Walsh ndw@nwalsh.com

B

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")
Daniel Speck e-mail: dspeck@thomtech.com

C

I use (literal "\U-000D") to get a newline with the sgml backend. Email: clasen@mathematik.uni-freiburg.de