List Info

Thread: Formatting multiple subtitles




Formatting multiple subtitles
user name
2007-06-05 09:18:59
Hello,

I've got a DocBook document with multiple subtitle elements
(bookinfo)
and I'd like to style each of them a bit differently on the
recto side
of the title page (by default at least, all the subtitles
have the
same formatting applied). I'm mostly looking to tweak font
size,
font-weight, etc.

Is there a way I can have indicate different formatting for
different
subtitles in the title page spec file (based on
fo/titlepage.templates.xml) or would I need to do my own
table layout
for this with a custom book.tiltepage.recto template?

Thanks,
Ken

------------------------------------------------------------
---------
To unsubscribe, e-mail: docbook-apps-unsubscribelists.oasis-open.org
For additional commands, e-mail: docbook-apps-helplists.oasis-open.org


Re: Formatting multiple subtitles
user name
2007-06-05 10:02:09
Ken,

what about using the role attribute on subtitle to
distinguish them? 
Then you can write some template code to process each of the
different 
subtitle roles appropriately?

Best regards,

--Scott

Ken Morse wrote:
> Hello,
> 
> I've got a DocBook document with multiple subtitle
elements (bookinfo)
> and I'd like to style each of them a bit differently on
the recto side
> of the title page (by default at least, all the
subtitles have the
> same formatting applied). I'm mostly looking to tweak
font size,
> font-weight, etc.
> 
> Is there a way I can have indicate different formatting
for different
> subtitles in the title page spec file (based on
> fo/titlepage.templates.xml) or would I need to do my
own table layout
> for this with a custom book.tiltepage.recto template?
> 
> Thanks,
> Ken
> 
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: docbook-apps-unsubscribelists.oasis-open.org
> For additional commands, e-mail: docbook-apps-helplists.oasis-open.org
> 
> 


------------------------------------------------------------
---------
To unsubscribe, e-mail: docbook-apps-unsubscribelists.oasis-open.org
For additional commands, e-mail: docbook-apps-helplists.oasis-open.org


Re: Formatting multiple subtitles
user name
2007-06-05 15:50:15
Great idea Scott -- works very well.

Thanks,
Ken

On 6/5/07, Scott Hudson <scott.hudsonflatironssolutions.com> wrote:
> Ken,
>
> what about using the role attribute on subtitle to
distinguish them?
> Then you can write some template code to process each
of the different
> subtitle roles appropriately?
>
> Best regards,
>
> --Scott

------------------------------------------------------------
---------
To unsubscribe, e-mail: docbook-apps-unsubscribelists.oasis-open.org
For additional commands, e-mail: docbook-apps-helplists.oasis-open.org


[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )