1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-21 16:55:07 -05:00

xep.xsl: use proper biblatex name list part ordering

Name lists start with the family name, follow by the given name. See
biblatex(.pdf) § 2.2.1.
This commit is contained in:
Florian Schmaus 2021-04-13 20:02:18 +02:00
parent 1339517023
commit 8670200e48

View File

@ -509,7 +509,7 @@ content: "XEP-<xsl:value-of select='/xep/header/number'/>";
version = {<xsl:value-of select='/xep/header/revision[position()=1]/version'/>}, version = {<xsl:value-of select='/xep/header/revision[position()=1]/version'/>},
type = {XEP}, type = {XEP},
number = {<xsl:value-of select='/xep/header/number'/>}, number = {<xsl:value-of select='/xep/header/number'/>},
author = {<xsl:for-each select='/xep/header/author'><xsl:value-of select='firstname'/><xsl:text> </xsl:text><xsl:value-of select='surname'/><xsl:if test="not(position() = last())"> and </xsl:if></xsl:for-each>}, author = {<xsl:for-each select='/xep/header/author'><xsl:value-of select='surname'/><xsl:text>, </xsl:text><xsl:value-of select='firstname'/><xsl:if test="not(position() = last())"> and </xsl:if></xsl:for-each>},
institution = {XMPP Standards Foundation}, institution = {XMPP Standards Foundation},
url = {https://xmpp.org/extensions/xep-<xsl:value-of select='/xep/header/number'/>.html}, url = {https://xmpp.org/extensions/xep-<xsl:value-of select='/xep/header/number'/>.html},
date = {<xsl:value-of select='/xep/header/revision[position()=last()]/date'/>/<xsl:value-of select='/xep/header/revision[position()=1]/date'/>}, date = {<xsl:value-of select='/xep/header/revision[position()=last()]/date'/>/<xsl:value-of select='/xep/header/revision[position()=1]/date'/>},