| From | Sent On | Attachments |
|---|---|---|
| Joch...@Hayek.name | Jul 18, 2010 4:58 am | |
| Denis Bradford | Jul 18, 2010 5:30 am | |
| Mauritz Jeanson | Jul 18, 2010 6:01 am | |
| Joch...@Hayek.name | Jul 18, 2010 6:31 am | |
| Joch...@Hayek.name | Jul 18, 2010 10:05 am | |
| Bob Stayton | Jul 19, 2010 10:52 am | |
| Jochen Hayek | Jul 21, 2010 4:41 am | |
| Jochen Hayek | Jul 22, 2010 8:09 am |
| Subject: | Re: [docbook-apps] Re: article / info / author / address - how do I make it appear? | |
|---|---|---|
| From: | Bob Stayton (bo...@sagehill.net) | |
| Date: | Jul 19, 2010 10:52:39 am | |
| List: | org.oasis-open.lists.docbook-apps | |
Hi,
I had hoped, I would find a simple switch saying "include author?".
Well, there are a lot of info elements that could appear on title pages, there
are
many ways to order those elements, and there are many ways of formatting them.
Everyone has different requirements, so a simple switch would not be adequate.
That's
why Norm Walsh created the system of titlepage specification files, from which
the XSL
templates are generated using a separate process. That gives you complete
control
over what elements to use, the order, and the formats. It does make it more
complex,
but it is a reasonable solution to a complex problem.
I have generally found it easiest to copy the entire titlepage.templates.xml
file to a
new specification file, make any edits, process it to an XSL module, and import
that
XSL module. However, you don't have to copy the whole thing. You could create
a
smaller spec file that includes just the specs for one element like article or
book.
You could not just include t:titlepage-content, though.
<t:templates ...> <t:titlepage t:element="article" ...> <t:titlepage-content t:side="recto" ...> <title .../> <author .../> ... </t:titlepage-content> ...
Bob Stayton Sagehill Enterprises bo...@sagehill.net
----- Original Message ----- From: <Jochen+oasi...@Hayek.name> To: <docb...@lists.oasis-open.org> Sent: Sunday, July 18, 2010 10:05 AM Subject: [docbook-apps] Re: article / info / author / address - how do I make it appear?
Mauritz Jeanson writes:
| -----Original Message----- | From: Jochen+oasi...@Hayek.name | | I searched Bob's book for that (paper and online), | but to no success. | | I wrote a little document, | and it's necessary, that it shows my address. | | Any pointer pls?
The stuff inside <info> is part of the "titlepage", which has its own customization system:
"Example 13.6. Adding an element to a title page."
Would I have to copy that t:titlepage-content rule and add "<author/>" there?
And if the original rule gets improved during its lifetime, how would I notice but by "setting a watch-dog"?
I had hoped, I would find a simple switch saying "include author?".
Mauritz
Jochen





