[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK-APPS: Presentation of legalnotice with DSSSL
Without thinking too hard (or testing) .... ;-) Firstly, set the following variable: (define %titlepage-in-info-order% #f) Next, define what you want elements you want: (define (book-titlepage-verso-elements) (list (normalize "legalnotice") (normalize "copyright") (normalize "edition") (normalize "pubdate") (normalize "abstract") (normalize "revhistory"))) Now use a "mode" to process these: (mode book-titlepage-verso-mode (element legalnotice (make display-group break-before: 'page (process-children) ) ) (element (legalnotice para) (make paragraph space-after: 10pt (process-children) ) ) ... Then all your other elements ) Then everything should come out in the order you want.... Obviously you need to center the paragraphs etc. But that should be straight forward. Hope that helps.. On Tue, 2002-02-12 at 18:17, Declan Halpin wrote: > Hi, > > I am trying to modify how a legalnotice is printed in pdf. Basically I would > like the citetitle markup centered on the page followed by the remaining > paragraphs of the legalnotice. I have tried the following code but the > citetitle element gets printed before all paragraphs (see below).... > Does anyone have an idea on what I should change with the code fragment below > to get my desired output. > > Thanks > Declan > -------------------------------------------------------------------- > DSSSL code: > > (element (legalnotice para) > (let* ( > (bookinf > (select-elements (children (sgml-root-element)) > (normalize "bookinfo"))) > (legalnotice > (select-elements (descendants bookinf) (normalize "citetitle")))) > (make sequence > (make paragraph > font-posture: 'italic > font-family-name: "Helvetica" > font-size: 8pt > use: book-titlepage-verso-style > quadding: 'center > font-size: 10pt > (process-node-list (node-list-first legalnotice))) > (make paragraph > use: book-titlepage-verso-style > quadding: 'start > line-spacing: (* 0.8 (inherited-line-spacing)) > font-size: (* 0.8 (inherited-font-size)) > (process-children)) > ))) > > -------------------------------------------------------------------- > Desired Output: > > Copyright, Confidentiality and Disclaimer > para 1 > > para 2 > > para 3 > > -------------------------------------------------------------------- > Actual Output: > > Copyright, Confidentiality and Disclaimer > Copyright, Confidentiality and Disclaimer > para 1 > > Copyright, Confidentiality and Disclaimer > > para 2 > Copyright, Confidentiality and Disclaimer > > para 3 > > This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC