From 5d186e6362048ec4e4648b6a2a6207453dcc8154 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Wed, 7 Apr 2021 15:56:17 +0200 Subject: [PATCH] xep.xsl: produce BibLaTeX entry MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I am tired of seeing all those badly or misreferenced XEPs out there. This produces a high-quality BibLaTeX entry that follows the recommendations of the biblatex Package and draft-carpenter-rfc-citation-recs-01 ยง 5.2 [1]. It also uses proper 'date' attribution, from the first date in the XEP history to the date of the latest revision entry. 1: https://tools.ietf.org/html/draft-carpenter-rfc-citation-recs-01#section-5.2 --- xep.xsl | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/xep.xsl b/xep.xsl index 504e1435..cee73883 100644 --- a/xep.xsl +++ b/xep.xsl @@ -481,6 +481,40 @@ content: "XEP-";

END

+

Appendix I: Bib(La)TeX Entry

+ + + + + + + + + + + + + xep + + + + + + +
+
+@report{,
+  title = {},
+  version = {},
+  type = {XEP},
+  number = 
+  author = {  and 
+},
+  institution = {XMPP Standards Foundation},
+  url = {https://xmpp.org/extensions/xep-.html},
+  date = {/},
+}
@@ -513,6 +547,7 @@ content: "XEP-";
  • Requirements Conformance
  • Notes
  • Revision History
  • +
  • Bib(La)Tex Entry