This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Problems with pesentation of legalnotice with DSSSL
- From: Peter Eisentraut <peter_e at gmx dot net>
- To: Declan Halpin <HalpinD at logica dot com>
- Cc: Docbook Apps list <docbook-apps at lists dot oasis-open dot org>
- Date: Thu, 21 Feb 2002 20:49:21 -0500 (EST)
- Subject: Re: DOCBOOK-APPS: Problems with pesentation of legalnotice with DSSSL
Declan Halpin writes:
> 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
> below but the citetitle element gets printed before all paragraphs.... Does
> anyone have an idea on what I should change with the code to get my desired
> output.
>
> The following is a summary of the structure of my legalnotice in docbook xml.
> <legalnotice>
> <para>
> <citetitle>Copyright, Confidentiality and Disclaimer</citetitle>
> </para>
I think you want to use
<legalnotice>
<title>Copyright ...</title>
<para>
...
</para>
<para>
...
</para>
...
</legalnotice>
and leave the stylesheet alone.
If all you want is to center the title, override the form
(mode formal-object-title-mode (element title ...))
seen in file dbblock.dsl.
--
Peter Eisentraut peter_e@gmx.net