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 2022-11-29 10:52:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/suse-xsl-stylesheets (Old) and /work/SRC/openSUSE:Factory/.suse-xsl-stylesheets.new.1597 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "suse-xsl-stylesheets" Tue Nov 29 10:52:49 2022 rev:59 rq:1038739 version:2.87.1 Changes: -------- --- /work/SRC/openSUSE:Factory/suse-xsl-stylesheets/suse-xsl-stylesheets.changes 2022-11-08 11:47:30.299744887 +0100 +++ /work/SRC/openSUSE:Factory/.suse-xsl-stylesheets.new.1597/suse-xsl-stylesheets.changes 2022-11-29 10:52:56.660670053 +0100 @@ -1,0 +2,40 @@ +Mon Nov 28 15:31:59 UTC 2022 - Thomas Schraitle <thomas.schrai...@suse.com> - 2.87.1 + +- Update 2.87.1 + - SBP: Add missing VERSION/VERSION.xsl + - Add missing sbp directory in Makefile + - Fix typo of --precision option + - Fix #513: Correct SBP stylesheets + - Fix broken PDF generation in `fo:block-container` + - Add date and localized date key to FO/XHTML + - Fix author alignment in XHTML + - SBP(FO,XHTML): Group author elements + - Group author, editor, and othercredit into an authorgroup + and apply the authorgroup template (use exsl:node-set() function) + - Make article.titlepage.recto the last template +- Spec changes + - Remove SBP-VERSION as it is now included in the tar archive + - Remove the patches and Makefile in 2.87.0 as it is also included now + in the tar archive + - Run spec-cleaner v1.2.1 + - Require libxslt-tools instead of libxslt (we need xsltproc) + +------------------------------------------------------------------- +Mon Nov 23 11:00:00 UTC 2022 - Thomas Schraitle <thomas.schrai...@suse.com> - 2.87.0 + +- Update 2.87.0 + - Fix #505: Add CJK fonts NotoSans + - Fix #507: Create SBP stylesheets + - Fix #508: For de, change "Prozedur" -> "Vorgehen" + +- Spec file adapted fonts: + - Requires now google-noto-sans-{jp,kr,sc,tc}-{regular,bold}-fonts + - Suggests fonts for older stylesheet variants: + agfa-fonts, liberation-fonts, sazanami-fonts, ipa-pgothic-fonts, + ipa-pmincho-fonts, un-fonts, wqy-microhei-fonts, arphic-uming-fonts + - Add Makefile and SBP-VERSION as (temporary) sources which weren't + included in the source archive + - Add patch 0001-SBP-Include-VERSION.xsl.patch to include VERSION.xsl + in fo and xhtml + +------------------------------------------------------------------- Old: ---- suse-xsl-2.86.5.tar.bz2 New: ---- suse-xsl-2.87.1.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ suse-xsl-stylesheets.spec ++++++ --- /var/tmp/diff_new_pack.wH63p8/_old 2022-11-29 10:52:57.104672386 +0100 +++ /var/tmp/diff_new_pack.wH63p8/_new 2022-11-29 10:52:57.108672407 +0100 @@ -1,7 +1,7 @@ # # spec file for package suse-xsl-stylesheets # -# Copyright (c) 2022 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,105 +12,111 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -Name: suse-xsl-stylesheets -Version: 2.86.5 -Release: 0 - %define reponame suse-xsl %define susexsl_catalog catalog-for-%{name}.xml %define db_xml_dir %{_datadir}/xml/docbook %define suse_styles_dir %{db_xml_dir}/stylesheet - +# +Name: suse-xsl-stylesheets +Version: 2.87.1 +Release: 0 Summary: SUSE-Branded Stylesheets for DocBook -License: GPL-2.0 or GPL-3.0 +License: GPL-2.0-only OR GPL-3.0-only Group: Productivity/Publishing/XML -Url: https://github.com/openSUSE/suse-xsl +URL: https://github.com/openSUSE/suse-xsl Source0: %{reponame}-%{version}.tar.bz2 Source2: %{name}.rpmlintrc -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch - +# BuildRequires: docbook-xsl-stylesheets >= 1.77 BuildRequires: docbook5-xsl-stylesheets >= 1.77 BuildRequires: fdupes +BuildRequires: fontpackages-devel BuildRequires: libxml2-tools -BuildRequires: libxslt +BuildRequires: libxslt-tools BuildRequires: make -BuildRequires: fontpackages-devel BuildRequires: trang - -# docbook_4/docbook_5 are required to be able to transform DocBook documents -# that use predefined DocBook entities. +# DocBook schemas and stylesheets are required to be able to transform +# DocBook documents. +# DocBook4 is needed when documents use predefined DocBook entities. Requires: docbook_4 Requires: docbook_5 Requires: docbook-xsl-stylesheets >= 1.77 Requires: docbook5-xsl-stylesheets >= 1.77 -Requires: libxslt +# +Requires: libxslt-tools Requires: sgml-skel >= 0.7 Requires(post): sgml-skel >= 0.7 Requires(postun): sgml-skel >= 0.7 - - +# +# # FONTS - +# "Default" fonts for suse2022 stylesheets +Requires: dejavu-fonts +Requires: google-opensans-fonts +Requires: google-poppins-fonts +Requires: sil-charis-fonts +# # Western fallback: currently necessary for building with XEP, it seems. Requires: ghostscript-fonts-std +# # Western fallback 2: These should make the Ghostscript fonts unnecessary. Requires: gnu-free-fonts -# "Generic" font for use in cases where we don't want one of the gnu-free-fonts -Requires: dejavu-fonts - -# FONTS USED IN "suse" (aka "suse2005") STYLESHEETS +# +# Arabic: +Requires: arabic-amiri-fonts +# +# Japanese (regular/bold): +Requires: google-noto-sans-jp-bold-fonts +Requires: google-noto-sans-jp-regular-fonts +# +# Korean (regular/bold): +Requires: google-noto-sans-kr-bold-fonts +Requires: google-noto-sans-kr-regular-fonts +# +# Chinese, simplified (regular/bold): +Requires: google-noto-sans-sc-bold-fonts +Requires: google-noto-sans-sc-regular-fonts +# +# Chinese, traditional (regular/bold): +Requires: google-noto-sans-tc-bold-fonts +Requires: google-noto-sans-tc-regular-fonts +# +# +# Fonts for older stylesheets variants +# We use a very weak relationship as these fonts shouldn't be really +# used anymore (or needed, unless you need to build with older suse variants) +# # Proprietary Western: -Recommends: agfa-fonts +Suggests: agfa-fonts +# Chinese traditional: +Suggests: arphic-uming-fonts # Fallback for proprietary Western: -Requires: liberation-fonts - +Suggests: liberation-fonts # Japanese: -Requires: sazanami-fonts +Suggests: sazanami-fonts +Suggests: ipa-pgothic-fonts +Suggests: ipa-pmincho-fonts # Korean: -Requires: un-fonts -# Chinese: -Requires: wqy-microhei-fonts - -# FONTS USED IN "suse2013"/"opensuse2013"/"daps2013/"suse2021" STYLESHEETS -# Western fonts: -Requires: google-opensans-fonts -Requires: sil-charis-fonts -# Monospace -- dejavu-fonts, already required -# Western fonts fallback -- gnu-free-fonts, already required -# Chinese simplified -- wqy-microhei-fonts, already required -# Chinese traditional: -Requires: arphic-uming-fonts -# Japanese: -Requires: ipa-pgothic-fonts -Requires: ipa-pmincho-fonts -# Korean -- un-fonts, already required -# Arabic: -Requires: arabic-amiri-fonts - -# FONTS NOT YET(!) USED IN "suse2022" STYLESHEETS -# Western -Recommends: google-poppins-fonts - +Suggests: un-fonts +# Chinese +Suggests: wqy-microhei-fonts +# +BuildArch: noarch %description These are SUSE-branded XSLT 1.0 stylesheets for DocBook 4 and 5 that are be used to create the HTML, PDF, and EPUB versions of SUSE documentation. These stylesheets are based on the original DocBook XSLT 1.0 stylesheets. - %prep -%setup -q -n %{reponame}-%{version} - +%autosetup -p1 -n %{reponame}-%{version} %build -%__make %{?_smp_mflags} - +%make_build %install make install DESTDIR=%{buildroot} LIBDIR=%{_libdir} @@ -138,7 +144,6 @@ %reconfigure_fonts_post exit 0 - %postun update-xml-catalog @@ -151,13 +156,10 @@ exit 0 - %posttrans %reconfigure_fonts_posttrans - %files -%defattr(-,root,root) # directories %dir %{suse_styles_dir} @@ -171,6 +173,7 @@ %dir %{suse_styles_dir}/opensuse2013-ns %dir %{suse_styles_dir}/suse2021-ns %dir %{suse_styles_dir}/suse2022-ns +%dir %{suse_styles_dir}/sbp %dir %{_ttfontsdir} @@ -187,6 +190,7 @@ %{suse_styles_dir}/opensuse2013-ns/* %{suse_styles_dir}/suse2021-ns/* %{suse_styles_dir}/suse2022-ns/* +%{suse_styles_dir}/sbp/* # catalogs %config %{_sysconfdir}/xml/catalog.d/%{name}.xml @@ -197,5 +201,4 @@ # documentation %doc %{_defaultdocdir}/%{name}/* - %changelog ++++++ suse-xsl-2.86.5.tar.bz2 -> suse-xsl-2.87.1.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.5/ChangeLog new/suse-xsl-2.87.1/ChangeLog --- old/suse-xsl-2.86.5/ChangeLog 2022-10-28 08:13:42.000000000 +0200 +++ new/suse-xsl-2.87.1/ChangeLog 2022-11-28 16:23:35.000000000 +0100 @@ -1,4 +1,29 @@ ------------------------------------------------------------------- +Mon Nov 28 16:21:00 UTC 2022 - toms...@users.noreply.github.com + +- Update 2.87.1 + - SBP: Add missing VERSION/VERSION.xsl + - Add missing sbp directory in Makefile + - Fix typo of --precision option + - Fix #513: Correct SBP stylesheets + - Fix broken PDF generation in `fo:block-container` + - Add date and localized date key to FO/XHTML + - Fix author alignment in XHTML + - SBP(FO,XHTML): Group author elements + - Group author, editor, and othercredit into an authorgroup + and apply the authorgroup template (use exsl:node-set() function) + - Make article.titlepage.recto the last template + + +------------------------------------------------------------------- +Mon Nov 21 13:45:00 UTC 2022 - toms...@users.noreply.github.com + +- Update 2.87.0 + - Fix #505: Add CJK fonts NotoSans + - Fix #507: Create SBP stylesheets + - Fix #508: For de, change "Prozedur" -> "Vorgehen" + +------------------------------------------------------------------- Fri Oct 28 08:11:00 UTC 2022 - toms...@users.noreply.github.com - Update 2.86.5 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.5/Makefile new/suse-xsl-2.87.1/Makefile --- old/suse-xsl-2.86.5/Makefile 2022-10-28 08:13:42.000000000 +0200 +++ new/suse-xsl-2.87.1/Makefile 2022-11-28 16:23:35.000000000 +0100 @@ -11,7 +11,7 @@ SHELL := /bin/bash PACKAGE := suse-xsl-stylesheets -VERSION := 2.86.5 +VERSION := 2.87.1 CDIR := $(shell pwd) SUSE_XML_PATH := $(PREFIX)/xml/suse DB_XML_PATH := $(PREFIX)/xml/docbook @@ -28,6 +28,7 @@ # SUSE2021 and beyond are only available in a namespaced version DIR2021_SUSE := suse2021-ns DIR2022_SUSE := suse2022-ns +DIRSBP := sbp #-------------------------------------------------------------- # Directories and files that will be created @@ -75,6 +76,7 @@ SUSESTYLEDIR2013-NS := $(INST_STYLE_ROOT)/$(DIR2013_SUSE)-ns SUSESTYLEDIR2021-NS := $(INST_STYLE_ROOT)/$(DIR2021_SUSE) SUSESTYLEDIR2022-NS := $(INST_STYLE_ROOT)/$(DIR2022_SUSE) +SBPDIR := $(INST_STYLE_ROOT)/$(DIRSBP) DOCDIR := $(DESTDIR)$(PREFIX)/doc/packages/suse-xsl-stylesheets TTF_FONT_DIR := $(DESTDIR)$(PREFIX)/fonts/truetype @@ -84,7 +86,7 @@ $(DAPSSTYLEDIR2013) $(DAPSSTYLEDIR2013-NS) \ $(OPENSUSESTYLEDIR2013) $(OPENSUSESTYLEDIR2013-NS) \ $(SUSESTYLEDIR2013) $(SUSESTYLEDIR2013-NS) \ - $(SUSESTYLEDIR2021-NS) $(SUSESTYLEDIR2022-NS) + $(SUSESTYLEDIR2021-NS) $(SUSESTYLEDIR2022-NS) $(SBPDIR) INST_DIRECTORIES := $(INST_STYLEDIRS) $(DOCDIR) \ $(TTF_FONT_DIR) $(CATALOG_DIR) @@ -119,6 +121,7 @@ tar c --mode=u+w,go+r-w,a-s -C $(DEV_DIR2013_SUSE) . | (cd $(SUSESTYLEDIR2013-NS); tar xp) tar c --mode=u+w,go+r-w,a-s -C $(DIR2021_SUSE) . | (cd $(SUSESTYLEDIR2021-NS); tar xp) tar c --mode=u+w,go+r-w,a-s -C $(DIR2022_SUSE) . | (cd $(SUSESTYLEDIR2022-NS); tar xp) + tar c --mode=u+w,go+r-w,a-s -C $(DIRSBP) . | (cd $(SBPDIR); tar xp) for SDIR in $(INST_STYLEDIRS); do \ sed "s/@@#version@@/$(VERSION)/" $$SDIR/VERSION.xsl > $$SDIR/VERSION.xsl.0; \ mv $$SDIR/VERSION.xsl.0 $$SDIR/VERSION.xsl; \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.5/sbp/VERSION new/suse-xsl-2.87.1/sbp/VERSION --- old/suse-xsl-2.86.5/sbp/VERSION 1970-01-01 01:00:00.000000000 +0100 +++ new/suse-xsl-2.87.1/sbp/VERSION 2022-11-28 16:23:35.000000000 +0100 @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xsl:stylesheet version="1.0" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> + + <xsl:param name="STYLE.NAME" select="'SUSE XSL Stylesheets'"/> + <xsl:param name="STYLE.ID" select="'sbp'"/> + <xsl:param name="STYLE.VERSION" select="'@@#version@@'"/> + +</xsl:stylesheet> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.5/sbp/VERSION.xsl new/suse-xsl-2.87.1/sbp/VERSION.xsl --- old/suse-xsl-2.86.5/sbp/VERSION.xsl 1970-01-01 01:00:00.000000000 +0100 +++ new/suse-xsl-2.87.1/sbp/VERSION.xsl 2022-11-29 10:52:58.308678711 +0100 @@ -0,0 +1 @@ +symbolic link to VERSION diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.5/sbp/fo/article.titlepage.templates.xsl new/suse-xsl-2.87.1/sbp/fo/article.titlepage.templates.xsl --- old/suse-xsl-2.86.5/sbp/fo/article.titlepage.templates.xsl 1970-01-01 01:00:00.000000000 +0100 +++ new/suse-xsl-2.87.1/sbp/fo/article.titlepage.templates.xsl 2022-11-28 16:23:35.000000000 +0100 @@ -0,0 +1,335 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + +--> + +<!DOCTYPE xsl:stylesheet +[ + <!ENTITY % fonts SYSTEM "fonts.ent"> + <!ENTITY % colors SYSTEM "colors.ent"> + <!ENTITY % metrics SYSTEM "metrics.ent"> + %fonts; + %colors; + %metrics; +]> + +<xsl:stylesheet version="1.0" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:d="http://docbook.org/ns/docbook" + xmlns:fo="http://www.w3.org/1999/XSL/Format" + xmlns:exsl="http://exslt.org/common" + exclude-result-prefixes="d exsl"> + + + <!-- Recto page --> + <xsl:template name="article.titlepage.recto"> + <fo:table> + <fo:table-body> + <fo:table-cell text-align="start"> + <fo:block> + <fo:instream-foreign-object + content-width="{$titlepage.logo.width.article}" + width="{$titlepage.logo.width}"> + <xsl:call-template name="logo-image" /> + </fo:instream-foreign-object> + </fo:block> + </fo:table-cell> + <fo:table-cell text-align="right" color="&c_jungle;"> + <fo:block font-size="&xxx-large;pt"> + <xsl:apply-templates select="d:info/d:meta[@name='series'][1]" mode="article.titlepage.recto.auto.mode"/> + </fo:block> + <fo:block font-size="&large;pt"> + <xsl:apply-templates select="d:info/d:meta[@name='category'][1]" mode="article.titlepage.recto.auto.mode"/> + </fo:block> + </fo:table-cell> + </fo:table-body> + </fo:table> + <!-- Title --> + <fo:block space-before="3cm"> + <xsl:choose> + <xsl:when test="d:artheader/d:title"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" + select="d:artheader/d:title" /> + </xsl:when> + <xsl:when test="d:info/d:title"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" + select="d:info/d:title" /> + </xsl:when> + <xsl:when test="d:title"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" + select="d:title" /> + </xsl:when> + </xsl:choose> + </fo:block> + <!-- Subtitle --> + <fo:block space-before="0.75em"> + <xsl:choose> + <xsl:when test="d:artheader/d:subtitle"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" + select="d:artheader/d:subtitle" /> + </xsl:when> + <xsl:when test="d:info/d:subtitle"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" + select="d:info/d:subtitle" /> + </xsl:when> + <xsl:when test="d:subtitle"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" + select="d:subtitle" /> + </xsl:when> + </xsl:choose> + </fo:block> + + <!-- Tools --> + <fo:block> + <fo:external-graphic content-width="100%" + src="{$styleroot}/images/sbp-tools-title.svg" /> + </fo:block> + + <!-- Platform specific --> + <fo:block space-before="2em" text-align="right" font-size="&normal;pt"> + <xsl:apply-templates select="d:info/d:meta[@name='platform']" mode="article.titlepage.recto.auto.mode"/> + </fo:block> + + <!-- Authors --> + <fo:block space-before="4em" font-size="&normal;pt"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" + select="d:info/d:authorgroup" /> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" + select="d:info/d:author[1]" /> + </fo:block> + + <fo:block-container absolute-position="absolute" top="{$page.height.portrait} * 0.78"> + <fo:block> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" + select="d:info/d:cover[d:mediaobject]" /> + </fo:block> + </fo:block-container> + </xsl:template> + + <xsl:template name="article.titlepage.separator"> + <fo:block break-after="page"/> + </xsl:template> + + <xsl:template match="d:meta"> + <xsl:apply-templates/> + </xsl:template> + + <xsl:template match="d:meta[@name='series']" mode="article.titlepage.recto.auto.mode"> + <xsl:apply-templates/> + </xsl:template> + + <xsl:template match="d:meta[@name='category']" mode="article.titlepage.recto.auto.mode"> + <xsl:apply-templates/> + </xsl:template> + + <xsl:template match="d:meta[@name='platform']" mode="article.titlepage.recto.auto.mode"> + <fo:block> + <xsl:apply-templates/> + </fo:block> + </xsl:template> + + <xsl:template match="d:cover[d:mediaobject]" mode="article.titlepage.recto.auto.mode"> + <xsl:variable name="n" select="count(d:mediaobject)"/> + <xsl:if test="count(d:mediaobject) > 5"> + <!-- We only allow max 5 icons --> + <xsl:message terminate="yes">ERROR: There are more than 5 icons on the cover page.</xsl:message> + </xsl:if> + + <fo:table role="cover"> + <fo:table-body> + <!-- Cell no. 1 --> + <fo:table-cell> + <fo:block> + <xsl:apply-templates select="d:mediaobject[last() -4]" mode="article.titlepage.recto.auto.mode"/> + </fo:block> + </fo:table-cell> + <!-- Cell no. 2 --> + <fo:table-cell> + <fo:block><xsl:apply-templates select="d:mediaobject[last() -3]" mode="article.titlepage.recto.auto.mode"/></fo:block> + </fo:table-cell> + <!-- Cell no. 3 --> + <fo:table-cell> + <fo:block><xsl:apply-templates select="d:mediaobject[last() -2]" mode="article.titlepage.recto.auto.mode"/></fo:block> + </fo:table-cell> + <!-- Cell no. 4 --> + <fo:table-cell> + <fo:block><xsl:apply-templates select="d:mediaobject[last() -1]" mode="article.titlepage.recto.auto.mode"/></fo:block> + </fo:table-cell> + <!-- Cell no. 5 --> + <fo:table-cell> + <fo:block><xsl:apply-templates select="d:mediaobject[last()]" mode="article.titlepage.recto.auto.mode"/></fo:block> + </fo:table-cell> + </fo:table-body> + </fo:table> + </xsl:template> + + <xsl:template match="d:cover/d:mediaobject" mode="article.titlepage.recto.auto.mode"> + <xsl:param name="pos"/> + <fo:block> + <xsl:apply-templates select="."/> + </fo:block> + </xsl:template> + + + <xsl:template match="d:title" mode="article.titlepage.recto.auto.mode"> + <fo:block font-size="{&super-large; * $sans-fontsize-adjust}pt" line-height="{$base-lineheight * 0.85}em" + xsl:use-attribute-sets="article.titlepage.recto.style sans.bold.noreplacement" + keep-with-next.within-column="always" space-after="{&gutterfragment;}mm"> + <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> + </fo:block> + </xsl:template> + + + <xsl:template match="d:authorgroup" mode="article.titlepage.recto.auto.mode"> + <fo:block text-align="outside"> + <xsl:for-each select="d:author"> + <fo:block> + <xsl:apply-templates select="." mode="authorgroup"> + <xsl:with-param name="withlabel" select="0" /> + </xsl:apply-templates> + </fo:block> + </xsl:for-each> + + <xsl:for-each select="d:editor|d:othercredit"> + <fo:block> + <xsl:apply-templates select="." mode="authorgroup"> + <xsl:with-param name="withlabel" select="0" /> + </xsl:apply-templates> + </fo:block> + </xsl:for-each> + + </fo:block> + </xsl:template> + + + <xsl:template match="d:author[d:personname]|d:editor[d:personname]|d:othercredit[d:personname]" + mode="authorgroup"> + <xsl:call-template name="person.name"> + <xsl:with-param name="node" select="." /> + </xsl:call-template> + <xsl:if test="d:affiliation"> + <xsl:text>, </xsl:text> + <xsl:apply-templates select="d:affiliation/d:jobtitle" + mode="article.titlepage.recto.auto.mode" /> + <xsl:apply-templates select="d:affiliation/d:orgname" + mode="article.titlepage.recto.auto.mode" /> + </xsl:if> + </xsl:template> + + + <xsl:template match="d:author[d:orgname]|d:editor[d:orgname]|d:othercredit[d:orgname]" mode="authorgroup"> + <xsl:param name="withlabel" select="1"/> + <fo:block> + <xsl:apply-templates select="d:orgname"/> + <xsl:if test="d:affiliation"> + <xsl:text>, </xsl:text> + <xsl:apply-templates select="d:affiliation/d:jobtitle" mode="article.titlepage.recto.auto.mode"/> + <xsl:apply-templates select="d:affiliation/d:orgname" mode="article.titlepage.recto.auto.mode"/> + </xsl:if> + <!-- In case we want e-mail addresses: --> + <!--<xsl:apply-templates select="d:email" mode="article.titlepage.recto.auto.mode"/>--> + </fo:block> + </xsl:template> + + + <xsl:template match="d:affiliation/d:jobtitle" mode="article.titlepage.recto.auto.mode"> + <xsl:apply-templates/> + </xsl:template> + <xsl:template match="d:affiliation/d:orgname" mode="article.titlepage.recto.auto.mode"> + <xsl:text> (</xsl:text> + <xsl:apply-templates/> + <xsl:text>)</xsl:text> + </xsl:template> + + <xsl:template match="d:author[1]" mode="article.titlepage.recto.auto.mode"> + <xsl:variable name="rtf.authorgroup"> + <d:authorgroup> + <xsl:copy-of select=". | following-sibling::d:author"/> + <xsl:copy-of select="preceding-sibling::d:editor"/> + <xsl:copy-of select="following-sibling::d:editor"/> + <xsl:copy-of select="preceding-sibling::d:othercredit"/> + <xsl:copy-of select="following-sibling::d:othercredit"/> + </d:authorgroup> + </xsl:variable> + <xsl:variable name="authorgroup" select="exsl:node-set($rtf.authorgroup)"/> + + <!--<xsl:message>author[1] mode="article.titlepage.recto.auto.mode" + content of authorgroup = <xsl:value-of select="count($authorgroup/*/*)"/> + following-sibling::d:author=<xsl:value-of select="count(following-sibling::d:author)"/> + + following-sibling::d:editor=<xsl:value-of select="count(following-sibling::d:editor)"/> + preceding-sibling::d:editor=<xsl:value-of select="count(preceding-sibling::d:editor)"/> + following-sibling::d:othercredit=<xsl:value-of select="count(following-sibling::d:othercredit)"/> + preceding-sibling::d:othercredit=<xsl:value-of select="count(preceding-sibling::d:othercredit)"/> + </xsl:message>--> + + <!-- Delegate all collected nodes to the authorgroup template --> + <xsl:apply-templates select="$authorgroup" mode="article.titlepage.recto.auto.mode"/> + </xsl:template> + + <!-- Verso page --> + <xsl:template name="article.titlepage.verso"> + <fo:block break-after="page"/> + <fo:block space-after="2em"> + <xsl:choose> + <xsl:when test="d:artheader/d:title"> + <xsl:apply-templates mode="article.titlepage.verso.mode" + select="d:artheader/d:title" /> + </xsl:when> + <xsl:when test="d:info/d:title"> + <xsl:apply-templates mode="article.titlepage.verso.mode" + select="d:info/d:title" /> + </xsl:when> + <xsl:when test="d:title"> + <xsl:apply-templates mode="article.titlepage.verso.mode" + select="d:title" /> + </xsl:when> + </xsl:choose> + <fo:block space-before="0.75em"> + <xsl:choose> + <xsl:when test="d:artheader/d:subtitle"> + <xsl:apply-templates mode="article.titlepage.recto.mode" + select="d:artheader/d:subtitle" /> + </xsl:when> + <xsl:when test="d:info/d:subtitle"> + <xsl:apply-templates mode="article.titlepage.recto.mode" + select="d:info/d:subtitle" /> + </xsl:when> + <xsl:when test="d:subtitle"> + <xsl:apply-templates mode="article.titlepage.recto.mode" + select="d:subtitle" /> + </xsl:when> + </xsl:choose> + </fo:block> + </fo:block> + + <fo:block> + <xsl:apply-templates mode="article.titlepage.verso.mode" select="d:info/d:date"/> + </fo:block> + + <xsl:apply-templates mode="article.titlepage.verso.mode" select="d:info/d:abstract"/> + </xsl:template> + + <xsl:template match="d:title" mode="article.titlepage.verso.mode"> + <fo:block font-size="&large;" role="title-article.titlepage.verso.mode"> + <xsl:apply-templates/> + </fo:block> + </xsl:template> + + <xsl:template match="d:subtitle" mode="article.titlepage.verso.mode"> + <fo:block font-size="&normal;" role="subtitle-article.titlepage.verso.mode"> + <xsl:apply-templates/> + </fo:block> + </xsl:template> + + <xsl:template match="d:date" mode="article.titlepage.verso.mode"> + <fo:inline font-weight="bold"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key">Date</xsl:with-param> + </xsl:call-template> + </fo:inline> + <xsl:text>: </xsl:text> + <xsl:apply-templates/> + </xsl:template> + +</xsl:stylesheet> \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.5/sbp/fo/colors.ent new/suse-xsl-2.87.1/sbp/fo/colors.ent --- old/suse-xsl-2.86.5/sbp/fo/colors.ent 1970-01-01 01:00:00.000000000 +0100 +++ new/suse-xsl-2.87.1/sbp/fo/colors.ent 2022-11-29 10:52:58.272678521 +0100 @@ -0,0 +1 @@ +symbolic link to ../../suse2022-ns/fo/colors.ent diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.5/sbp/fo/docbook.xsl new/suse-xsl-2.87.1/sbp/fo/docbook.xsl --- old/suse-xsl-2.86.5/sbp/fo/docbook.xsl 1970-01-01 01:00:00.000000000 +0100 +++ new/suse-xsl-2.87.1/sbp/fo/docbook.xsl 2022-11-28 16:23:35.000000000 +0100 @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Purpose: + Transform DocBook document into XSL-FO file + + Target: + SUSE Best Practices + + Changes from the standard SUSE stylesheets: + * Titlepage + + Input: + DocBook 5 document + + Output: + Single XSL-FO file + + See Also: + * http://doccookbook.sf.net/html/en/dbc.common.dbcustomize.html + * http://sagehill.net/docbookxsl/CustomMethods.html#WriteCustomization + + Authors: Thomas Schraitle <t...@opensuse.org> + Copyright: 2022 Thomas Schraitle + +--> +<xsl:stylesheet version="1.0" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:fo="http://www.w3.org/1999/XSL/Format"> + + <xsl:import href="../../suse2022-ns/fo/docbook.xsl"/> + + <xsl:include href="../VERSION.xsl"/> + <xsl:include href="article.titlepage.templates.xsl"/> +</xsl:stylesheet> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.5/sbp/fo/fonts.ent new/suse-xsl-2.87.1/sbp/fo/fonts.ent --- old/suse-xsl-2.86.5/sbp/fo/fonts.ent 1970-01-01 01:00:00.000000000 +0100 +++ new/suse-xsl-2.87.1/sbp/fo/fonts.ent 2022-11-29 10:52:58.268678500 +0100 @@ -0,0 +1 @@ +symbolic link to ../../suse2022-ns/fo/fonts.ent diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.5/sbp/fo/metrics.ent new/suse-xsl-2.87.1/sbp/fo/metrics.ent --- old/suse-xsl-2.86.5/sbp/fo/metrics.ent 1970-01-01 01:00:00.000000000 +0100 +++ new/suse-xsl-2.87.1/sbp/fo/metrics.ent 2022-11-29 10:52:58.260678458 +0100 @@ -0,0 +1 @@ +symbolic link to ../../suse2022-ns/fo/metrics.ent diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.5/sbp/fo/titlepage.templates.xsl new/suse-xsl-2.87.1/sbp/fo/titlepage.templates.xsl --- old/suse-xsl-2.86.5/sbp/fo/titlepage.templates.xsl 1970-01-01 01:00:00.000000000 +0100 +++ new/suse-xsl-2.87.1/sbp/fo/titlepage.templates.xsl 2022-11-28 16:23:35.000000000 +0100 @@ -0,0 +1,146 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + +--> + +<!DOCTYPE xsl:stylesheet +[ + <!ENTITY % fonts SYSTEM "fonts.ent"> + <!ENTITY % colors SYSTEM "colors.ent"> + <!ENTITY % metrics SYSTEM "metrics.ent"> + %fonts; + %colors; + %metrics; +]> + +<xsl:stylesheet version="1.0" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:d="http://docbook.org/ns/docbook" + xmlns:fo="http://www.w3.org/1999/XSL/Format"> + + <xsl:template name="article.titlepage.recto"> + <xsl:variable name="height"> + <xsl:call-template name="get.value.from.unit"> + <xsl:with-param name="string" select="$page.height"/> + </xsl:call-template> + </xsl:variable> + <xsl:variable name="unit"> + <xsl:call-template name="get.unit.from.unit"> + <xsl:with-param name="string" select="$page.height"/> + </xsl:call-template> + </xsl:variable> + + <fo:block space-after="&gutter;mm" text-align="start"> + <xsl:choose> + <xsl:when test="$writing.mode ='rl'"> + <xsl:attribute name="margin-right"> + <xsl:value-of select="&columnfragment; + &gutter;"/>mm + </xsl:attribute> + </xsl:when> + <xsl:otherwise> + <xsl:attribute name="margin-left"> + <xsl:value-of select="&columnfragment; + &gutter;"/>mm + </xsl:attribute> + </xsl:otherwise> + </xsl:choose> + <fo:instream-foreign-object content-width="{$titlepage.logo.width.article}" + width="{$titlepage.logo.width}"> + <xsl:call-template name="logo-image"/> + </fo:instream-foreign-object> + </fo:block> + + <fo:block start-indent="{&columnfragment; + &gutter;}mm" text-align="start" + role="article.titlepage.recto"> + <fo:block space-after="{&gutterfragment;}mm"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" + select="*[concat(local-name(.), 'info')]/d:productname[not(@role='abbrev')]"/> + <xsl:choose> + <xsl:when test="d:articleinfo/d:title"> + <xsl:apply-templates + mode="article.titlepage.recto.auto.mode" + select="d:articleinfo/d:title"/> + </xsl:when> + <xsl:when test="d:artheader/d:title"> + <xsl:apply-templates + mode="article.titlepage.recto.auto.mode" + select="d:artheader/d:title"/> + </xsl:when> + <xsl:when test="d:info/d:title"> + <xsl:apply-templates + mode="article.titlepage.recto.auto.mode" + select="d:info/d:title"/> + </xsl:when> + <xsl:when test="d:title"> + <xsl:apply-templates + mode="article.titlepage.recto.auto.mode" select="d:title"/> + </xsl:when> + </xsl:choose> + </fo:block> + + <fo:block padding-before="{2 * &gutterfragment;}mm" + padding-start="{&column; + &columnfragment; + &gutter;}mm"> + + <xsl:choose> + <xsl:when test="d:articleinfo/d:subtitle"> + <xsl:apply-templates + mode="article.titlepage.recto.auto.mode" + select="d:articleinfo/d:subtitle"/> + </xsl:when> + <xsl:when test="d:artheader/d:subtitle"> + <xsl:apply-templates + mode="article.titlepage.recto.auto.mode" + select="d:artheader/d:subtitle"/> + </xsl:when> + <xsl:when test="d:info/d:subtitle"> + <xsl:apply-templates + mode="article.titlepage.recto.auto.mode" + select="d:info/d:subtitle"/> + </xsl:when> + <xsl:when test="d:subtitle"> + <xsl:apply-templates + mode="article.titlepage.recto.auto.mode" + select="d:subtitle"/> + </xsl:when> + </xsl:choose> + </fo:block> + + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:articleinfo/d:corpauthor"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:info/d:corpauthor"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:articleinfo/d:authorgroup"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:info/d:authorgroup"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:articleinfo/d:author"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:info/d:author"/> + + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:info/d:cover"/> + + <xsl:choose> + <xsl:when test="d:articleinfo/d:abstract or d:info/d:abstract"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:articleinfo/d:abstract"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:info/d:abstract"/> + </xsl:when> + <xsl:when test="d:abstract"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:abstract"/> + </xsl:when> + </xsl:choose> + + <fo:block> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:articleinfo/d:othercredit"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:info/d:othercredit"/> + </fo:block> + + <fo:block> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:articleinfo/d:editor"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:info/d:editor"/> + </fo:block> + + <fo:block> + <xsl:call-template name="date.and.revision"/> + </fo:block> + + <fo:block> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:articleinfo/d:mediaobject"/> + </fo:block> + </fo:block> + </xsl:template> + +</xsl:stylesheet> \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.5/sbp/images/draft.svg new/suse-xsl-2.87.1/sbp/images/draft.svg --- old/suse-xsl-2.86.5/sbp/images/draft.svg 1970-01-01 01:00:00.000000000 +0100 +++ new/suse-xsl-2.87.1/sbp/images/draft.svg 2022-11-29 10:52:58.280678563 +0100 @@ -0,0 +1 @@ +symbolic link to ../../suse2022-ns/images/draft.svg diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.5/sbp/images/sbp-tools-title.svg new/suse-xsl-2.87.1/sbp/images/sbp-tools-title.svg --- old/suse-xsl-2.86.5/sbp/images/sbp-tools-title.svg 1970-01-01 01:00:00.000000000 +0100 +++ new/suse-xsl-2.87.1/sbp/images/sbp-tools-title.svg 2022-11-28 16:23:35.000000000 +0100 @@ -0,0 +1,14 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="210mm" height="39.66" viewBox="0 0 210 10.49"> + <g transform="translate(-5.66 -61) scale(.86996)"> + <path fill="#fe7c3f" stroke="#30ba78" stroke-width=".38" d="M6.5 76.73h156.71m7.68 0h77.14"/> + <path fill="#0c322c" stroke="#0c322c" stroke-width=".64" d="M6.5 79.38h153.71"/> + <g stroke="#0c322c" data-name="Group 15" transform="translate(162.56 72.16) scale(.63607)"> + <path fill="none" stroke-miterlimit="10" d="M19.27 3.02h115.09" data-name="Path 73"/> + <g transform="translate(-4.48 -5.69) scale(.0957)"> + <path fill="none" stroke-miterlimit="10" stroke-width="10.5" d="m145.4 124.1 18.2-18.2c14.5 6.6 32.1 4.1 43.9-7.7 9.6-9.6 13.1-23 10.5-35.5L198.1 81l-29.2.1.1-29.2L187.3 32a38.9 38.9 0 0 0-35.5 10.5 38.93 38.93 0 0 0-7.7 43.9l-15.9 15.9m-36 36-57 57c-5.4 5.4-5.4 14.1 0 19.5s14.1 5.4 19.5 0l56.4-56.4"/> + <path fill="none" stroke="#30ba78" stroke-miterlimit="10" stroke-width="10.5" d="m134.1 159.6-4.5 3.9 43.3 48.9a14.5 14.5 0 0 0 20.7 1.1c5.9-5.4 6.4-14.5 1.1-20.5l-43.1-48.3-4.2 3.5-56.3-66.1-.5-14-22.9-17.5-17 14.4 13.6 25.4 13.4 3z"/> + </g> + </g> + </g> +</svg> + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.5/sbp/static/css new/suse-xsl-2.87.1/sbp/static/css --- old/suse-xsl-2.86.5/sbp/static/css 1970-01-01 01:00:00.000000000 +0100 +++ new/suse-xsl-2.87.1/sbp/static/css 2022-11-29 10:52:58.284678584 +0100 @@ -0,0 +1 @@ +symbolic link to ../../suse2022-ns/static/css diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.5/sbp/static/images new/suse-xsl-2.87.1/sbp/static/images --- old/suse-xsl-2.86.5/sbp/static/images 1970-01-01 01:00:00.000000000 +0100 +++ new/suse-xsl-2.87.1/sbp/static/images 2022-11-29 10:52:58.292678627 +0100 @@ -0,0 +1 @@ +symbolic link to ../../suse2022-ns/static/images diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.5/sbp/static/js new/suse-xsl-2.87.1/sbp/static/js --- old/suse-xsl-2.86.5/sbp/static/js 1970-01-01 01:00:00.000000000 +0100 +++ new/suse-xsl-2.87.1/sbp/static/js 2022-11-29 10:52:58.300678669 +0100 @@ -0,0 +1 @@ +symbolic link to ../../suse2022-ns/static/js diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.5/sbp/xhtml/chunk.xsl new/suse-xsl-2.87.1/sbp/xhtml/chunk.xsl --- old/suse-xsl-2.86.5/sbp/xhtml/chunk.xsl 1970-01-01 01:00:00.000000000 +0100 +++ new/suse-xsl-2.87.1/sbp/xhtml/chunk.xsl 2022-11-28 16:23:35.000000000 +0100 @@ -0,0 +1,37 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + Purpose: + Transform DocBook document into single XHTML file + + Target: + SUSE Best Practices + + Changes from the standard SUSE stylesheets: + * Titlepage + + Input: + DocBook 5 document + + Output: + Chunked XHTML files + + See Also: + * http://doccookbook.sf.net/html/en/dbc.common.dbcustomize.html + * http://sagehill.net/docbookxsl/CustomMethods.html#WriteCustomization + + Authors: Thomas Schraitle <t...@opensuse.org> + Copyright: 2022 Thomas Schraitle + +--> +<xsl:stylesheet version="1.0" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> + + <xsl:import href="docbook.xsl"/> + <xsl:import href="../../suse2022-ns/xhtml/chunk-common.xsl"/> + <xsl:include href="http://docbook.sourceforge.net/release/xsl-ns/current/xhtml/manifest.xsl"/> + <xsl:include href="http://docbook.sourceforge.net/release/xsl-ns/current/xhtml/chunk-code.xsl"/> + + <xsl:param name="is.chunk" select="1"/> + +</xsl:stylesheet> \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.5/sbp/xhtml/docbook.xsl new/suse-xsl-2.87.1/sbp/xhtml/docbook.xsl --- old/suse-xsl-2.86.5/sbp/xhtml/docbook.xsl 1970-01-01 01:00:00.000000000 +0100 +++ new/suse-xsl-2.87.1/sbp/xhtml/docbook.xsl 2022-11-28 16:23:35.000000000 +0100 @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Purpose: + Transform DocBook document into single XHTML file + + Target: + SUSE Best Practices + + Changes from the standard SUSE stylesheets: + * Titlepages contains now a list of authors and company logos + + Input: + DocBook 5 document + + Output: + Single XHTML file + + See Also: + * http://doccookbook.sf.net/html/en/dbc.common.dbcustomize.html + * http://sagehill.net/docbookxsl/CustomMethods.html#WriteCustomization + + Authors: Thomas Schraitle <t...@opensuse.org> + Copyright: 2022 Thomas Schraitle + +--> +<xsl:stylesheet version="1.0" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:d="http://docbook.org/ns/docbook" + xmlns:exsl="http://exslt.org/common" + xmlns="http://www.w3.org/1999/xhtml" + exclude-result-prefixes="exsl d"> + + <xsl:import href="../../suse2022-ns/xhtml/docbook.xsl"/> + + <xsl:include href="../VERSION.xsl"/> + <xsl:include href="titlepage.templates.xsl"/> + +</xsl:stylesheet> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.5/sbp/xhtml/titlepage.templates.xsl new/suse-xsl-2.87.1/sbp/xhtml/titlepage.templates.xsl --- old/suse-xsl-2.86.5/sbp/xhtml/titlepage.templates.xsl 1970-01-01 01:00:00.000000000 +0100 +++ new/suse-xsl-2.87.1/sbp/xhtml/titlepage.templates.xsl 2022-11-28 16:23:35.000000000 +0100 @@ -0,0 +1,264 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Purpose: + The title page for articles + + + + Authors: Thomas Schraitle <t...@opensuse.org> + Copyright: 2022 Thomas Schraitle +--> + +<xsl:stylesheet version="1.0" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:d="http://docbook.org/ns/docbook" + xmlns:exsl="http://exslt.org/common" + xmlns="http://www.w3.org/1999/xhtml" + exclude-result-prefixes="exsl d"> + + <xsl:template name="add.authorgroup"> + <div> + <xsl:call-template name="generate.class.attribute"/> + <div> + <span class="imprint-label"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key"> + <xsl:choose> + <xsl:when test="count(d:author|d:corpauthor) > 1">Authors</xsl:when> + <xsl:otherwise>Author</xsl:otherwise> + </xsl:choose> + </xsl:with-param> + </xsl:call-template> + </span> + <xsl:for-each select="d:author"> + <xsl:apply-templates select="." mode="authorgroup"> + <xsl:with-param name="withlabel" select="0"/> + </xsl:apply-templates> + </xsl:for-each> + </div> + </div> + <xsl:if test="d:othercredit|d:editor"> + <xsl:call-template name="add.othercredit"/> + </xsl:if> + </xsl:template> + + <xsl:template name="add.othercredit"> + <div class="othercredit"> + <xsl:call-template name="generate.class.attribute"/> + <span class="imprint-label"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key"> + <xsl:choose> + <xsl:when test="count(d:othercredit|d:editor) > 1" + >Contributors</xsl:when> + <xsl:otherwise>Contributor</xsl:otherwise> + </xsl:choose> + </xsl:with-param> + </xsl:call-template> + </span> + <xsl:for-each select="d:editor|d:othercredit"> + <xsl:apply-templates select="." mode="authorgroup"> + <xsl:with-param name="withlabel" select="0"/> + </xsl:apply-templates> + </xsl:for-each> + </div> + </xsl:template> + + <xsl:template match="d:author[d:personname]|d:editor[d:personname]|d:othercredit[d:personname]" mode="authorgroup"> + <xsl:param name="withlabel" select="1"/> +<!--<xsl:message>d:<xsl:value-of select="local-name(.)"/>[d:personname]</xsl:message> --> + + <div> + <xsl:call-template name="generate.class.attribute"/> + <xsl:if test="$withlabel != 0"> + <span class="imprint-label"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key">Author</xsl:with-param> + </xsl:call-template> + </span> + <xsl:text>: </xsl:text> + </xsl:if> + + <xsl:call-template name="person.name"> + <xsl:with-param name="node" select="."/> + </xsl:call-template> + + <xsl:if test="d:affiliation"> + <xsl:text>, </xsl:text> + <xsl:apply-templates select="d:affiliation/d:jobtitle" mode="article.titlepage.recto.auto.mode"/> + <xsl:apply-templates select="d:affiliation/d:orgname" mode="article.titlepage.recto.auto.mode"/> + </xsl:if> + </div> + </xsl:template> + + + <xsl:template match="d:author[d:orgname]|d:editor[d:orgname]|d:othercredit[d:orgname]" mode="authorgroup"> + <xsl:param name="withlabel" select="1"/> +<!-- <xsl:message>d:<xsl:value-of select="local-name(.)"/>[d:orgname]</xsl:message>--> + + <div> + <xsl:call-template name="generate.class.attribute"/> + <xsl:apply-templates select="d:orgname"/> + <xsl:if test="d:affiliation"> + <xsl:text>, </xsl:text> + <xsl:apply-templates select="d:affiliation/d:jobtitle" mode="article.titlepage.recto.auto.mode"/> + <xsl:apply-templates select="d:affiliation/d:orgname" mode="article.titlepage.recto.auto.mode"/> + </xsl:if> + <!-- In case we want e-mail addresses: --> + <!--<xsl:apply-templates select="d:email" mode="article.titlepage.recto.auto.mode"/>--> + </div> + </xsl:template> + + + <xsl:template match="d:affiliation/d:jobtitle" mode="article.titlepage.recto.auto.mode"> + <xsl:apply-templates/> + </xsl:template> + <xsl:template match="d:affiliation/d:orgname" mode="article.titlepage.recto.auto.mode"> + <xsl:text> (</xsl:text> + <xsl:apply-templates/> + <xsl:text>)</xsl:text> + </xsl:template> + + <xsl:template match="d:cover" mode="article.titlepage.recto.auto.mode"> + <div class="cover"> + <xsl:apply-templates select="*"/> + </div> + </xsl:template> + + + <xsl:template match="d:info/d:date" mode="article.titlepage.recto.auto.mode"> + <div class="date"> + <span class="imprint-label"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key">Date</xsl:with-param> + </xsl:call-template> + </span> + <xsl:text>: </xsl:text> + <xsl:apply-templates select="." mode="titlepage.mode"/> + </div> + </xsl:template> + + + <xsl:template match="d:info/d:author[1]" mode="article.titlepage.recto.auto.mode"> + <xsl:variable name="rtf.authorgroup"> + <d:authorgroup> + <xsl:copy-of select=". | following-sibling::d:author"/> + <xsl:copy-of select="preceding-sibling::d:editor"/> + <xsl:copy-of select="following-sibling::d:editor"/> + <xsl:copy-of select="preceding-sibling::d:othercredit"/> + <xsl:copy-of select="following-sibling::d:othercredit"/> + </d:authorgroup> + </xsl:variable> + <xsl:variable name="authorgroup" select="exsl:node-set($rtf.authorgroup)"/> + + <!--<xsl:message>author[1] mode="article.titlepage.recto.auto.mode" + content of authorgroup = <xsl:value-of select="count($authorgroup/*/*)"/> + following-sibling::d:author=<xsl:value-of select="count(following-sibling::d:author)"/> + + following-sibling::d:editor=<xsl:value-of select="count(following-sibling::d:editor)"/> + preceding-sibling::d:editor=<xsl:value-of select="count(preceding-sibling::d:editor)"/> + following-sibling::d:othercredit=<xsl:value-of select="count(following-sibling::d:othercredit)"/> + preceding-sibling::d:othercredit=<xsl:value-of select="count(preceding-sibling::d:othercredit)"/> + </xsl:message>--> + + <!-- Delegate all collected nodes to the authorgroup template --> + <xsl:apply-templates select="$authorgroup" mode="article.titlepage.recto.auto.mode"/> + </xsl:template> + + + <xsl:template match="d:meta" name="meta"> + <xsl:param name="class" select="@name"/><!-- default --> + <xsl:param name="element">div</xsl:param> + <xsl:element name="{$element}"> + <xsl:call-template name="generate.class.attribute"> + <xsl:with-param name="class" select="$class"/> + </xsl:call-template> + <xsl:apply-templates/> + </xsl:element> + </xsl:template> + + + <xsl:template match="d:meta[@name='series']" mode="article.titlepage.recto.auto.mode"> + <xsl:apply-templates select="."/> + </xsl:template> + + + <xsl:template match="d:meta[@name='category']" mode="article.titlepage.recto.auto.mode"> + <xsl:apply-templates select="."/> + </xsl:template> + + + <xsl:template match="d:meta[@name='platform']" mode="article.titlepage.recto.auto.mode"> + <div> + <xsl:call-template name="generate.class.attribute"> + <xsl:with-param name="class" select="@name"/> + </xsl:call-template> + <xsl:apply-templates mode="titlepage.mode"/> + </div> + </xsl:template> + + + <!-- XHTML titlepage --> + <xsl:template name="article.titlepage.recto"> + <xsl:choose> + <xsl:when test="d:articleinfo/d:title"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:articleinfo/d:title"/> + </xsl:when> + <xsl:when test="d:artheader/d:title"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:artheader/d:title"/> + </xsl:when> + <xsl:when test="d:info/d:title"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:info/d:title"/> + </xsl:when> + <xsl:when test="d:title"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:title"/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="fallback.title"/> + </xsl:otherwise> + </xsl:choose> + + <xsl:choose> + <xsl:when test="d:articleinfo/d:subtitle"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:articleinfo/d:subtitle"/> + </xsl:when> + <xsl:when test="d:artheader/d:subtitle"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:artheader/d:subtitle"/> + </xsl:when> + <xsl:when test="d:info/d:subtitle"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:info/d:subtitle"/> + </xsl:when> + <xsl:when test="d:subtitle"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:subtitle"/> + </xsl:when> + </xsl:choose> + + <div class="series-category"> + <xsl:comment/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:info/d:meta[@name='series']"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:info/d:meta[@name='category']"/> + </div> + + <!-- Moved authors and authorgroups here: --> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:info/d:authorgroup"/> + <!-- We match only the first author and group every author, editor, and othercredit --> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:info/d:author[1]"/> + + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:info/d:cover"/> + + <div class="platforms"> + <xsl:comment/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:info/d:meta[@name='platform']"/> + </div> + + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:info/d:date"/> + + <!-- Legal notice removed from here, now positioned at the bottom of the page, see: division.xsl --> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:artheader/d:abstract"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:info/d:abstract"/> + + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:artheader/d:copyright"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:info/d:copyright"/> + </xsl:template> + +</xsl:stylesheet> \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.5/source-assets/styles2022/sass/README.md new/suse-xsl-2.87.1/source-assets/styles2022/sass/README.md --- old/suse-xsl-2.86.5/source-assets/styles2022/sass/README.md 2022-10-28 08:13:42.000000000 +0200 +++ new/suse-xsl-2.87.1/source-assets/styles2022/sass/README.md 2022-11-28 16:23:35.000000000 +0100 @@ -46,7 +46,7 @@ 2. Compile the SASS files to CSS with a SASS preprocessor using the following command from this directory: - sassc --precicion 5 --sass style.sass ../../../suse2022-ns/static/css/style.css + sassc --precision 5 --sass style.sass ../../../suse2022-ns/static/css/style.css 3. Manually copy the CSS file from the previous step into your target directory. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.5/source-assets/styles2022/sass/custom/content-title.sass new/suse-xsl-2.87.1/source-assets/styles2022/sass/custom/content-title.sass --- old/suse-xsl-2.86.5/source-assets/styles2022/sass/custom/content-title.sass 2022-10-28 08:13:42.000000000 +0200 +++ new/suse-xsl-2.87.1/source-assets/styles2022/sass/custom/content-title.sass 2022-11-28 16:23:35.000000000 +0100 @@ -202,3 +202,33 @@ &:hover background: url($title_icons_path + 'report-bug-dark.svg') no-repeat + + +.titlepage + .authorgroup:nth-child(1) + margin-top: 3rem + text-align: left + + // .authorgroup:nth-child(2) + // margin-top: 2rem + + .series-category + text-align: right + font-size: 1.25rem + margin-top: 3rem + margin-bottom: 3rem + + +.cover + margin-top: 2rem + display: flex + gap: 1.25rem + justify-content: flex-start + + .mediaobject + // border: 1pt solid #eee + padding: 3pt + width: 5rem + +.platforms + margin-top: 2rem diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.5/suse2022-ns/common/l10n/cs.xml new/suse-xsl-2.87.1/suse2022-ns/common/l10n/cs.xml --- old/suse-xsl-2.86.5/suse2022-ns/common/l10n/cs.xml 2022-10-28 08:13:42.000000000 +0200 +++ new/suse-xsl-2.87.1/suse2022-ns/common/l10n/cs.xml 2022-11-28 16:23:35.000000000 +0100 @@ -10,6 +10,8 @@ <l:gentext key="Contributors" text="PÅispÄvatelé"/> <l:gentext key="admonseparator" text=": "/> + <l:gentext key="Date" text="Datum"/> + <l:gentext key="date" text="datum"/> <l:gentext key="selectlanguage" text="Vybrat jazyk"/> <l:gentext key="selectformat" text="Vybrat formát"/> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.5/suse2022-ns/common/l10n/da.xml new/suse-xsl-2.87.1/suse2022-ns/common/l10n/da.xml --- old/suse-xsl-2.86.5/suse2022-ns/common/l10n/da.xml 2022-10-28 08:13:42.000000000 +0200 +++ new/suse-xsl-2.87.1/suse2022-ns/common/l10n/da.xml 2022-11-28 16:23:35.000000000 +0100 @@ -13,6 +13,8 @@ <l:gentext key="Contributors" text="Bidragydere"/> <l:gentext key="admonseparator" text=": "/> + <l:gentext key="Date" text="Dato"/> + <l:gentext key="date" text="dato"/> <l:gentext key="selectlanguage" text="Vælg sprog"/> <l:gentext key="selectformat" text="Vælg format"/> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.5/suse2022-ns/common/l10n/de.xml new/suse-xsl-2.87.1/suse2022-ns/common/l10n/de.xml --- old/suse-xsl-2.86.5/suse2022-ns/common/l10n/de.xml 2022-10-28 08:13:42.000000000 +0200 +++ new/suse-xsl-2.87.1/suse2022-ns/common/l10n/de.xml 2022-11-28 16:23:35.000000000 +0100 @@ -12,6 +12,8 @@ <l:gentext key="Contributors" text="Mitwirkende" /> <l:gentext key="admonseparator" text=": "/> + <l:gentext key="Date" text="Datum"/> + <l:gentext key="date" text="Datum"/> <l:gentext key="selectlanguage" text="Sprache auswählen"/> <l:gentext key="selectformat" text="Format auswählen"/> @@ -81,7 +83,7 @@ <l:template name="figure-title" text="%t"/> <l:template name="glosslist-label" text=""/> <l:template name="glosslist-title" text="%t"/> - <l:template name="procedure-label" text="Prozedur %n:"/> + <l:template name="procedure-label" text="Vorgehen %n:"/> <l:template name="procedure-title" text="%t"/> <l:template name="table-label" text="Tabelle %n:"/> <l:template name="table-title" text="%t"/> @@ -111,7 +113,7 @@ <l:template name="intra-example" text="Beispiel %n â%tâ"/> <l:template name="intra-figure" text="Abbildung %n â%tâ"/> <l:template name="intra-preface" text="Vorwort â%tâ"/> - <l:template name="intra-procedure" text="Prozedur %n â%tâ"/> + <l:template name="intra-procedure" text="Vorgehen %n â%tâ"/> <l:template name="intra-table" text="Tabelle %n â%tâ"/> <l:template name="intra-variablelist" text="â%tâ"/> @@ -127,7 +129,7 @@ <l:template name="example" style="nonumber" text="Beispiel „%t“"/> <l:template name="figure" style="nonumber" text="Abbildung „%t“"/> <l:template name="part" style="nonumber" text="Teil „%t“"/> - <l:template name="procedure" style="nonumber" text="Prozedur „%t“"/> + <l:template name="procedure" style="nonumber" text="Vorgehen „%t“"/> <l:template name="productionset" style="nonumber" text="Produktion „%t“"/> <l:template name="qandadiv" style="nonumber" text="F & A „%t“"/> <l:template name="refsect1" style="nonumber" text="der Abschnitt namens „%t“"/> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.5/suse2022-ns/common/l10n/en.xml new/suse-xsl-2.87.1/suse2022-ns/common/l10n/en.xml --- old/suse-xsl-2.86.5/suse2022-ns/common/l10n/en.xml 2022-10-28 08:13:42.000000000 +0200 +++ new/suse-xsl-2.87.1/suse2022-ns/common/l10n/en.xml 2022-11-28 16:23:35.000000000 +0100 @@ -12,6 +12,8 @@ <l:gentext key="Contributors" text="Contributors"/> <l:gentext key="admonseparator" text=": "/> + <l:gentext key="Date" text="Date"/> + <l:gentext key="date" text="date"/> <l:gentext key="selectlanguage" text="Select Language"/> <l:gentext key="selectformat" text="Select Format"/> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.5/suse2022-ns/common/l10n/es.xml new/suse-xsl-2.87.1/suse2022-ns/common/l10n/es.xml --- old/suse-xsl-2.86.5/suse2022-ns/common/l10n/es.xml 2022-10-28 08:13:42.000000000 +0200 +++ new/suse-xsl-2.87.1/suse2022-ns/common/l10n/es.xml 2022-11-28 16:23:35.000000000 +0100 @@ -13,6 +13,8 @@ <l:gentext key="Contributors" text="Colaboradores"/> <l:gentext key="admonseparator" text=": "/> + <l:gentext key="Date" text="Fecha"/> + <l:gentext key="date" text="fecha"/> <l:gentext key="hyphenation-push-character-count" text="5"/> <l:gentext key="hyphenation-remain-character-count" text="5"/> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.5/suse2022-ns/common/l10n/fi.xml new/suse-xsl-2.87.1/suse2022-ns/common/l10n/fi.xml --- old/suse-xsl-2.86.5/suse2022-ns/common/l10n/fi.xml 2022-10-28 08:13:42.000000000 +0200 +++ new/suse-xsl-2.87.1/suse2022-ns/common/l10n/fi.xml 2022-11-28 16:23:35.000000000 +0100 @@ -11,6 +11,8 @@ <l:gentext key="Contributors" text="Kirjoittajat"/> <l:gentext key="admonseparator" text=": "/> + <l:gentext key="Date" text="Päivämäärä"/> + <l:gentext key="date" text="päivämäärä"/> <l:gentext key="selectlanguage" text="Valitse kieli"/> <l:gentext key="selectformat" text="Valitse muoto"/> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.5/suse2022-ns/common/l10n/fr.xml new/suse-xsl-2.87.1/suse2022-ns/common/l10n/fr.xml --- old/suse-xsl-2.86.5/suse2022-ns/common/l10n/fr.xml 2022-10-28 08:13:42.000000000 +0200 +++ new/suse-xsl-2.87.1/suse2022-ns/common/l10n/fr.xml 2022-11-28 16:23:35.000000000 +0100 @@ -12,6 +12,8 @@ <l:gentext key="Contributors" text="Contributeurs"/> <l:gentext key="admonseparator" text=" : "/> + <l:gentext key="Date" text="Date"/> + <l:gentext key="date" text="Date"/> <l:gentext key="hyphenation-push-character-count" text="4"/> <l:gentext key="hyphenation-remain-character-count" text="4"/> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.5/suse2022-ns/common/l10n/hu.xml new/suse-xsl-2.87.1/suse2022-ns/common/l10n/hu.xml --- old/suse-xsl-2.86.5/suse2022-ns/common/l10n/hu.xml 2022-10-28 08:13:42.000000000 +0200 +++ new/suse-xsl-2.87.1/suse2022-ns/common/l10n/hu.xml 2022-11-28 16:23:35.000000000 +0100 @@ -17,6 +17,8 @@ <l:gentext key="pubdate" text="kiadás dátuma"/> <l:gentext key="admonseparator" text=": "/> + <l:gentext key="Date" text="Dátum"/> + <l:gentext key="date" text="dátum"/> <l:gentext key="selectlanguage" text="Nyelv kiválasztása" /> <l:gentext key="selectformat" text="Formátum megadása" /> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.5/suse2022-ns/common/l10n/it.xml new/suse-xsl-2.87.1/suse2022-ns/common/l10n/it.xml --- old/suse-xsl-2.86.5/suse2022-ns/common/l10n/it.xml 2022-10-28 08:13:42.000000000 +0200 +++ new/suse-xsl-2.87.1/suse2022-ns/common/l10n/it.xml 2022-11-28 16:23:35.000000000 +0100 @@ -13,6 +13,8 @@ <l:gentext key="Contributors" text="Collaboratori" /> <l:gentext key="admonseparator" text=": "/> + <l:gentext key="Date" text="Data"/> + <l:gentext key="date" text="Data"/> <l:gentext key="selectlanguage" text="Seleziona lingua" /> <l:gentext key="selectformat" text="Seleziona formato" /> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.5/suse2022-ns/common/l10n/ja.xml new/suse-xsl-2.87.1/suse2022-ns/common/l10n/ja.xml --- old/suse-xsl-2.86.5/suse2022-ns/common/l10n/ja.xml 2022-10-28 08:13:42.000000000 +0200 +++ new/suse-xsl-2.87.1/suse2022-ns/common/l10n/ja.xml 2022-11-28 16:23:35.000000000 +0100 @@ -12,6 +12,8 @@ <l:gentext key="Contributors" text="å¯ç¨¿è " /> <l:gentext key="admonseparator" text=": "/> + <l:gentext key="Date" text="æ¥ã«ã¡"/> + <l:gentext key="date" text="æ¥ã«ã¡"/> <l:gentext key="selectlanguage" text="è¨èªã®é¸æ"/> <l:gentext key="selectformat" text="ãã©ã¼ãããã®é¸æ"/> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.5/suse2022-ns/common/l10n/ko.xml new/suse-xsl-2.87.1/suse2022-ns/common/l10n/ko.xml --- old/suse-xsl-2.86.5/suse2022-ns/common/l10n/ko.xml 2022-10-28 08:13:42.000000000 +0200 +++ new/suse-xsl-2.87.1/suse2022-ns/common/l10n/ko.xml 2022-11-28 16:23:35.000000000 +0100 @@ -12,6 +12,8 @@ <l:gentext key="Contributors" text="기ì¬ì"/> <l:gentext key="admonseparator" text=": "/> + <l:gentext key="Date" text="ë ì§"/> + <l:gentext key="date" text="ë°ì´í¸"/> <l:gentext key="PubDate" text="ê²ìì¼"/> <l:gentext key="pubdate" text="ê²ìì¼"/> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.5/suse2022-ns/common/l10n/lt_lt.xml new/suse-xsl-2.87.1/suse2022-ns/common/l10n/lt_lt.xml --- old/suse-xsl-2.86.5/suse2022-ns/common/l10n/lt_lt.xml 2022-10-28 08:13:42.000000000 +0200 +++ new/suse-xsl-2.87.1/suse2022-ns/common/l10n/lt_lt.xml 2022-11-28 16:23:35.000000000 +0100 @@ -12,6 +12,8 @@ <l:gentext key="Contributors" text="Bendradarbiai"/> <l:gentext key="admonseparator" text=": "/> + <l:gentext key="Date" text="Data"/> + <l:gentext key="date" text="data"/> <l:gentext key="selectlanguage" text="Pasirinkti kalbÄ "/> <l:gentext key="selectformat" text="Pasirinkti formatÄ "/> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.5/suse2022-ns/common/l10n/nl.xml new/suse-xsl-2.87.1/suse2022-ns/common/l10n/nl.xml --- old/suse-xsl-2.86.5/suse2022-ns/common/l10n/nl.xml 2022-10-28 08:13:42.000000000 +0200 +++ new/suse-xsl-2.87.1/suse2022-ns/common/l10n/nl.xml 2022-11-28 16:23:35.000000000 +0100 @@ -15,6 +15,8 @@ <l:gentext key="pubdate" text="publicatiedatum"/> <l:gentext key="admonseparator" text=": "/> + <l:gentext key="Date" text="Datum"/> + <l:gentext key="date" text="datum"/> <l:gentext key="selectlanguage" text="Taal selecteren"/> <l:gentext key="selectformat" text="Indeling selecteren"/> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.5/suse2022-ns/common/l10n/no.xml new/suse-xsl-2.87.1/suse2022-ns/common/l10n/no.xml --- old/suse-xsl-2.86.5/suse2022-ns/common/l10n/no.xml 2022-10-28 08:13:42.000000000 +0200 +++ new/suse-xsl-2.87.1/suse2022-ns/common/l10n/no.xml 2022-11-28 16:23:35.000000000 +0100 @@ -11,6 +11,8 @@ <l:gentext key="Contributors" text="Bidragsytere"/> <l:gentext key="admonseparator" text=": "/> + <l:gentext key="Date" text="Dato"/> + <l:gentext key="date" text="Dato"/> <l:gentext key="selectlanguage" text="Velg sprÃ¥k"/> <l:gentext key="selectformat" text="Velg format"/> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.5/suse2022-ns/common/l10n/pl.xml new/suse-xsl-2.87.1/suse2022-ns/common/l10n/pl.xml --- old/suse-xsl-2.86.5/suse2022-ns/common/l10n/pl.xml 2022-10-28 08:13:42.000000000 +0200 +++ new/suse-xsl-2.87.1/suse2022-ns/common/l10n/pl.xml 2022-11-28 16:23:35.000000000 +0100 @@ -11,6 +11,8 @@ <l:gentext key="Contributors" text="WspóÅautorzy" /> <l:gentext key="admonseparator" text=": "/> + <l:gentext key="Date" text="Data"/> + <l:gentext key="date" text="data"/> <l:gentext key="selectlanguage" text="Wybierz jÄzyk"/> <l:gentext key="selectformat" text="Wybierz format"/> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.5/suse2022-ns/common/l10n/pt_br.xml new/suse-xsl-2.87.1/suse2022-ns/common/l10n/pt_br.xml --- old/suse-xsl-2.86.5/suse2022-ns/common/l10n/pt_br.xml 2022-10-28 08:13:42.000000000 +0200 +++ new/suse-xsl-2.87.1/suse2022-ns/common/l10n/pt_br.xml 2022-11-28 16:23:35.000000000 +0100 @@ -12,6 +12,8 @@ <l:gentext key="Contributors" text="Colaboradores"/> <l:gentext key="admonseparator" text=": "/> + <l:gentext key="Date" text="Data"/> + <l:gentext key="date" text="data"/> <l:gentext key="selectlanguage" text="Selecionar Idioma"/> <l:gentext key="selectformat" text="Selecionar Formato"/> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.5/suse2022-ns/common/l10n/ru.xml new/suse-xsl-2.87.1/suse2022-ns/common/l10n/ru.xml --- old/suse-xsl-2.86.5/suse2022-ns/common/l10n/ru.xml 2022-10-28 08:13:42.000000000 +0200 +++ new/suse-xsl-2.87.1/suse2022-ns/common/l10n/ru.xml 2022-11-28 16:23:35.000000000 +0100 @@ -11,6 +11,8 @@ <l:gentext key="Contributors" text="УÑаÑÑники"/> <l:gentext key="admonseparator" text="! " /> + <l:gentext key="Date" text="Свидание"/> + <l:gentext key="date" text="Ñвидание"/> <l:gentext key="selectlanguage" text="ÐÑбÑаÑÑ ÑзÑк" /> <l:gentext key="selectformat" text="ÐÑбÑаÑÑ ÑоÑмаÑ" /> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.5/suse2022-ns/common/l10n/sv.xml new/suse-xsl-2.87.1/suse2022-ns/common/l10n/sv.xml --- old/suse-xsl-2.86.5/suse2022-ns/common/l10n/sv.xml 2022-10-28 08:13:42.000000000 +0200 +++ new/suse-xsl-2.87.1/suse2022-ns/common/l10n/sv.xml 2022-11-28 16:23:35.000000000 +0100 @@ -15,6 +15,8 @@ <l:gentext key="pubdate" text="publiceringsdatum"/> <l:gentext key="admonseparator" text=": "/> + <l:gentext key="Date" text="Datum"/> + <l:gentext key="date" text="datum"/> <!-- In most cases, this has to be empty --> <l:dingbat key="guimenustartquote" text=""/> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.5/suse2022-ns/common/l10n/zh_cn.xml new/suse-xsl-2.87.1/suse2022-ns/common/l10n/zh_cn.xml --- old/suse-xsl-2.86.5/suse2022-ns/common/l10n/zh_cn.xml 2022-10-28 08:13:42.000000000 +0200 +++ new/suse-xsl-2.87.1/suse2022-ns/common/l10n/zh_cn.xml 2022-11-28 16:23:35.000000000 +0100 @@ -12,6 +12,8 @@ <l:gentext key="Contributors" text="æç¨¿è " /> <l:gentext key="admonseparator" text="ï¼" /> + <l:gentext key="Date" text="æ¥æ"/> + <l:gentext key="date" text="æ¥æ"/> <l:gentext key="selectlanguage" text="éæ©è¯è¨" /> <l:gentext key="selectformat" text="éæ©æ ¼å¼" /> @@ -88,18 +90,11 @@ <l:gentext key="step.optional" text="(å¯é)" /> <l:gentext key="GlossSeeAlso" text="å¦è¯·åè§" /> <l:gentext key="glossseealso" text="å¦è¯·åè§" /> - <l:gentext key="suselegal" text="æ³å¾" /> - <l:gentext key="suseabout" text="å ³äº" /> - <l:gentext key="susecontact" text="èç³»æä»¬" /> - <l:gentext key="version.info" text="éç¨èå´ " /> - <l:gentext key="totopofpage" text="è¿å页é¦" /> - <l:gentext key="version" text="çæ¬" /> - <l:gentext key="Version" text="çæ¬" /> - - <l:gentext key="step.optional" text="(å¯é)" /> - <l:gentext key="GlossSeeAlso" text="å¦è¯·åè§" /> - <l:gentext key="glossseealso" text="å¦è¯·åè§" /> + <l:dingbat key="guimenustartquote" text=""/> + <l:dingbat key="guimenuendquote" text=""/> + <l:dingbat key="startquote" text="「"/> + <l:dingbat key="endquote" text="」"/> <l:context name="bypass-block"> <l:template name="bypass-to-content" text="è·³å°å 容" /> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.5/suse2022-ns/common/l10n/zh_tw.xml new/suse-xsl-2.87.1/suse2022-ns/common/l10n/zh_tw.xml --- old/suse-xsl-2.86.5/suse2022-ns/common/l10n/zh_tw.xml 2022-10-28 08:13:42.000000000 +0200 +++ new/suse-xsl-2.87.1/suse2022-ns/common/l10n/zh_tw.xml 2022-11-28 16:23:35.000000000 +0100 @@ -12,6 +12,8 @@ <l:gentext key="Contributors" text="æç¨¿è " /> <l:gentext key="admonseparator" text="ï¼" /> + <l:gentext key="Date" text="æ¥æ"/> + <l:gentext key="date" text="æ¥æ"/> <l:gentext key="selectlanguage" text="é¸åèªè¨" /> <l:gentext key="selectformat" text="é¸åæ ¼å¼" /> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.5/suse2022-ns/fo/l10n.properties.xml new/suse-xsl-2.87.1/suse2022-ns/fo/l10n.properties.xml --- old/suse-xsl-2.86.5/suse2022-ns/fo/l10n.properties.xml 2022-10-28 08:13:42.000000000 +0200 +++ new/suse-xsl-2.87.1/suse2022-ns/fo/l10n.properties.xml 2022-11-28 16:23:35.000000000 +0100 @@ -181,15 +181,15 @@ + the Western font is usually awkwardly sized + the Western font usually does not fit the line weight of the CJK font --> - <prop name="serif">IPAPMincho, serif</prop> - <prop name="sans">IPAPGothic, sans-serif</prop> - <prop name="mono">'WenQuanYi Micro Hei Mono', WenQuanYiMicroHeiMono, monospace</prop> + <prop name="serif" ref-name="sans"/> + <prop name="sans">NotoSansJP, sans-serif</prop> + <prop name="mono">'DejaVu Sans Mono', DejaVuSansMono, NotoSansJP, monospace</prop> <!-- We could theoretically enable this for Japanese, but the existing bold version of IPA P Mincho is a machine-emboldened mess of black ink with bad meta data that leads to it not being recognized as the bold version of its original. IPA P Mincho does not have a bold version (apparently very unusual). --> - <prop name="enable-bold">false</prop> + <prop name="enable-bold">true</prop> <prop name="enable-serif-semibold">false</prop> <prop name="enable-sans-semibold">false</prop> <prop name="enable-mono-semibold">false</prop> @@ -206,9 +206,9 @@ <prop name="writing-mode" ref-lang="default"/> </lang> <lang code="ko"> - <prop name="serif">UnBatang, serif</prop> - <prop name="sans">UnDotum, sans-serif</prop> - <prop name="mono">'WenQuanYi Micro Hei Mono', WenQuanYiMicroHeiMono, monospace</prop> + <prop name="serif" ref-name="sans"/> + <prop name="sans">NotoSansKO, sans-serif</prop> + <prop name="mono">'DejaVu Sans Mono', DejaVuSansMono, NotoSansKO, monospace</prop> <prop name="enable-bold">true</prop> <prop name="enable-serif-semibold">false</prop> <prop name="enable-sans-semibold">false</prop> @@ -230,10 +230,10 @@ <!-- Simplified Chinese is most often printed as sans-serif, so use that. --> <prop name="serif" ref-name="sans"/> - <prop name="sans">'WenQuanYi Micro Hei', WenQuanYiMicroHei, sans-serif</prop> - <prop name="mono">'WenQuanYi Micro Hei Mono', WenQuanYiMicroHeiMono, monospace</prop> + <prop name="sans">NotoSansZH_CN, sans-serif</prop> + <prop name="mono">'DejaVu Sans Mono', DejaVuSansMono, NotoSansZH_CN, monospace</prop> <!-- We could enable this with some font support. --> - <prop name="enable-bold">false</prop> + <prop name="enable-bold">true</prop> <prop name="enable-serif-semibold">false</prop> <prop name="enable-sans-semibold">false</prop> <prop name="enable-mono-semibold">false</prop> @@ -265,12 +265,12 @@ + the Western font is usually awkwardly sized + the Western font usually does not fit the line weight of the CJK font --> - <prop name="serif">'AR PL UMing TW', ARPLUMingTW, serif</prop> - <prop name="sans" ref-name="serif"/> - <prop name="mono">'WenQuanYi Micro Hei Mono', WenQuanYiMicroHeiMono, monospace</prop> + <prop name="serif" ref-name="sans"/> + <prop name="sans">NotoSansZH_TW, sans-serif</prop> + <prop name="mono">'DejaVu Sans Mono', DejaVuSansMono, NotoSansZH_TW, monospace</prop> <!-- We will probably never enable this - that text would just become messy blotches of ink. --> - <prop name="enable-bold">false</prop> + <prop name="enable-bold">true</prop> <prop name="enable-serif-semibold">false</prop> <prop name="enable-sans-semibold">false</prop> <prop name="enable-mono-semibold">false</prop> @@ -279,8 +279,8 @@ apparently. --> <prop name="enable-italic">false</prop> <prop name="fontsize-adjust">1.1</prop> - <prop name="sans-xheight-adjust">1</prop> - <prop name="mono-xheight-adjust">0.781</prop> + <prop name="sans-xheight-adjust">1.15</prop> + <prop name="mono-xheight-adjust">1.0</prop> <prop name="base-lineheight">1.5</prop> <!-- dummy values --> <prop name="sans-lineheight-adjust">1</prop> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.5/suse2022-ns/static/css/style.css new/suse-xsl-2.87.1/suse2022-ns/static/css/style.css --- old/suse-xsl-2.86.5/suse2022-ns/static/css/style.css 2022-10-28 08:13:42.000000000 +0200 +++ new/suse-xsl-2.87.1/suse2022-ns/static/css/style.css 2022-11-28 16:23:35.000000000 +0100 @@ -2420,6 +2420,28 @@ .icon-reportbug:hover { background: url("../images/report-bug-dark.svg") no-repeat; } +.titlepage .authorgroup:nth-child(1) { + margin-top: 3rem; + text-align: left; } + +.titlepage .series-category { + text-align: right; + font-size: 1.25rem; + margin-top: 3rem; + margin-bottom: 3rem; } + +.cover { + margin-top: 2rem; + display: flex; + gap: 1.25rem; + justify-content: flex-start; } + .cover .mediaobject { + padding: 3pt; + width: 5rem; } + +.platforms { + margin-top: 2rem; } + .informaltable, .table-contents { overflow: auto; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.5/suse2022-ns/static/js/script.js new/suse-xsl-2.87.1/suse2022-ns/static/js/script.js --- old/suse-xsl-2.86.5/suse2022-ns/static/js/script.js 2022-10-28 08:13:42.000000000 +0200 +++ new/suse-xsl-2.87.1/suse2022-ns/static/js/script.js 2022-11-28 16:23:35.000000000 +0100 @@ -493,8 +493,10 @@ show_meta(); if ( typeof(bugtrackerUrl) != 'string') { + console.warn("Didn't find meta[tracker-url]. Couldn't create report links. :-("); return false; } + $('.title-container').each(function(index) { /* This function is applied to the following structure: <div class="title-container"> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.5/suse2022-ns/xhtml/docbook.xsl new/suse-xsl-2.87.1/suse2022-ns/xhtml/docbook.xsl --- old/suse-xsl-2.86.5/suse2022-ns/xhtml/docbook.xsl 2022-10-28 08:13:42.000000000 +0200 +++ new/suse-xsl-2.87.1/suse2022-ns/xhtml/docbook.xsl 2022-11-28 16:23:35.000000000 +0100 @@ -8,7 +8,7 @@ http://docbook.sourceforge.net/release/xsl-ns/current/doc/html/index.html Input: - DocBook 4/5 document + DocBook 5 document Output: Single XHTML file @@ -19,7 +19,7 @@ Authors: Thomas Schraitle <t...@opensuse.org>, Stefan Knorr <skn...@suse.de> - Copyright: 2012-2018 Thomas Schraitle, Stefan Knorr + Copyright: 2012-2022 Thomas Schraitle, Stefan Knorr -->