[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] back cover in FO
There is no standard way of doing a back cover in DocBook XSL. But there are several ways to do it in your customization. The main question is whether the back cover can be its own page sequence. If so, then you could put a <colophon> element at the end of your book, perhaps with a role="backcover" attribute, and write a <xsl:template match="colophon[@role='backcover']"> template to format it as you like. You could look at the match="colophon" template in fo/component.xsl to get started, as it creates a page-sequence. It calls a "colophon.titlepage" template, so perhaps you could just customize that. Or you could copy the match="book" template from fo/division.xsl to your customization, and add to the end of the template something like <xsl:call-template name="back.cover">, and then write that template. But the match="book" template is very long, and that is a small change to it. Bob Stayton Sagehill Enterprises DocBook Consulting bobs@sagehill.net ----- Original Message ----- From: "martin jakubik" <martin.jakubik@solsoft.com> To: <docbook-apps@lists.oasis-open.org> Sent: Tuesday, June 14, 2005 5:05 AM Subject: [docbook-apps] back cover in FO > Hi folks, > > I'd like to add a back cover to my PDF books. I am using DocBook XML: > docbook-xsl-1.68.1 and Apache FOP 0.20.5. > > I need to add some fixed text, with a specific layout, to the back cover > of several different books. These books are PDFs, intended for > double-sided printing, with a front cover and a back cover. The back > cover always has the same text. > > Bob's book was great for customising front covers, but I haven't found > enough info there, nor in this list, about back covers. > > Can anybody explain what the standard docbook way of adding a back cover > to a PDF would be? > > Thanks, > martin > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org > > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]