Re: Repeating data after applying style to SGML document

Subject: Re: Repeating data after applying style to SGML document
From: Daniel Speck <dspeck@xxxxxxxxxxxx>
Date: Thu, 04 Jun 1998 16:44:07 -0400

Dan Hable wrote:

> That was the problem. Thanks! I'm still having problems with the
> following code from my DSSSL stylesheet:
>
> (element digest
>   (make sequence
>     (make paragraph font-family-name: titileFont
>       font-size: 20pt
>       start-indent: 0pt
>       line-spacing: 26pt
>       quadding: 'center
>       (literal: "My Digest"))
>     (make simple-page-sequence)))
>

Flow object classes can only be combined in certain ways. You are trying to
stick a paragraph onto a simple-page-sequence which is not allowed. Instead
do:

(element digest
    (make simple-page-sequence
        (sosofo-append
            (make paragraph font-family-name: titileFont
              font-size: 20pt
              start-indent: 0pt
              line-spacing: 26pt
              quadding: 'center
              (literal: "My Digest"))
            (process-children))))
 -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
  • Repeating data after applying style to SGML document
    • Dan Hable - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id LAA06891Thu, 4 Jun 1998 11:52:07 -0400 (EDT)
      • Daniel Speck - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id NAA08696Thu, 4 Jun 1998 13:00:01 -0400 (EDT)
      • <Possible follow-ups>
      • Dan Hable - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id OAA11553Thu, 4 Jun 1998 14:51:01 -0400 (EDT)
        • Daniel Speck - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id QAA18449Thu, 4 Jun 1998 16:55:38 -0400 (EDT) <=