[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#917768: [debian-refcard] bigger font for Spanish and French



Package: refcard
Tags: patch


There are three languages which have a smaller font size set: Bulgarian, Spanish 
and French. 
This has been set in the past in intend for sure, but these days it can be
reverted for Spanish and French without any disadvantage. 
It would lead to better readability.

Patch is attached.


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..2359679 100644
--- a/dblatex.xsl
+++ b/dblatex.xsl
@@ -83,7 +83,7 @@
     <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('ca de es eu fi fr gl hu it nl pl pt pt_BR ro ru uk',
             /article/@lang)">0</xsl:when>
         <xsl:otherwise>1</xsl:otherwise>
     </xsl:choose>
diff --git a/preproc.xsl b/preproc.xsl
index 2565066..356f452 100644
--- a/preproc.xsl
+++ b/preproc.xsl
@@ -20,7 +20,7 @@
       <!-- role="small" is understood by dblatex -->
       <xsl:attribute name="role">
 	<xsl:choose>
-	  <xsl:when test="contains('bg es fr',
+	  <xsl:when test="contains('bg',
 			  /article/@lang)">footnotesize</xsl:when>
 	  <xsl:otherwise>small</xsl:otherwise>
 	</xsl:choose>

Reply to: