[gimp-help] authors: fix docbook output, personname requires a child element
- From: Jacob Boerema <jboerema src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-help] authors: fix docbook output, personname requires a child element
- Date: Sun, 13 Mar 2022 23:11:46 +0000 (UTC)
commit a2e5435a1dd7a7693650b18a8cb5da58e83bf5ab
Author: Jacob Boerema <jgboerema gmail com>
Date: Fri Mar 11 13:05:17 2022 -0500
authors: fix docbook output, personname requires a child element
We were getting make validate errors because we omitted a child element
inside <personname>.
Since splitting in firstname and surname is problematic with the authors
list we have, let's just use othername.
The main thing is that we separate the name from the list of languages to
be able to not translate the names of authors.
(cherry picked from commit 32e6aeff356d73ddb827ada9ef4cb1ec14c6b188)
stylesheets/authors_docbook.xsl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/stylesheets/authors_docbook.xsl b/stylesheets/authors_docbook.xsl
index bab9d079c..c5f19d33f 100644
--- a/stylesheets/authors_docbook.xsl
+++ b/stylesheets/authors_docbook.xsl
@@ -154,7 +154,7 @@
<member>
<author>
<personname>
- <xsl:apply-templates match="." />
+ <othername><xsl:apply-templates match="." /></othername>
</personname>
</author>
<phrase>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]