From 4ed4b1bec8a4d0814abe7a65851bd6e3763a7ef8 Mon Sep 17 00:00:00 2001 From: Changwoo Ryu Date: Thu, 30 May 2019 12:51:52 +0000 Subject: Improve Korean pdf - Use kotex.sty from texlive-lang-korean. It corrects Korean word spacing, increases line spacing (for better look) and uses Korean translation (for "Contents", "Abstract", etc.). - Use better shaped Noto CJK fonts instead of Wqy Micro Hei. --- build/stylesheets/dblatex.xsl | 16 +++++++--------- debian/control | 6 +++--- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/build/stylesheets/dblatex.xsl b/build/stylesheets/dblatex.xsl index e59a1464b..8a490cae5 100644 --- a/build/stylesheets/dblatex.xsl +++ b/build/stylesheets/dblatex.xsl @@ -16,15 +16,13 @@ \usepackage{xeCJK} - \xeCJKsetup{CJKspace=true,CJKmath=true,CJKecglue={}} - \usepackage{setspace} - \onehalfspacing - \setCJKmainfont{나눔명조} - \setCJKsansfont{나눔고딕} - \setCJKmonofont{나눔고딕코딩} - \setmainfont{나눔명조} - \setsansfont{나눔고딕} - \setmonofont{나눔고딕코딩} + \usepackage[hangul]{kotex} + \setCJKmainfont{Noto Serif CJK KR} + \setCJKsansfont{Noto Sans CJK KR} + \setCJKmonofont{Noto Sans Mono CJK KR} + \setmainfont{Noto Serif CJK KR} + \setsansfont{Noto Sans CJK KR} + \setmonofont{Noto Sans Mono CJK KR} \usepackage{xeCJK} diff --git a/debian/control b/debian/control index c80fa1950..d60cb8850 100644 --- a/debian/control +++ b/debian/control @@ -7,7 +7,7 @@ Standards-Version: 4.1.4 Vcs-Git: https://salsa.debian.org/installer-team/installation-guide.git Vcs-Browser: https://salsa.debian.org/installer-team/installation-guide Build-Depends: debhelper (>= 6) -Build-Depends-Indep: docbook, docbook-xml, docbook-xsl, xsltproc, gawk, libhtml-parser-perl, w3m, poxml, dblatex, docbook-dsssl, ghostscript, texlive-xetex, lmodern, texlive-lang-cyrillic, texlive-lang-czechslovak, texlive-lang-european, texlive-lang-french, texlive-lang-german, texlive-lang-greek, texlive-lang-italian, texlive-lang-other, texlive-lang-portuguese, texlive-lang-spanish, fonts-wqy-microhei, fonts-vlgothic, fonts-nanum, fonts-nanum-coding, fonts-freefont-ttf +Build-Depends-Indep: docbook, docbook-xml, docbook-xsl, xsltproc, gawk, libhtml-parser-perl, w3m, poxml, dblatex, docbook-dsssl, ghostscript, texlive-xetex, lmodern, texlive-lang-cyrillic, texlive-lang-czechslovak, texlive-lang-european, texlive-lang-french, texlive-lang-german, texlive-lang-greek, texlive-lang-italian, texlive-lang-korean, texlive-lang-other, texlive-lang-portuguese, texlive-lang-spanish, fonts-wqy-microhei, fonts-vlgothic, fonts-noto-cjk, fonts-freefont-ttf # This comment can also be used to generate a Build-Depends-Indep line, by # running the debian/genbuilddeps program. So put each build dep on its own # line, prefixed by " - " and to comment out a build dep, start the line @@ -44,6 +44,7 @@ Build-Depends-Indep: docbook, docbook-xml, docbook-xsl, xsltproc, gawk, libhtml- # - texlive-lang-german # - texlive-lang-greek # - texlive-lang-italian +# - texlive-lang-korean # - texlive-lang-other # Contains hyphenation for Romanian. # - texlive-lang-portuguese @@ -56,8 +57,7 @@ Build-Depends-Indep: docbook, docbook-xml, docbook-xsl, xsltproc, gawk, libhtml- # Font for Chinese pdf. # - fonts-vlgothic # Font for Japanese pdf. -# - fonts-nanum -# - fonts-nanum-coding +# - fonts-noto-cjk # Font for Korean pdf. # - fonts-freefont-ttf -- cgit v1.2.3