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

Bug#824222: marked as done ([debian-refcard] change build mechanism to dblatex for ar, ml)



Your message dated Fri, 4 Jan 2019 17:33:28 +0100
with message-id <[🔎] 20190104173328.a4a54964c3269f82d7312e29@mailbox.org>
and subject line Re: Bug#824222: [debian-refcard] change build mechanism to dblatex for ar, hi, ml
has caused the Debian Bug report #824222,
regarding [debian-refcard] change build mechanism to dblatex for ar, ml
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
824222: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=824222
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: debian-refcard
Tags: patch
thanks


The attached patch switches the build chain for ar, hi and ml, to use dblatex
instead of xmlroff (patch by victory, thanks).

Please note, that the patch is only a draft, maybe other fonts would be
better. To sort this out, proofreaders for the respective languages are
needed and info from them, which fonts they prefer.
Since I didn't got answers from translators for this languages, I store the
draft as a bugreport.



Holger


-- 
============================================================
Created with Sylpheed 3.5.0 under
	D E B I A N   L I N U X   8 . 0   " J E S S I E " .

Registered Linux User #311290 - https://linuxcounter.net/
============================================================
Index: Makefile
===================================================================
--- Makefile	(Revision 11166)
+++ Makefile	(Arbeitskopie)
@@ -50,7 +50,7 @@
     ifeq ($(USE_DBLATEX),2)
 	XMLROFF_LANGS=
     else
-	XMLROFF_LANGS=ar he hi ml
+	XMLROFF_LANGS=he
     endif
 else
     XMLROFF_LANGS=$(A4_LANGS)
Index: dblatex.xsl
===================================================================
--- dblatex.xsl	(Revision 11166)
+++ dblatex.xsl	(Arbeitskopie)
@@ -23,6 +23,21 @@
 	<xsl:text>\setsansfont{HanaMinA}&#10;</xsl:text>
 	<xsl:text>\setmonofont{HanaMinA}&#10;</xsl:text>
     </xsl:when>
+    <xsl:when test="contains(/article/@lang,'hi')">
+        <xsl:text>\setmainfont{Samanata}&#10;</xsl:text>
+        <xsl:text>\setsansfont{Samanata}&#10;</xsl:text>
+        <xsl:text>\setmonofont{Samanata}&#10;</xsl:text>
+    </xsl:when>
+    <xsl:when test="contains(/article/@lang,'ml')">
+        <xsl:text>\setmainfont{AnjaliOldLipi}&#10;</xsl:text>
+        <xsl:text>\setsansfont{Suruma}&#10;</xsl:text>
+        <xsl:text>\setmonofont{AnjaliOldLipi}&#10;</xsl:text>
+    </xsl:when>
+    <xsl:when test="contains(/article/@lang,'ar')">
+        <xsl:text>\setmainfont{Amiri}&#10;</xsl:text>
+        <xsl:text>\setsansfont{Amiri}&#10;</xsl:text>
+        <xsl:text>\setmonofont{Amiri}&#10;</xsl:text>
+    </xsl:when>
     <xsl:otherwise>
         <xsl:text>\setmainfont{DejaVu Serif}&#10;</xsl:text>
         <xsl:text>\setsansfont{DejaVu Sans}&#10;</xsl:text>
Index: debian/control
===================================================================
--- debian/control	(Revision 11166)
+++ debian/control	(Arbeitskopie)
@@ -10,6 +10,9 @@
                dia,
                docbook-xsl,
                fonts-hanazono,
+               fonts-deva-extra,
+               fonts-smc,
+               fonts-hosny-amiri
                ghostscript,
                lmodern,
                pdfjam,

--- End Message ---
--- Begin Message ---
Hi,

Holger Wansing <linux@wansing-online.de> wrote:
> Control: rename -1 [debian-refcard] change build mechanism to dblatex for ar, ml
> 
> Holger Wansing <linux@wansing-online.de> wrote:
> > Package: debian-refcard
> > Tags: patch
> > thanks
> > 
> > 
> > The attached patch switches the build chain for ar, hi and ml, to use dblatex
> > instead of xmlroff (patch by victory, thanks).
> > 
> > Please note, that the patch is only a draft, maybe other fonts would be
> > better. To sort this out, proofreaders for the respective languages are
> > needed and info from them, which fonts they prefer.
> > Since I didn't got answers from translators for this languages, I store the
> > draft as a bugreport.
> 
> Changings for Hindi applied today.

dblatex is now used for all built languages, and xmlroff is no longer used.
(Unfortunately this means, that Arabic and Hebrew cannot be built anymore.)
Thus this bug can be closed.


-- 
Holger Wansing <hwansing@mailbox.org>
PGP-Finterprint: 496A C6E8 1442 4B34 8508  3529 59F1 87CA 156E B076

--- End Message ---

Reply to: