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

Bug#918773: [debian-refcard] improve layout for Bulgarian



Package: refcard
Tags: patch


For Bulgarian, we currently use a smaller font.
This can be changed to standard size these days without any other disadvantage,
to improve 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 0e17175..03f5624 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 pt', /article/@lang)">2</xsl:when>
-        <xsl:when test="contains('es fr pt_BR ru',
+        <xsl:when test="contains('pt', /article/@lang)">2</xsl:when>
+        <xsl:when test="contains('bg es fr pt_BR ru',
             /article/@lang)">0</xsl:when>
         <xsl:otherwise>1</xsl:otherwise>
     </xsl:choose>
diff --git a/preproc.xsl b/preproc.xsl
index aede642..a4eab3c 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 el',
+	  <xsl:when test="contains('el',
 			  /article/@lang)">footnotesize</xsl:when>
 	  <xsl:otherwise>small</xsl:otherwise>
 	</xsl:choose>

Reply to: