Name

t:person-name-list — Formats a sequence of personal names.

Template:
{http://docbook.org/ns/docbook/templates}person-name-list
Defined in:
modules/info.xsl
Used in:
modules/bibliography.xsl, modules/info.xsl
Used by:
t:person-name-list

Synopsis

<xsl:template name="t:person-name-list">
  <xsl:param name="person.list"/>
  <xsl:param name="person.count"/>
  <xsl:param name="count"/>
</xsl:template>

Description

Formats a sequence of names:

  • If the sequence consists of a single name, it is formatted.

  • If the sequence consists of exactly two names, they are formatted with “and” between them where “and” is taken from the in-scope language localization file. It is the item with the key “author-sep2”.

  • If the sequence consists of more than two names, all but the last are separated by “, “ (the localization item with the key “author-sep”). The last is separated by “, and” (the localization item with the key “author-seplast”).