1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-21 08:45:04 -05:00

xep.xsl: reorder biblatex 'author' field right after 'title' field

The 'title' and 'author' field are the two most important fields,
hence it is sensible to have them up front.
This commit is contained in:
Florian Schmaus 2021-04-13 20:32:08 +02:00
parent 6e9ccbeaad
commit 2f0ea521d7

View File

@ -506,10 +506,10 @@ content: "XEP-<xsl:value-of select='/xep/header/number'/>";
<!-- If we had XSL 2.0 we could use year-from-date() and lower-case() below. -->
@report{<xsl:value-of select='$lowercased-surname-firstauthor'/><xsl:value-of select='$year-of-first-history-entry'/><xsl:value-of select='$bibtex-citekey-postfix'/>,
title = {<xsl:value-of select='/xep/header/title'/>},
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>},
version = {<xsl:value-of select='/xep/header/revision[position()=1]/version'/>},
type = {XEP},
number = {<xsl:value-of select='/xep/header/number'/>},
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},
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'/>},