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-12-10 21:17:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/suse-xsl-stylesheets (Old) and /work/SRC/openSUSE:Factory/.suse-xsl-stylesheets.new.1835 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "suse-xsl-stylesheets" Sat Dec 10 21:17:46 2022 rev:60 rq:1041905 version:2.88.0 Changes: -------- --- /work/SRC/openSUSE:Factory/suse-xsl-stylesheets/suse-xsl-stylesheets.changes 2022-11-29 10:52:56.660670053 +0100 +++ /work/SRC/openSUSE:Factory/.suse-xsl-stylesheets.new.1835/suse-xsl-stylesheets.changes 2022-12-10 21:18:03.857639268 +0100 @@ -1,0 +2,39 @@ +Fri Dec 9 13:16:30 UTC 2022 - Thomas Schraitle <thomas.schrai...@suse.com> - 2.88.0 + +- Update 2.88.0 + * Changes for both formats: + - Base TRD stylesheets on SBP + - Supports affiliation/jobtitle and affiliation/orgname in author, + editor, and othercredit. Distinguish between a personname and an + orgname + - Detects meta[@name='series'] and meta[@name='type']. + Still possible to use meta[@name='platform'] + - For SBP, we use <meta name="category">, but TRD needs + <meta name="type"> + + * FO output + - Use jungle color for productname and add space + - Change article titlepage for FO + - upper right shows seris and type + - title, optional subtitle, and SVG separator + - Platforms and authors (first authors, then editors and + othercredits) + - Shows max 5 company logos from right to left + - Don't hyphenate titles + - Shows title and subtitle on page 2 + - Shows date(s) + - Shows abstract(s) + + * HTML output + - Change article titlepage for XHTML + - Starts with productname + - Shows title & subtitle followed by d:meta[@name='series'] and + d:meta[@name='type']. Don't hyphenate titles + - Shows authors and contributors + - Shows optional company logos + - Shows date(s) + - Shows abstract(s) + + * SBP: Introduce titlepage.logo.image + +------------------------------------------------------------------- Old: ---- suse-xsl-2.87.1.tar.bz2 New: ---- suse-xsl-2.88.0.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ suse-xsl-stylesheets.spec ++++++ --- /var/tmp/diff_new_pack.d7juWf/_old 2022-12-10 21:18:04.313641935 +0100 +++ /var/tmp/diff_new_pack.d7juWf/_new 2022-12-10 21:18:04.321641982 +0100 @@ -22,7 +22,7 @@ %define suse_styles_dir %{db_xml_dir}/stylesheet # Name: suse-xsl-stylesheets -Version: 2.87.1 +Version: 2.88.0 Release: 0 Summary: SUSE-Branded Stylesheets for DocBook License: GPL-2.0-only OR GPL-3.0-only @@ -174,6 +174,7 @@ %dir %{suse_styles_dir}/suse2021-ns %dir %{suse_styles_dir}/suse2022-ns %dir %{suse_styles_dir}/sbp +%dir %{suse_styles_dir}/trd %dir %{_ttfontsdir} @@ -191,6 +192,7 @@ %{suse_styles_dir}/suse2021-ns/* %{suse_styles_dir}/suse2022-ns/* %{suse_styles_dir}/sbp/* +%{suse_styles_dir}/trd/* # catalogs %config %{_sysconfdir}/xml/catalog.d/%{name}.xml ++++++ suse-xsl-2.87.1.tar.bz2 -> suse-xsl-2.88.0.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.87.1/ChangeLog new/suse-xsl-2.88.0/ChangeLog --- old/suse-xsl-2.87.1/ChangeLog 2022-11-28 16:23:35.000000000 +0100 +++ new/suse-xsl-2.88.0/ChangeLog 2022-12-09 14:12:06.000000000 +0100 @@ -1,4 +1,44 @@ ------------------------------------------------------------------- +Fri Dec 09 14:10:00 UTC 2022 - toms...@users.noreply.github.com + +- Update 2.88.0 + Changes for both formats: + - Base TRD stylesheets on SBP + - Supports affiliation/jobtitle and affiliation/orgname in author, + editor, and othercredit. Distinguish between a personname and an + orgname + - Detects meta[@name='series'] and meta[@name='type']. + Still possible to use meta[@name='platform'] + - For SBP, we use <meta name="category">, but TRD needs + <meta name="type"> + + * FO output + - Use jungle color for productname and add space + - Change article titlepage for FO + - upper right shows seris and type + - title, optional subtitle, and SVG separator + - Platforms and authors (first authors, then editors and + othercredits) + - Shows max 5 company logos from right to left + - Don't hyphenate titles + - Shows title and subtitle on page 2 + - Shows date(s) + - Shows abstract(s) + + * HTML output + - Change article titlepage for XHTML + - Starts with productname + - Shows title & subtitle followed by d:meta[@name='series'] and + d:meta[@name='type']. Don't hyphenate titles + - Shows authors and contributors + - Shows optional company logos + - Shows date(s) + - Shows abstract(s) + + * SBP: Introduce titlepage.logo.image + + +------------------------------------------------------------------- Mon Nov 28 16:21:00 UTC 2022 - toms...@users.noreply.github.com - Update 2.87.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.87.1/Makefile new/suse-xsl-2.88.0/Makefile --- old/suse-xsl-2.87.1/Makefile 2022-11-28 16:23:35.000000000 +0100 +++ new/suse-xsl-2.88.0/Makefile 2022-12-09 14:12:06.000000000 +0100 @@ -11,7 +11,7 @@ SHELL := /bin/bash PACKAGE := suse-xsl-stylesheets -VERSION := 2.87.1 +VERSION := 2.88.0 CDIR := $(shell pwd) SUSE_XML_PATH := $(PREFIX)/xml/suse DB_XML_PATH := $(PREFIX)/xml/docbook @@ -29,6 +29,7 @@ DIR2021_SUSE := suse2021-ns DIR2022_SUSE := suse2022-ns DIRSBP := sbp +DIRTRD := trd #-------------------------------------------------------------- # Directories and files that will be created @@ -77,6 +78,7 @@ SUSESTYLEDIR2021-NS := $(INST_STYLE_ROOT)/$(DIR2021_SUSE) SUSESTYLEDIR2022-NS := $(INST_STYLE_ROOT)/$(DIR2022_SUSE) SBPDIR := $(INST_STYLE_ROOT)/$(DIRSBP) +TRDDIR := $(INST_STYLE_ROOT)/$(DIRTRD) DOCDIR := $(DESTDIR)$(PREFIX)/doc/packages/suse-xsl-stylesheets TTF_FONT_DIR := $(DESTDIR)$(PREFIX)/fonts/truetype @@ -86,7 +88,7 @@ $(DAPSSTYLEDIR2013) $(DAPSSTYLEDIR2013-NS) \ $(OPENSUSESTYLEDIR2013) $(OPENSUSESTYLEDIR2013-NS) \ $(SUSESTYLEDIR2013) $(SUSESTYLEDIR2013-NS) \ - $(SUSESTYLEDIR2021-NS) $(SUSESTYLEDIR2022-NS) $(SBPDIR) + $(SUSESTYLEDIR2021-NS) $(SUSESTYLEDIR2022-NS) $(SBPDIR) $(TRDDIR) INST_DIRECTORIES := $(INST_STYLEDIRS) $(DOCDIR) \ $(TTF_FONT_DIR) $(CATALOG_DIR) @@ -122,6 +124,7 @@ 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) + tar c --mode=u+w,go+r-w,a-s -C $(DIRTRD) . | (cd $(TRDDIR); 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.87.1/sbp/fo/article.titlepage.templates.xsl new/suse-xsl-2.88.0/sbp/fo/article.titlepage.templates.xsl --- old/suse-xsl-2.87.1/sbp/fo/article.titlepage.templates.xsl 2022-11-28 16:23:35.000000000 +0100 +++ new/suse-xsl-2.88.0/sbp/fo/article.titlepage.templates.xsl 2022-12-09 14:12:06.000000000 +0100 @@ -81,8 +81,7 @@ <!-- Tools --> <fo:block> - <fo:external-graphic content-width="100%" - src="{$styleroot}/images/sbp-tools-title.svg" /> + <fo:external-graphic content-width="100%" src="{$titlepage.logo.image}" /> </fo:block> <!-- Platform specific --> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.87.1/sbp/fo/docbook.xsl new/suse-xsl-2.88.0/sbp/fo/docbook.xsl --- old/suse-xsl-2.87.1/sbp/fo/docbook.xsl 2022-11-28 16:23:35.000000000 +0100 +++ new/suse-xsl-2.88.0/sbp/fo/docbook.xsl 2022-12-09 14:12:06.000000000 +0100 @@ -30,5 +30,6 @@ <xsl:import href="../../suse2022-ns/fo/docbook.xsl"/> <xsl:include href="../VERSION.xsl"/> - <xsl:include href="article.titlepage.templates.xsl"/> + <xsl:include href="param.xsl"/> + <xsl:include href="../../suse2022-ns/fo/article.titlepage.templates.xsl"/> </xsl:stylesheet> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.87.1/sbp/fo/param.xsl new/suse-xsl-2.88.0/sbp/fo/param.xsl --- old/suse-xsl-2.87.1/sbp/fo/param.xsl 1970-01-01 01:00:00.000000000 +0100 +++ new/suse-xsl-2.88.0/sbp/fo/param.xsl 2022-12-09 14:12:06.000000000 +0100 @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Purpose: + Contains all parameters for SBP + + See Also: + * http://docbook.sourceforge.net/release/xsl-ns/current/doc/fo/index.html + + 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:fo="http://www.w3.org/1999/XSL/Format" + exclude-result-prefixes="d"> + + +<xsl:param name="titlepage.logo.image"><xsl:value-of select="$styleroot"/>images/sbp-tools-title.svg</xsl:param> +</xsl:stylesheet> \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.87.1/sbp/xhtml/titlepage.templates.xsl new/suse-xsl-2.88.0/sbp/xhtml/titlepage.templates.xsl --- old/suse-xsl-2.87.1/sbp/xhtml/titlepage.templates.xsl 2022-11-28 16:23:35.000000000 +0100 +++ new/suse-xsl-2.88.0/sbp/xhtml/titlepage.templates.xsl 2022-12-09 14:12:06.000000000 +0100 @@ -64,6 +64,20 @@ </div> </xsl:template> + <xsl:template match="d:info/d:abstract" mode="article.titlepage.recto.auto.mode"> + <xsl:message>d:info/d:abstract</xsl:message> + <div class="abstract"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode"/> + </div> + </xsl:template> + <xsl:template match="d:info/d:abstract/d:title" mode="article.titlepage.recto.auto.mode"> + <xsl:message>d:info/d:abstract/d:title</xsl:message> + <div class="title"> + <xsl:apply-templates/> + </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> --> @@ -183,7 +197,7 @@ </xsl:template> - <xsl:template match="d:meta[@name='category']" mode="article.titlepage.recto.auto.mode"> + <xsl:template match="d:meta[@name='category' or @name='type']" mode="article.titlepage.recto.auto.mode"> <xsl:apply-templates select="."/> </xsl:template> @@ -200,6 +214,7 @@ <!-- XHTML titlepage --> <xsl:template name="article.titlepage.recto"> + <!-- TITLE --> <xsl:choose> <xsl:when test="d:articleinfo/d:title"> <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:articleinfo/d:title"/> @@ -218,6 +233,7 @@ </xsl:otherwise> </xsl:choose> + <!-- SUBTITLE --> <xsl:choose> <xsl:when test="d:articleinfo/d:subtitle"> <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:articleinfo/d:subtitle"/> @@ -236,7 +252,7 @@ <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']"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:info/d:meta[@name='category' or @name='type']"/> </div> <!-- Moved authors and authorgroups here: --> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.87.1/source-assets/styles2022/sass/custom/content-inline.sass new/suse-xsl-2.88.0/source-assets/styles2022/sass/custom/content-inline.sass --- old/suse-xsl-2.87.1/source-assets/styles2022/sass/custom/content-inline.sass 2022-11-28 16:23:35.000000000 +0100 +++ new/suse-xsl-2.88.0/source-assets/styles2022/sass/custom/content-inline.sass 2022-12-09 14:12:06.000000000 +0100 @@ -82,6 +82,10 @@ margin: 10px 0 0 text-align: left +.abstract + .title + font-weight: bold + font-size: 12pt .abstract, .highlights diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.87.1/suse2022-ns/static/css/style.css new/suse-xsl-2.88.0/suse2022-ns/static/css/style.css --- old/suse-xsl-2.87.1/suse2022-ns/static/css/style.css 2022-11-28 16:23:35.000000000 +0100 +++ new/suse-xsl-2.88.0/suse2022-ns/static/css/style.css 2022-12-09 14:12:06.000000000 +0100 @@ -2644,6 +2644,10 @@ margin: 10px 0 0; text-align: left; } +.abstract .title { + font-weight: bold; + font-size: 12pt; } + .abstract, .highlights { font-size: 18px; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.87.1/trd/VERSION new/suse-xsl-2.88.0/trd/VERSION --- old/suse-xsl-2.87.1/trd/VERSION 1970-01-01 01:00:00.000000000 +0100 +++ new/suse-xsl-2.88.0/trd/VERSION 2022-12-09 14:12:06.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="'trd'"/> + <xsl:param name="STYLE.VERSION" select="'@@#version@@'"/> + +</xsl:stylesheet> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.87.1/trd/VERSION.xsl new/suse-xsl-2.88.0/trd/VERSION.xsl --- old/suse-xsl-2.87.1/trd/VERSION.xsl 1970-01-01 01:00:00.000000000 +0100 +++ new/suse-xsl-2.88.0/trd/VERSION.xsl 2022-12-10 21:18:05.901651220 +0100 @@ -0,0 +1 @@ +symbolic link to VERSION diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.87.1/trd/fo/article.titlepage.templates.xsl new/suse-xsl-2.88.0/trd/fo/article.titlepage.templates.xsl --- old/suse-xsl-2.87.1/trd/fo/article.titlepage.templates.xsl 1970-01-01 01:00:00.000000000 +0100 +++ new/suse-xsl-2.88.0/trd/fo/article.titlepage.templates.xsl 2022-12-09 14:12:06.000000000 +0100 @@ -0,0 +1,373 @@ +<?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 table-layout="fixed"> + <fo:table-column column-number="1" column-width="20%"/> + <fo:table-column column-number="2" /><!-- column-width="75%" --> + + <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="&x-large;pt" hyphenate="false"> + <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='type'][1]" mode="article.titlepage.recto.auto.mode"/> + </fo:block> + </fo:table-cell> + </fo:table-body> + </fo:table> + + <!-- product --> + <fo:block space-before="3cm"> + <xsl:if test="d:info/d:productname"> + <fo:block role="productname"> + <xsl:apply-templates select="d:info/d:productname[1]" mode="article.titlepage.recto.auto.mode"/> + </fo:block> + </xsl:if> + + <!-- Title --> + <fo:block hyphenate="false"> + <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> + </fo:block> + + <!-- Tools --> + <fo:block> + <fo:external-graphic content-width="100%" src="{$titlepage.logo.image}" /> + </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:info/d:productname" mode="article.titlepage.recto.auto.mode"> + <fo:block text-align="start" font-size="{&xx-large; * $sans-fontsize-adjust}pt" space-after="0.5em"> + <fo:inline background-color="&c_jungle;" color="white" + padding="0.3em 0.3em 0.1em 0.3em"> + <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> + </fo:inline> + </fo:block> + </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' or @name='type']" 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-column column-number="1" column-width="20%"/> + <fo:table-column column-number="2" column-width="20%"/> + <fo:table-column column-number="3" column-width="20%"/> + <fo:table-column column-number="4" column-width="20%"/> + <fo:table-column column-number="5" column-width="20%"/> + <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"> + <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" hyphenate="false" text-align="left"> + <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:info/d:abstract" mode="article.titlepage.verso.mode"> + <fo:block space-before="2em"> + <xsl:apply-templates mode="article.titlepage.verso.mode"/> + </fo:block> + </xsl:template> + + <xsl:template match="d:info/d:abstract/d:title" mode="article.titlepage.verso.mode"> + <fo:block font-weight="bold"> + <xsl:apply-templates/> + </fo:block> + </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.87.1/trd/fo/colors.ent new/suse-xsl-2.88.0/trd/fo/colors.ent --- old/suse-xsl-2.87.1/trd/fo/colors.ent 1970-01-01 01:00:00.000000000 +0100 +++ new/suse-xsl-2.88.0/trd/fo/colors.ent 2022-12-10 21:18:05.865651010 +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.87.1/trd/fo/docbook.xsl new/suse-xsl-2.88.0/trd/fo/docbook.xsl --- old/suse-xsl-2.87.1/trd/fo/docbook.xsl 1970-01-01 01:00:00.000000000 +0100 +++ new/suse-xsl-2.88.0/trd/fo/docbook.xsl 2022-12-09 14:12:06.000000000 +0100 @@ -0,0 +1,37 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Purpose: + Transform DocBook document into XSL-FO file + + Target: + Technical Reference Documentation + + 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="param.xsl"/> +<!-- <xsl:include href="../../sbp/fo/titlepage.templates.xsl"/>--> + <xsl:include href="article.titlepage.templates.xsl"/> + +</xsl:stylesheet> \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.87.1/trd/fo/fonts.ent new/suse-xsl-2.88.0/trd/fo/fonts.ent --- old/suse-xsl-2.87.1/trd/fo/fonts.ent 1970-01-01 01:00:00.000000000 +0100 +++ new/suse-xsl-2.88.0/trd/fo/fonts.ent 2022-12-10 21:18:05.857650963 +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.87.1/trd/fo/metrics.ent new/suse-xsl-2.88.0/trd/fo/metrics.ent --- old/suse-xsl-2.87.1/trd/fo/metrics.ent 1970-01-01 01:00:00.000000000 +0100 +++ new/suse-xsl-2.88.0/trd/fo/metrics.ent 2022-12-10 21:18:05.849650916 +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.87.1/trd/fo/param.xsl new/suse-xsl-2.88.0/trd/fo/param.xsl --- old/suse-xsl-2.87.1/trd/fo/param.xsl 1970-01-01 01:00:00.000000000 +0100 +++ new/suse-xsl-2.88.0/trd/fo/param.xsl 2022-12-09 14:12:06.000000000 +0100 @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Purpose: + Contains all parameters for TRDs + + See Also: + * http://docbook.sourceforge.net/release/xsl-ns/current/doc/fo/index.html + + 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:fo="http://www.w3.org/1999/XSL/Format" + exclude-result-prefixes="d"> + + +<xsl:param name="titlepage.logo.image"><xsl:value-of select="$styleroot"/>images/trd-lightbulb-title.svg</xsl:param> +</xsl:stylesheet> \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.87.1/trd/images/draft.svg new/suse-xsl-2.88.0/trd/images/draft.svg --- old/suse-xsl-2.87.1/trd/images/draft.svg 1970-01-01 01:00:00.000000000 +0100 +++ new/suse-xsl-2.88.0/trd/images/draft.svg 2022-12-10 21:18:05.873651056 +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.87.1/trd/images/trd-lightbulb-title.svg new/suse-xsl-2.88.0/trd/images/trd-lightbulb-title.svg --- old/suse-xsl-2.87.1/trd/images/trd-lightbulb-title.svg 1970-01-01 01:00:00.000000000 +0100 +++ new/suse-xsl-2.88.0/trd/images/trd-lightbulb-title.svg 2022-12-09 14:12:06.000000000 +0100 @@ -0,0 +1,14 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="794.08" height="41.04" viewBox="0 0 210.1 10.86"> + <g transform="translate(-5.67 -60.61) scale(.86996)"> + <path fill="#fe7c3f" stroke="#0c322c" stroke-width=".38" d="M6.5 76.73h157.32m7.67 0h76.54"/> + <path fill="none" stroke="#30ba78" stroke-width=".64" d="M6.7 79.37h162.26c.26 0 .6-.32.61-.57v-1.6c0-.31.17-.59.44-.75a2.6 2.6 0 0 0 1.22-2.13"/> + <g stroke="#0c322c" stroke-width=".64" data-name="Group 14" transform="translate(29.2)"> + <path fill="none" stroke="#30ba78" stroke-linecap="square" d="M142.04 72.7a2.59 2.59 0 0 0-2.64-2.53h-1.76A2.59 2.59 0 0 0 135 72.7v1.64c.03.87.5 1.66 1.23 2.12a.9.9 0 0 1 .44.75v1.05" data-name="Path 70"/> + <path fill="none" stroke="#30ba78" stroke-linecap="round" d="M136.98 80.4h3.08v.93a.32.32 0 0 1-.32.32h-2.44a.32.32 0 0 1-.31-.32z" data-name="Path 72" paint-order="stroke fill markers"/> + </g> + <g data-name="Group 15" transform="translate(191.76 72.16) scale(.63607)"> + <path fill="none" stroke="#30ba78" stroke-miterlimit="10" d="M-38.7 11.62s-.07-7.09-.07-8.29c0-1.9 1.15-2.66 2.02-2.66.87 0 .82.15.82.15l-.02 2.56c-.02 1.47-1.19 1.7-2.65 1.7h-2.52V4c0-.63.28-.98 1.17-.98l10.2.02 118.07-.02" data-name="Path 73"/> + </g> + </g> +</svg> + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.87.1/trd/static/css new/suse-xsl-2.88.0/trd/static/css --- old/suse-xsl-2.87.1/trd/static/css 1970-01-01 01:00:00.000000000 +0100 +++ new/suse-xsl-2.88.0/trd/static/css 2022-12-10 21:18:05.881651103 +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.87.1/trd/static/images new/suse-xsl-2.88.0/trd/static/images --- old/suse-xsl-2.87.1/trd/static/images 1970-01-01 01:00:00.000000000 +0100 +++ new/suse-xsl-2.88.0/trd/static/images 2022-12-10 21:18:05.889651150 +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.87.1/trd/static/js new/suse-xsl-2.88.0/trd/static/js --- old/suse-xsl-2.87.1/trd/static/js 1970-01-01 01:00:00.000000000 +0100 +++ new/suse-xsl-2.88.0/trd/static/js 2022-12-10 21:18:05.893651173 +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.87.1/trd/xhtml/chunk.xsl new/suse-xsl-2.88.0/trd/xhtml/chunk.xsl --- old/suse-xsl-2.87.1/trd/xhtml/chunk.xsl 1970-01-01 01:00:00.000000000 +0100 +++ new/suse-xsl-2.88.0/trd/xhtml/chunk.xsl 2022-12-09 14:12:06.000000000 +0100 @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + Purpose: + Transform DocBook document into single XHTML file + + Target: + Technical Reference Documentation + + 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="param.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.87.1/trd/xhtml/docbook.xsl new/suse-xsl-2.88.0/trd/xhtml/docbook.xsl --- old/suse-xsl-2.87.1/trd/xhtml/docbook.xsl 1970-01-01 01:00:00.000000000 +0100 +++ new/suse-xsl-2.88.0/trd/xhtml/docbook.xsl 2022-12-09 14:12:06.000000000 +0100 @@ -0,0 +1,37 @@ +<!-- + Purpose: + Transform DocBook document into single XHTML file + + Target: + Technical Reference Documentation + + 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="param.xsl"/> + <xsl:include href="../../sbp/xhtml/titlepage.templates.xsl"/> + +</xsl:stylesheet> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.87.1/trd/xhtml/param.xsl new/suse-xsl-2.88.0/trd/xhtml/param.xsl --- old/suse-xsl-2.87.1/trd/xhtml/param.xsl 1970-01-01 01:00:00.000000000 +0100 +++ new/suse-xsl-2.88.0/trd/xhtml/param.xsl 2022-12-09 14:12:06.000000000 +0100 @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Purpose: + Contains all parameters for TRDs + + See Also: + * http://docbook.sourceforge.net/release/xsl-ns/current/doc/fo/index.html + + Copyright: 2022 Thomas Schraitle + +--> +<xsl:stylesheet version="1.0" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> + +</xsl:stylesheet> \ No newline at end of file