On Wed, 20 Apr 2016 22:02:06 +0200
Holger Wansing wrote:
> So, "make USE_DBLATEX=1" does the trick.
that was what I missed
then I tried to make "make USE_DBLATEX=2" work,
and could do it for most of langs with a patch to specify fonts to use
(only hebrew, which stops entire build process, cannot be build that way)
of course fonts can be other ones,
but these seems to be built fine,
and I don't know which ones are preferred by the native people
so that will be up to them :)
to make the patch work, some of following packages will be needed:
fonts-hanazono
fonts-lohit-deva
fonts-deva
fonts-mlym
fonts-cwtex-fs
--
victory
no need to CC me :-)
--
Index: Makefile
===
--- Makefile(revision 4)
+++ Makefile(working copy)
@@ -48,7 +48,7 @@
DBLATEX=dblatex --backend=xetex --texstyle=refcard.sty --xsl-user=dblatex.xsl
ifdef USE_DBLATEX
ifeq ($(USE_DBLATEX),2)
- XMLROFF_LANGS=
+ XMLROFF_LANGS=he
else
XMLROFF_LANGS=ar cs el he hi ja ml sk zh_CN zh_TW
endif
Index: dblatex.xsl
===
--- dblatex.xsl (revision 4)
+++ dblatex.xsl (working copy)
@@ -3,6 +3,48 @@
utf8
10pt,onecolumn
+
+
+
+ \usepackage{xeCJK}
+ \setCJKmainfont{IPAPGothic}
+ \setCJKsansfont{IPAPMincho}
+ \setCJKmonofont{IPAexGothic}
+ \setmainfont{Kochi Gothic}
+ \setsansfont{IPAPMincho}
+ \setmonofont{IPAexGothic}
+
+
+ \usepackage{xeCJK}
+ \setCJKmainfont{cwTex}
+ \setCJKsansfont{HanaMinA}
+ \setCJKmonofont{HanaMinA}
+ \setmainfont{HanaMinA}
+ \setsansfont{HanaMinA}
+ \setmonofont{HanaMinA}
+
+
+ \setmainfont{Samanata}
+ \setsansfont{Samanata}
+ \setmonofont{Samanata}
+
+
+ \setmainfont{AnjaliOldLipi}
+ \setsansfont{Suruma}
+ \setmonofont{AnjaliOldLipi}
+
+
+ \setmainfont{Amiri}
+ \setsansfont{Amiri}
+ \setmonofont{Amiri}
+
+
+ \setmainfont{DejaVu Serif}
+ \setsansfont{DejaVu Sans}
+ \setmonofont{DejaVu Sans Mono}
+
+
+
a4
Index: po4a/ml.po
===
--- po4a/ml.po (revision 4)
+++ po4a/ml.po (working copy)
@@ -18,7 +18,7 @@
#. type: Attribute 'lang' of:
#: entries.dbk:4
msgid "en-GB"
-msgstr "en-GB"
+msgstr "ml"
#. type: Content of:
#: entries.dbk:7