Re: breakup (was: Issues with literate programming DSSSL Script)

Subject: Re: breakup (was: Issues with literate programming DSSSL Script)
From: Simon Pepping <spepping@xxxxxxxxxxxxxxxx>
Date: Fri, 24 Dec 1999 21:37:16 +0100
On Thu, Dec 23, 1999 at 03:11:47PM -0600, Brandon Ibach wrote:
> Quoting Simon Pepping <spepping@xxxxxxxxxxxxxxxx>:
> > On Tue, Dec 21, 1999 at 06:23:39PM -0600, Brandon Ibach wrote:
> > > 
> > > (define breakup .......
> > 
> > This is a very useful procedure to break up mixed content nodes. Would
> > it not be a good idea to make it part of the procedures library?
> >  
>    Perhaps, although it would need, at the least, a better name. :)
> Tony, whaddaya think?
> > > (element scrap
> > >   (let loop ((c (breakup)) (r (empty-sosofo)))
> > >     (if (null? c) r (loop (cdr c) (sosofo-append r
> > >           (if (node-list? (car c)) (process-node-list (car c))
> > >               (make formatting-instruction data: (car c))))))))
> > 
> > My SGML backend does not pass on the data; the TeX backend does.
> >  
>    So, the strings just don't appear at all?  For that matter, how
> *could* they show up in the TeX backend, when it doesn't support the
> formatting-instruction FO?  Can you clarify this?

The TeX backend does accept it since it has a function
formattingInstruction, which outputs the argument. Strangely enough,
it does not declare it as one of its extensions in makeTeXFOTBuilder,
so it seems built-in. It is the style engine that refuses the FO
unless one declares it as an extension.

The SGML backend I have (openjade, 1.4devel, early october) does not
have such a function, and indeed the string does not appear at all.

>    As I mentioned to Mark, I have a simple, but complete, example of
> this stuff in action, which I can pass along, if you're interested.

Yes, that would be interesting.
> -Brandon :)


Simon Pepping
email: spepping@xxxxxxxxxxxxxxxx

 DSSSList info and archive:

Current Thread