Bug#917766: [debian-refcard] improve layout for some languages
Package: refcard
Tags: patch
The attached patch gives some improvement to the layout of the following
languages:
ca, de, eu, fi, gl, hu, it, nl, pl, pt, ro, uk.
In concrete, that means:
The copyright notice is moved to the bottom of the middle column of page 1,
as it is for English (taking English as reference).
Holger
--
Holger Wansing <hwansing@mailbox.org>
PGP-Finterprint: 496A C6E8 1442 4B34 8508 3529 59F1 87CA 156E B076
diff --git a/dblatex.xsl b/dblatex.xsl
index c489d6e..1198d97 100644
--- a/dblatex.xsl
+++ b/dblatex.xsl
@@ -82,8 +82,8 @@
<!-- visual layout - how I hate it! -->
<xsl:text>\newpages{</xsl:text>
<xsl:choose>
- <xsl:when test="contains('bg', /article/@lang)">2</xsl:when>
- <xsl:when test="contains('ca de eu fi gl hu it nl pl pt pt_BR ro ru uk',
+ <xsl:when test="contains('bg pt', /article/@lang)">2</xsl:when>
+ <xsl:when test="contains('pt_BR ru',
/article/@lang)">0</xsl:when>
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
Reply to: