Figure 4. Original front-matter
The original front-matter comprised:
Title page with the background image from the Markup UK website plus the title, “Markup UK 2019 Proceedings”
A page with just the proceedings title
Two pages of sponsor logos on the front and back of one leaf
A page of credits and thank yous
A blank page
The table of contents
A blank page before the title and abstract of the first paper
Figure 5. Restyled front matter
Changes to the front matter include:
No blank or nearly blank pages
Revised title page with the graphic as a background image that fills the page.
The title incorporates the Markup UK logo (which has alternate text of “Markup UK ”), and the year is coloured with the red of the logo. This was simple enough with XSLT 1.0, but it is the sort of thing that would be simpler with XSLT 2.0 or XSLT 3.0:
<xsl:variable name="text" select="normalize-space(.)" /> <xsl:choose> <xsl:when test="starts-with($text, 'Markup UK ')"> <fo:external-graphic content-height="24mm" scaling="uniform" content-width="scale-to-fit" src="url({$muk-xsl.dir}/img/MarkupUK-2.svg)" axf:alttext="Markup UK " /> <fo:block /> <xsl:variable name="rest" select="substring-after($text, 'Markup UK ')" /> <xsl:choose> <xsl:when test="string-length($rest) >= 4 and translate(substring($rest, 1, 4), '1234567890', '') = ''"> <fo:inline color="{$muk.red}" text-depth="0"> <xsl:value-of select="substring($rest, 1, 4)" /> </fo:inline> <xsl:value-of select="substring($rest, 5)" /> </xsl:when> <xsl:otherwise> <xsl:value-of select="$rest" /> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:otherwise> <xsl:apply-templates /> </xsl:otherwise> </xsl:choose>
Sponsor logos on two facing pages. The size and sequence of the logos were kept the same because it was not known what had been arranged with the sponsors about the appearance of their logos.
Page of credits and thank yous. This, also, is largely unchanged from the original and for the same reason.
Revised table of contents with formatting that reflects the formatting of the titles and author names in the articles. The titles are larger than in the original to make it easier to click on them to go to an article. The page numbers were kept small and are put close to the titles rather than being separated by leaders because the page numbers are less significant when the proceedings are read in a PDF reader.