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] Getting more output from <author> & <othercredit>


Hi Karl,
I presume you mean for an author element in a para, as opposed to an author in an info element. The latter is processed by a template in fo/titlepage.xsl starting like this:

<xsl:template match="author" mode="titlepage.mode">

and it does output orgname and email.

An inline author element is processed by a template in fo/inline.xsl starting like this:

<xsl:template match="author">

which just calls a template named 'person.name'. You would need to customize that template to be more like the one in titlepage.xsl.

Or you could try something like this:

<xsl:template match="author">
  <xsl:apply-templates select="." mode="titlepage.mode"/>
</xsl:template>

and then they would have the same behavior.

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net

On 10/28/2015 11:23 AM, Karl O. Pinc wrote:
Hi,

Is there a handy way of getting more of the elements
contained in <author> or <othercredit> into the output?
I'm interested in elements like <email>, <uri>,
and the content of <affiliation>, like <orgname>.

Thanks.


Karl <kop@meme.com>
Free Software:  "You don't pay back, you pay forward."
                  -- Robert A. Heinlein

---------------------------------------------------------------------
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]