[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook] othercredit
Hi Peter,The titlepage template for othercredit already can do that, if you put the displayed title in the <contrib> element:
<othercredit class="translator"> <personname> <firstname>John</firstname> <surname>Smith</surname> </personname> <contrib>Translated by</contrib> </othercredit>If you want to do the same from the class attribute instead, you would need to customize the template starting with:
<xsl:template match="othercredit" mode="titlepage.mode"> in titlepage.xsl. -- Bob Stayton Sagehill Enterprises bobs@sagehill.net On 12/20/2013 4:18 AM, Peter Fleck wrote:
Hi all, I know that _editedby.enabled_ produces " *Edited by*" Is it possible to get the class of /othercredit/ to produce other contributions: *<class> by <name>* For example: <othercredit class="translator"> <personname> <firstname>John</firstname> <surname>Smith</surname> </personname> </othercredit> would produce *Translated by: John Smith* Many thanks, Peter
-- Bob Stayton Sagehill Enterprises bobs@sagehill.net
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]