Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package suse-xsl-stylesheets for
openSUSE:Factory checked in at 2025-06-26 11:34:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/suse-xsl-stylesheets (Old)
and /work/SRC/openSUSE:Factory/.suse-xsl-stylesheets.new.7067 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "suse-xsl-stylesheets"
Thu Jun 26 11:34:26 2025 rev:95 rq:1288448 version:2.95.13
Changes:
--------
---
/work/SRC/openSUSE:Factory/suse-xsl-stylesheets/suse-xsl-stylesheets.changes
2025-04-24 17:25:29.045260273 +0200
+++
/work/SRC/openSUSE:Factory/.suse-xsl-stylesheets.new.7067/suse-xsl-stylesheets.changes
2025-06-26 11:34:31.237834349 +0200
@@ -1,0 +2,20 @@
+Wed Jun 25 06:00:00 UTC 2025 - Thomas Schraitle <[email protected]> -
2.95.13
+
+- Update to 2.95.13
+ - Add survey link to content pages (#716)
+ - JSON-LD: Add alternativeHeadline from subtitle (#631)
+
+-------------------------------------------------------------------
+Wed Jun 11 10:14:04 UTC 2025 - Thomas Schraitle <[email protected]> -
2.95.12
+
+- Update to 2.95.12
+ - Correct emphasis for Japanese (#713)
+ - Remove double full stop (#712)
+
+-------------------------------------------------------------------
+Wed May 21 12:48:52 UTC 2025 - Thomas Schraitle <[email protected]> -
2.95.11
+
+- Update to 2.95.11
+ - Adjust <link rel="next|prev"> (#710)
+
+-------------------------------------------------------------------
@@ -653 +672,0 @@
--------------------------------------------------------------------
@@ -654,0 +674 @@
+-------------------------------------------------------------------
Old:
----
suse-xsl-2.95.10.tar.bz2
New:
----
suse-xsl-2.95.13.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ suse-xsl-stylesheets.spec ++++++
--- /var/tmp/diff_new_pack.XT11ni/_old 2025-06-26 11:34:31.865860402 +0200
+++ /var/tmp/diff_new_pack.XT11ni/_new 2025-06-26 11:34:31.865860402 +0200
@@ -22,7 +22,7 @@
%define suse_styles_dir %{db_xml_dir}/stylesheet
#
Name: suse-xsl-stylesheets
-Version: 2.95.10
+Version: 2.95.13
Release: 0
Summary: SUSE-Branded Stylesheets for DocBook
License: GPL-2.0-only OR GPL-3.0-only
++++++ suse-xsl-2.95.10.tar.bz2 -> suse-xsl-2.95.13.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/suse-xsl-2.95.10/ChangeLog
new/suse-xsl-2.95.13/ChangeLog
--- old/suse-xsl-2.95.10/ChangeLog 2025-04-23 15:33:59.000000000 +0200
+++ new/suse-xsl-2.95.13/ChangeLog 2025-06-25 07:56:04.000000000 +0200
@@ -1,6 +1,22 @@
-------------------------------------------------------------------
-Wed Apr 23 13:33:53 UTC 2025 - [email protected]
+Wed Jun 25 05:53:25 UTC 2025 - [email protected]
+* Update to 2.95.13
+ - JSON-LD: Add alternativeHeadline from subtitle (#631)
+ - Add doc survey link on the right (#716)
+
+-------------------------------------------------------------------
+Wed Jun 11 10:08:59 UTC 2025 - [email protected]
+
+* Update to 2.95.12
+ - Correct emphasis for Japanese (#713)
+ - Remove double full stop (#712)
+
+-------------------------------------------------------------------
+Wed May 21 12:38:28 UTC 2025 - [email protected]
+
+* Update to 2.95.11
+ - Fix Adjust <link rel="next|prev"> (#708)
-------------------------------------------------------------------
Wed Apr 23 15:32:00 UTC 2025 - [email protected]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/suse-xsl-2.95.10/Makefile
new/suse-xsl-2.95.13/Makefile
--- old/suse-xsl-2.95.10/Makefile 2025-04-23 15:33:59.000000000 +0200
+++ new/suse-xsl-2.95.13/Makefile 2025-06-25 07:56:04.000000000 +0200
@@ -11,7 +11,7 @@
SHELL := /bin/bash
PACKAGE := suse-xsl-stylesheets
-VERSION := 2.95.10
+VERSION := 2.95.13
CDIR := $(shell pwd)
SUSE_XML_PATH := $(PREFIX)/xml/suse
DB_XML_PATH := $(PREFIX)/xml/docbook
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/suse-xsl-2.95.10/source-assets/styles2022/sass/custom/major-elements.sass
new/suse-xsl-2.95.13/source-assets/styles2022/sass/custom/major-elements.sass
---
old/suse-xsl-2.95.10/source-assets/styles2022/sass/custom/major-elements.sass
2025-04-23 15:33:59.000000000 +0200
+++
new/suse-xsl-2.95.13/source-assets/styles2022/sass/custom/major-elements.sass
2025-06-25 07:56:04.000000000 +0200
@@ -120,6 +120,18 @@
padding-left: 4rem !important
padding-right: 4rem !important
+
+ .survey-link
+ background-color: $c_mint
+ padding: 16px
+ position: fixed
+ bottom: 16px
+ right: 16px
+ color: black
+ font-weight: 500
+ z-index: 3
+ text-decoration: none
+
.side-toc
@extend .column
@extend .is-2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/suse-xsl-2.95.10/suse2022-ns/common/l10n/ja.xml
new/suse-xsl-2.95.13/suse2022-ns/common/l10n/ja.xml
--- old/suse-xsl-2.95.10/suse2022-ns/common/l10n/ja.xml 2025-04-23
15:33:59.000000000 +0200
+++ new/suse-xsl-2.95.13/suse2022-ns/common/l10n/ja.xml 2025-06-25
07:56:04.000000000 +0200
@@ -75,9 +75,9 @@
<l:context name="styles">
<l:template name="person-name" text="first-last"/>
- <l:template name="emphasis-open" text="「"/>
- <l:template name="emphasis-close" text="」"/>
- <l:template name="emphasis-style" text="" />
+ <l:template name="emphasis-open" text=""/>
+ <l:template name="emphasis-close" text=""/>
+ <l:template name="emphasis-style" text="bold" />
<l:template name="example-label" text="例 %n:"/>
<l:template name="example-title" text="%t"/>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/suse-xsl-2.95.10/suse2022-ns/common/labels.xsl
new/suse-xsl-2.95.13/suse2022-ns/common/labels.xsl
--- old/suse-xsl-2.95.10/suse2022-ns/common/labels.xsl 2025-04-23
15:33:59.000000000 +0200
+++ new/suse-xsl-2.95.13/suse2022-ns/common/labels.xsl 2025-06-25
07:56:04.000000000 +0200
@@ -18,6 +18,7 @@
<xsl:template match="d:refsect1/d:title|d:refnamediv" mode="label.markup"/>
+
<xsl:template match="d:question" mode="label.markup">
<xsl:variable name="lparent" select="(ancestor::d:set
|ancestor::d:book
@@ -121,4 +122,11 @@
</xsl:choose>
</xsl:template>
+
+ <!-- Issue #587: Remove double full stop for procedures in appendices -->
+ <xsl:template match="d:appendix" mode="intralabel.punctuation">
+ <xsl:param name="object" select="."/>
+ <xsl:text />
+ </xsl:template>
+
</xsl:stylesheet>
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/suse-xsl-2.95.10/suse2022-ns/common/navigation.xsl
new/suse-xsl-2.95.13/suse2022-ns/common/navigation.xsl
--- old/suse-xsl-2.95.10/suse2022-ns/common/navigation.xsl 2025-04-23
15:33:59.000000000 +0200
+++ new/suse-xsl-2.95.13/suse2022-ns/common/navigation.xsl 2025-06-25
07:56:04.000000000 +0200
@@ -36,64 +36,34 @@
xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0"
exclude-result-prefixes="exsl l t d">
-
<!-- ===================================================== -->
<xsl:template name="is.next.node.in.navig">
<xsl:param name="next"/>
- <xsl:param name="debug" select="false()" />
- <xsl:variable name="next.book" select="$next/ancestor-or-self::d:book"
/>
- <xsl:variable name="next.article"
select="$next/ancestor-or-self::d:article" />
+ <xsl:variable name="next.book"
+ select="($next/ancestor-or-self::d:book |
+ $next/ancestor-or-self::d:article)[last()]"/>
+ <xsl:variable name="this.book"
+ select="(ancestor-or-self::d:book|ancestor-or-self::d:article)[last()]"/>
<!-- Compare the current "book" ID (be it really a book or an article)
with the "next" or "previous" book or article ID
-->
- <xsl:if test="boolean($debug)">
- <xsl:message>is.next.node.in.navig:
- Element: <xsl:value-of select="local-name(.)"/>
- next: <xsl:value-of select="local-name($next)"/>
- rootid: <xsl:value-of select="concat(local-name($rootid.node), '/',
$rootid)"/>
- next.book: <xsl:value-of select="$next.book/d:title"/>
- next.article: <xsl:value-of select="$next.article/d:title"/>
- </xsl:message>
- </xsl:if>
-
- <xsl:choose>
- <xsl:when test="generate-id($rootid.node) = generate-id($next.article)"
- >1</xsl:when>
- <xsl:when test="generate-id($rootid.node) = generate-id($next.book)"
- >1</xsl:when>
- <xsl:otherwise>0</xsl:otherwise>
- </xsl:choose>
+ <xsl:value-of select="generate-id($this.book) = generate-id($next.book)"/>
</xsl:template>
<!-- ===================================================== -->
<xsl:template name="is.prev.node.in.navig">
<xsl:param name="prev"/>
- <xsl:param name="debug" select="false()" />
-
- <xsl:variable name="prev.book" select="$prev/ancestor-or-self::d:book"/>
- <xsl:variable name="prev.article"
select="$prev/ancestor-or-self::d:article" />
+ <xsl:variable name="prev.book"
+ select="($prev/ancestor-or-self::d:book |
+ $prev/ancestor-or-self::d:article)[last()]"/>
+ <xsl:variable name="this.book"
+ select="(ancestor-or-self::d:book|ancestor-or-self::d:article)[last()]"/>
<!-- Compare the current "book" ID (be it really a book or an article)
with the "next" or "previous" book or article ID
-->
- <xsl:if test="boolean($debug)">
- <xsl:message>is.prev.node.in.navig:
- Element: <xsl:value-of select="local-name(.)"/>
- prev: <xsl:value-of select="local-name($prev)"/>
- rootid: <xsl:value-of select="$rootid"/>
- prev.book: <xsl:value-of select="$prev.book/d:title"/>
- prev.article: <xsl:value-of select="$prev.article/d:title"/>
- </xsl:message>
- </xsl:if>
-
- <xsl:choose>
- <xsl:when test="generate-id($rootid.node) = generate-id($prev.article)"
- >1</xsl:when>
- <xsl:when test="generate-id($rootid.node) = generate-id($prev.book)"
- >1</xsl:when>
- <xsl:otherwise>0</xsl:otherwise>
- </xsl:choose>
+ <xsl:value-of select="generate-id($this.book) = generate-id($prev.book)"/>
</xsl:template>
<!-- ===================================================== -->
@@ -116,18 +86,10 @@
<!-- Compare the current "book" ID (be it really a book or an article)
with the "next" or "previous" book or article ID
-->
- <xsl:variable name="isnext">
- <!-- select="generate-id($this.book) = generate-id($next.book)" -->
- <xsl:call-template name="is.next.node.in.navig">
- <xsl:with-param name="next" select="$next"/>
- </xsl:call-template>
- </xsl:variable>
- <xsl:variable name="isprev">
- <!-- select="generate-id($this.book) = generate-id($prev.book)" -->
- <xsl:call-template name="is.prev.node.in.navig">
- <xsl:with-param name="prev" select="$prev"/>
- </xsl:call-template>
- </xsl:variable>
+ <xsl:variable name="isnext"
+ select="generate-id($this.book) = generate-id($next.book)"/>
+ <xsl:variable name="isprev"
+ select="generate-id($this.book) = generate-id($prev.book)"/>
<xsl:variable name="home" select="/*[1]"/>
<xsl:variable name="up" select="parent::*"/>
<xsl:if test="$debug">
@@ -158,53 +120,4 @@
<xsl:value-of select="count($target.in.ancestor)"/>
</xsl:template>
- <xsl:template name="is.node.within.rootid">
- <xsl:param name="node" select="NOT_A_NODE" />
-<!-- <xsl:param name="this" select="." />-->
- <xsl:param name="debug" select="true()" />
- <xsl:param name="this.rootid" select="$rootid" />
- <!-- -->
- <!--<xsl:variable name="this.ancestor"
- select="($this/ancestor-or-self::d:article |
$this/ancestor-or-self::d:book)[last()]"/>-->
- <xsl:variable name="other.ancestor"
- select="($node/ancestor-or-self::d:article |
$node/ancestor-or-self::d:book)[last()]"/>
- <xsl:variable name="rootid.node" select="key('id', $this.rootid)"/>
- <!-- -->
- <xsl:variable name="result">
- <xsl:choose>
- <xsl:when test="$this.rootid = ''">
- <!-- If no $rootid is set, we don't need to handle prev/next
differently.
- All nodes are equally good.
- -->
- <xsl:value-of select="1"/>
- </xsl:when>
- <!--<xsl:when test="count($rootid.node | $other.ancestor) = 1">
- <xsl:value-of select="true()"/>
- </xsl:when>-->
- <xsl:when test="local-name($rootid.node) = 'article' and
local-name($other.ancestor) = 'article'">
- <xsl:value-of select="count($rootid.node | $other.ancestor) -1"/><!--
-->
- </xsl:when>
- <xsl:otherwise>
- <!--
- As long as we have more than one node, we have two distinct nodes,
- pointing to different elements.
- -->
- <xsl:value-of select="count($rootid.node | $other.ancestor) -1"/> <!--
<= 1 -->
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
- <xsl:if test="boolean($debug)">
- <xsl:message>is.node.within.rootid:
- this.rootid: <xsl:value-of select="$this.rootid"/>
- rootid.node: <xsl:value-of select="concat(name($rootid.node), '/',
$rootid.node/@xml:id )"/>
- <!--this.ancestor: <xsl:value-of select="$this.ancestor/@xml:id"/>-->
- other.ancestor: <xsl:value-of select="concat(name($other.ancestor), '/',
$other.ancestor/@xml:id)"/>
- union: <xsl:value-of select="count($rootid.node |
$other.ancestor)"/>
- => result: <xsl:value-of select="$result"/>
- </xsl:message>
- </xsl:if>
- <xsl:value-of select="$result"/>
- </xsl:template>
-
</xsl:stylesheet>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/suse-xsl-2.95.10/suse2022-ns/static/css/style.css
new/suse-xsl-2.95.13/suse2022-ns/static/css/style.css
--- old/suse-xsl-2.95.10/suse2022-ns/static/css/style.css 2025-04-23
15:33:59.000000000 +0200
+++ new/suse-xsl-2.95.13/suse2022-ns/static/css/style.css 2025-06-25
07:56:04.000000000 +0200
@@ -1371,6 +1371,16 @@
main article {
padding-left: 4rem !important;
padding-right: 4rem !important; } }
+ main .survey-link {
+ background-color: #90ebcd;
+ padding: 16px;
+ position: fixed;
+ bottom: 16px;
+ right: 16px;
+ color: black;
+ font-weight: 500;
+ z-index: 3;
+ text-decoration: none; }
main .side-toc {
overflow-y: auto;
position: relative;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/suse-xsl-2.95.10/suse2022-ns/xhtml/chunk-common.xsl
new/suse-xsl-2.95.13/suse2022-ns/xhtml/chunk-common.xsl
--- old/suse-xsl-2.95.10/suse2022-ns/xhtml/chunk-common.xsl 2025-04-23
15:33:59.000000000 +0200
+++ new/suse-xsl-2.95.13/suse2022-ns/xhtml/chunk-common.xsl 2025-06-25
07:56:04.000000000 +0200
@@ -370,58 +370,45 @@
</xsl:if>
</xsl:template>
+
<xsl:template name="html.head">
<xsl:param name="prev" select="/d:foo"/>
<xsl:param name="next" select="/d:foo"/>
- <xsl:param name="debug" select="false()" />
<xsl:variable name="this" select="."/>
<xsl:variable name="home" select="/*[1]"/>
<xsl:variable name="up" select="parent::*"/>
- <!-- -->
+
<xsl:variable name="next.book" select="$next/ancestor-or-self::d:book"
/>
<xsl:variable name="next.article"
select="$next/ancestor-or-self::d:article" />
<!-- -->
<xsl:variable name="prev.book" select="$prev/ancestor-or-self::d:book"/>
<xsl:variable name="prev.article"
select="$prev/ancestor-or-self::d:article" />
+
<!-- -->
<xsl:variable name="this.book" select="$this/ancestor-or-self::d:book"/>
<xsl:variable name="this.article"
select="$this/ancestor-or-self::d:article"/>
+
<!-- -->
<xsl:variable name="rootid.node" select="(key('id', $rootid) |
/*)[last()]"/>
<xsl:variable name="candidate-prev">
- <xsl:call-template name="is.prev.node.in.navig">
- <xsl:with-param name="prev" select="$prev" />
- </xsl:call-template>
+ <xsl:choose>
+ <xsl:when test="generate-id($rootid.node) = generate-id($prev.article)"
+ >1</xsl:when>
+ <xsl:when test="generate-id($rootid.node) = generate-id($prev.book)"
+ >1</xsl:when>
+ <xsl:otherwise>0</xsl:otherwise>
+ </xsl:choose>
</xsl:variable>
<xsl:variable name="candidate-next">
- <xsl:call-template name="is.next.node.in.navig">
- <xsl:with-param name="next" select="$next" />
- </xsl:call-template>
+ <xsl:choose>
+ <xsl:when test="generate-id($rootid.node) = generate-id($next.article)"
+ >1</xsl:when>
+ <xsl:when test="generate-id($rootid.node) = generate-id($next.book)"
+ >1</xsl:when>
+ <xsl:otherwise>0</xsl:otherwise>
+ </xsl:choose>
</xsl:variable>
- <xsl:if test="boolean($debug)">
- <xsl:message>html.head:
- rootid.node: <xsl:value-of select="concat(local-name($rootid.node), '/',
$rootid, '|', generate-id($rootid.node))" />
- this: <xsl:value-of select="concat(local-name($this), '/',
$this/@xml:id, '|', generate-id($this))"/>
- prev: <xsl:value-of select="concat(local-name($prev), '/',
$prev/@xml:id, '|', generate-id($prev))"/>
- prev.article <xsl:value-of select="generate-id($prev.article)"/>
- prev.book <xsl:value-of select="generate-id($prev.book)"/>
- candidate.prev <xsl:value-of select="$candidate-prev"/>
- next: <xsl:value-of select="concat(local-name($next), '/',
$next/@xml:id, '|', generate-id($next))"/>
- next.article <xsl:value-of select="generate-id($next.article)"/>
- next.book <xsl:value-of select="generate-id($next.book)"/>
- candidate.next <xsl:value-of select="$candidate-next"/>
- $prev and candidate-prev: <xsl:value-of select="$prev and
$candidate-prev"/>
- $next and candidate-next: <xsl:value-of select="$next and
$candidate-next"/><!--
- count($rootid.node | $next.article) = <xsl:value-of
select="count($rootid.node | $next.article)"/>
- count($rootid.node | $next.book) = <xsl:value-of
select="count($rootid.node | $next.book)"/>
- count($rootid.node | $next.article | $next.book) = <xsl:value-of
select="count($rootid.node | $next.article | $next.book)"/>
- $rootid.node | $next.article or $rootid.node | $next.book = <xsl:value-of
- select="count($rootid.node | $next.article) or count($rootid.node |
$next.book)"/>-->
- </xsl:message>
- </xsl:if>
-
-
<head>
<xsl:call-template name="system.head.content"/>
<xsl:call-template name="head.content"/>
@@ -455,9 +442,6 @@
</xsl:if>
<xsl:if test="$prev and $candidate-prev != 0">
- <xsl:if test="boolean($debug)">
- <xsl:message>Generating $prev link (<xsl:value-of
select="$candidate-prev"/>) to <xsl:value-of select="concat(local-name($prev),
'/', $prev/@xml:id, '|', generate-id($prev))"/></xsl:message>
- </xsl:if>
<link rel="prev">
<xsl:attribute name="href">
<xsl:call-template name="href.target">
@@ -471,9 +455,6 @@
</xsl:if>
<xsl:if test="$next and $candidate-next != 0">
- <xsl:if test="boolean($debug)">
- <xsl:message>Generating $next link (<xsl:value-of
select="$candidate-next"/>) to <xsl:value-of select="concat(local-name($next),
'/', $next/@xml:id, '|', generate-id($next))"/></xsl:message>
- </xsl:if>
<link rel="next">
<xsl:attribute name="href">
<xsl:call-template name="href.target">
@@ -487,7 +468,15 @@
</xsl:if>
<xsl:if test="$html.extra.head.links != 0">
- <xsl:for-each select="//d:part
|//d:reference |//d:preface
|//d:chapter |//d:article
|//d:refentry
|//d:appendix[not(parent::d:article)]|d:appendix
|//d:glossary[not(parent::d:article)]|d:glossary
|//d:index[not(parent::d:article)]|d:index">
+ <xsl:for-each select="//d:part
+ |//d:reference
+ |//d:preface
+ |//d:chapter
+ |//d:article
+ |//d:refentry
+ |//d:appendix[not(parent::d:article)]|d:appendix
+ |//d:glossary[not(parent::d:article)]|d:glossary
+ |//d:index[not(parent::d:article)]|d:index">
<link rel="{local-name(.)}">
<xsl:attribute name="href">
<xsl:call-template name="href.target">
@@ -544,11 +533,13 @@
<!-- * separate page and $html.head.legalnotice.link.types is -->
<!-- * non-empty, we generate a link or links for each value in -->
<!-- * $html.head.legalnotice.link.types -->
- <xsl:if test="//d:legalnotice and
not($generate.legalnotice.link = 0) and
not($html.head.legalnotice.link.types = '')">
+ <xsl:if test="//d:legalnotice
+ and not($generate.legalnotice.link = 0)
+ and not($html.head.legalnotice.link.types = '')">
<xsl:call-template name="make.legalnotice.head.links"/>
</xsl:if>
+
<xsl:call-template name="user.head.content"/>
</head>
</xsl:template>
-
</xsl:stylesheet>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/suse-xsl-2.95.10/suse2022-ns/xhtml/docbook.xsl
new/suse-xsl-2.95.13/suse2022-ns/xhtml/docbook.xsl
--- old/suse-xsl-2.95.10/suse2022-ns/xhtml/docbook.xsl 2025-04-23
15:33:59.000000000 +0200
+++ new/suse-xsl-2.95.13/suse2022-ns/xhtml/docbook.xsl 2025-06-25
07:56:04.000000000 +0200
@@ -452,6 +452,7 @@
<xsl:call-template name="generate.breadcrumbs.back"/>
<xsl:apply-templates select="." mode="breadcrumbs"/>
</div>
+ <xsl:call-template name="doc-survey"/>
</div>
</xsl:if>
</xsl:template>
@@ -608,6 +609,14 @@
</xsl:if>
</xsl:template>
+ <xsl:template name="doc-survey">
+ <xsl:if test="$doc.survey != 0">
+ <div class="docsurvey-wrapper">
+ <a class="survey-link" href="{$doc.survey.url}">Documentation
survey</a>
+ </div>
+ </xsl:if>
+ </xsl:template>
+
<xsl:template name="generate.sourcelink">
<xsl:param name="node" select="."/>
<xsl:variable name="meta-bugtracker"
select="$node/ancestor-or-self::*/d:info/d:meta[@name='bugtracker']/d:phrase[@role='editurl']"/>
@@ -1027,9 +1036,9 @@
<xsl:call-template name="give.feedback"/>
<xsl:call-template name="share.and.print"/>
<xsl:call-template name="qualtrics.rating"/>
-
<xsl:text> </xsl:text>
</aside>
+ <xsl:call-template name="doc-survey"/>
</xsl:template>
</xsl:stylesheet>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/suse-xsl-2.95.10/suse2022-ns/xhtml/inline.xsl
new/suse-xsl-2.95.13/suse2022-ns/xhtml/inline.xsl
--- old/suse-xsl-2.95.10/suse2022-ns/xhtml/inline.xsl 2025-04-23
15:33:59.000000000 +0200
+++ new/suse-xsl-2.95.13/suse2022-ns/xhtml/inline.xsl 2025-06-25
07:56:04.000000000 +0200
@@ -84,6 +84,63 @@
</xsl:if>
</xsl:template>
+ <xsl:template match="d:emphasis">
+ <xsl:variable name="open">
+ <xsl:call-template name="gentext.template">
+ <xsl:with-param name="context" select="'styles'"/>
+ <xsl:with-param name="name" select="concat( local-name(),'-open')"/>
+ </xsl:call-template>
+ </xsl:variable>
+ <xsl:variable name="close">
+ <xsl:call-template name="gentext.template">
+ <xsl:with-param name="context" select="'styles'"/>
+ <xsl:with-param name="name" select="concat( local-name(),'-close')"/>
+ </xsl:call-template>
+ </xsl:variable>
+ <xsl:variable name="style">
+ <xsl:call-template name="gentext.template">
+ <xsl:with-param name="context" select="'styles'"/>
+ <xsl:with-param name="name" select="concat( local-name(),'-style')"/>
+ </xsl:call-template>
+ </xsl:variable>
+
+ <span>
+ <xsl:copy-of select="$open"/>
+ <xsl:choose>
+ <xsl:when test="$style='bold' or @role='bold' or $style = 'strong' or
@role='strong'">
+ <xsl:call-template name="inline.boldseq"/>
+ </xsl:when>
+ <xsl:when test="@role='underline'">
+ <span style="text-decoration: underline">
+ <xsl:call-template name="inline.charseq"/>
+ </span>
+ </xsl:when>
+ <xsl:when test="@role='strikethrough'">
+ <span style="text-decoration: line-through">
+ <xsl:call-template name="inline.charseq"/>
+ </span>
+ </xsl:when>
+ <xsl:otherwise>
+ <!-- How many regular emphasis ancestors does this element have -->
+ <xsl:variable name="depth" select="count(ancestor::d:emphasis
+ [not(contains(' bold strong underline strikethrough ', concat(' ',
@role, ' ')))]
+ )"/>
+ <xsl:choose>
+ <xsl:when test="$depth mod 2 = 1">
+ <span>
+ <xsl:apply-templates/>
+ </span>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="inline.italicseq"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:copy-of select="$close"/>
+ </span>
+ </xsl:template>
+
<xsl:template match="d:keycap">
<!-- See also Ticket#84 -->
<xsl:choose>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/suse-xsl-2.95.10/suse2022-ns/xhtml/json-ld.xsl
new/suse-xsl-2.95.13/suse2022-ns/xhtml/json-ld.xsl
--- old/suse-xsl-2.95.10/suse2022-ns/xhtml/json-ld.xsl 2025-04-23
15:33:59.000000000 +0200
+++ new/suse-xsl-2.95.13/suse2022-ns/xhtml/json-ld.xsl 2025-06-25
07:56:04.000000000 +0200
@@ -412,6 +412,9 @@
<xsl:call-template name="json-ld-headline">
<xsl:with-param name="node" select="$node"/>
</xsl:call-template>
+ <xsl:call-template name="json-ld-alternativeheadline">
+ <xsl:with-param name="node" select="$node"/>
+ </xsl:call-template>
<xsl:call-template name="json-ld-description">
<xsl:with-param name="node" select="$node"/>
</xsl:call-template>
@@ -513,6 +516,27 @@
"headline": "<xsl:value-of select="translate($headline, '"', '')"/>",
</xsl:template>
+
+ <xsl:template name="json-ld-alternativeheadline">
+ <xsl:param name="node" select="."/>
+ <xsl:variable name="candidate-headline">
+ <xsl:choose>
+ <xsl:when test="$node/d:info/d:subtitle">
+ <xsl:value-of select="$node/d:info/d:subtitle"/>
+ </xsl:when>
+ <xsl:when test="$node/d:subtitle">
+ <xsl:value-of select="$node/d:subtitle"/>
+ </xsl:when>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:variable name="subtitle"
select="normalize-space($candidate-headline)"/>
+
+ <xsl:if test="$subtitle != ''">
+ <xsl:text> "alternativeHeadline": </xsl:text>
+ <xsl:value-of select="concat('"', $subtitle, '",')"/>
+ </xsl:if>
+ </xsl:template>
+
<xsl:template name="json-ld-language">
<xsl:param name="node" select="."/>
<xsl:variable name="candidate-lang"
select="($node/ancestor-or-self::*/@xml:lang)[last()]"/>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/suse-xsl-2.95.10/suse2022-ns/xhtml/param.xsl
new/suse-xsl-2.95.13/suse2022-ns/xhtml/param.xsl
--- old/suse-xsl-2.95.10/suse2022-ns/xhtml/param.xsl 2025-04-23
15:33:59.000000000 +0200
+++ new/suse-xsl-2.95.13/suse2022-ns/xhtml/param.xsl 2025-06-25
07:56:04.000000000 +0200
@@ -540,10 +540,9 @@
<!-- Generates a separate file -->
<xsl:param name="generate.revhistory.link" select="1"/>
- <!--
- Points to the root node when using $rootid. If $rootid is empty or points
to
- an invalid node, "/" (the root node) is used.
- -->
- <xsl:variable name="rootid.node" select="(key('id', $rootid) | /*)[last()]"/>
+ <!-- Should a button be generated on the right navigation? 0=no, 1=yes -->
+ <xsl:param name="doc.survey" select="0"></xsl:param>
+ <!-- The survey URL to be used. Change it accordingly -->
+ <xsl:param
name="doc.survey.url">https://suselinux.fra1.qualtrics.com/jfe/form/SV_bEiGZbUNzLD8Tcy</xsl:param>
</xsl:stylesheet>