docbook: Forcing page breaks etc
Subject:
Re: Forcing page breaks etc
From:
Togan Muftuoglu ####@####.####
Date:
30 Jan 2003 07:26:33 -0000
Message-Id: <20030130072627.GC2731@dinamizm.com>
* Tabatha Persad; ####@####.#### on 29 Jan, 2003 wrote:
>On Wed, 2003-01-29 at 21:59, Togan Muftuoglu wrote:
>
>> >He was also interested in finding out if there was any way to re-center
>> >titles during conversion. Again, I believe that's being affected by
>> >something applied during the conversion process, but not sure how to
>> >help.
>>
>> How is the conversion done ? Titles of which element ?
>
>Conversion of the XML to RTF or HTML is done using Openjade along with
>the docbook dsl and the xml dcl. As for titles, I mean the titles of
>chapters and sections. The output for titles are usually flushed left,
>and he would like in the conversion to RTF to have these titles
>re-centered prior to conversion from RTF to PDF. Let me know if you
>need more info!
I think the following should do it. On the other hand I find FOP to
produce PDF a better approach and lets me to use XSL
;;======================================
;;Quadding
;;======================================
;;What quadding do you want by default; start, center, justify, or end?
;;start
(define %default-quadding%
'justify)
;;What quadding for component titles(Chapter, Appendix, etc)? start
(define %component-title-quadding%
'center)
;;What quadding for section titles?
(define %section-title-quadding%
'center)
;;What quadding for section sub-titles?
(define %section-subtitle-quadding%
'center)
;;What quadding for article title? start
(define %article-title-quadding%
'center)
;;What quadding for division subtitles?
(define %division-subtitle-quadding%
'center)
;;What quadding for component subtitles?
(define %component-subtitle-quadding%
'center)
;;What quadding for article sub-titles?
(define %article-subtitle-quadding%
'center)
--
Togan Muftuoglu