OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] Re: article / info / author / address - how do I make it appear?


> 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 .../>

Bob Stayton
Sagehill Enterprises

----- Original Message ----- 
From: <Jochen+oasis-open@Hayek.name>
To: <docbook-apps@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 

>>>>>> Mauritz Jeanson writes:
> |  -----Original Message-----
> |  From: Jochen+oasis-open@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:
>> http://www.sagehill.net/docbookxsl/HTMLTitlePage.html
>> http://www.sagehill.net/docbookxsl/TitlePagePrint.html
> "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
> ---------------------------------------------------------------------
> 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]