Re: IMPORTANT: transforming SGML to RTF

Subject: Re: IMPORTANT: transforming SGML to RTF
From: Paul Prescod <papresco@xxxxxxxxxxxxxxxx>
Date: Fri, 01 Aug 1997 17:50:10 -0400
Olivier ROUSSEAU wrote:
> 
> If someone could help me.
> 
> 1)  My problem is the folowing. Is it possible (and how??)  to have the
> final RTF display, whith objects if an order different than in SGML.
> 
>   For example: I have this:
> 
> <chapter>
> <title>This is the title</title>
> <graphic ID=.....>comment</graphic>
> </chapter>
> 
>   And I want the graphic to be displayed before the title.

Off the top of my head:

(element title (let ((graphic-element (ifollow (current-node))))
  (sosofo-append
    (make (external-graphic ***));;; same code as usual for graphic, 
                            ;;; but do operations on graphic-element,
not (current-node) 
    (make paragraph ***) ;;; code to handle title 
    ))

 Paul Prescod

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


Current Thread