summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build/stylesheets/dblatex.xsl16
-rw-r--r--debian/control7
2 files changed, 13 insertions, 10 deletions
diff --git a/build/stylesheets/dblatex.xsl b/build/stylesheets/dblatex.xsl
index 8a490cae5..e59a1464b 100644
--- a/build/stylesheets/dblatex.xsl
+++ b/build/stylesheets/dblatex.xsl
@@ -16,13 +16,15 @@
</xsl:when>
<xsl:when test="contains(/book/@lang,'ko')">
<xsl:text>\usepackage{xeCJK}&#10;</xsl:text>
- <xsl:text>\usepackage[hangul]{kotex}&#10;</xsl:text>
- <xsl:text>\setCJKmainfont{Noto Serif CJK KR}&#10;</xsl:text>
- <xsl:text>\setCJKsansfont{Noto Sans CJK KR}&#10;</xsl:text>
- <xsl:text>\setCJKmonofont{Noto Sans Mono CJK KR}&#10;</xsl:text>
- <xsl:text>\setmainfont{Noto Serif CJK KR}&#10;</xsl:text>
- <xsl:text>\setsansfont{Noto Sans CJK KR}&#10;</xsl:text>
- <xsl:text>\setmonofont{Noto Sans Mono CJK KR}&#10;</xsl:text>
+ <xsl:text>\xeCJKsetup{CJKspace=true,CJKmath=true,CJKecglue={}}&#10;</xsl:text>
+ <xsl:text>\usepackage{setspace}&#10;</xsl:text>
+ <xsl:text>\onehalfspacing&#10;</xsl:text>
+ <xsl:text>\setCJKmainfont{나눔명조}&#10;</xsl:text>
+ <xsl:text>\setCJKsansfont{나눔고딕}&#10;</xsl:text>
+ <xsl:text>\setCJKmonofont{나눔고딕코딩}&#10;</xsl:text>
+ <xsl:text>\setmainfont{나눔명조}&#10;</xsl:text>
+ <xsl:text>\setsansfont{나눔고딕}&#10;</xsl:text>
+ <xsl:text>\setmonofont{나눔고딕코딩}&#10;</xsl:text>
</xsl:when>
<xsl:when test="contains(/book/@lang,'zh')">
<xsl:text>\usepackage{xeCJK}&#10;</xsl:text>
diff --git a/debian/control b/debian/control
index d60cb8850..395c2e2c7 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-korean, texlive-lang-other, texlive-lang-portuguese, texlive-lang-spanish, fonts-wqy-microhei, fonts-vlgothic, fonts-noto-cjk, 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-nanum, fonts-nanum-coding, 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
@@ -57,8 +57,9 @@ Build-Depends-Indep: docbook, docbook-xml, docbook-xsl, xsltproc, gawk, libhtml-
# Font for Chinese pdf.
# - fonts-vlgothic
# Font for Japanese pdf.
-# - fonts-noto-cjk
-# Font for Korean pdf.
+# - fonts-nanum
+# - fonts-nanum-coding
+# Fonts for Korean pdf.
# - fonts-freefont-ttf
Package: installation-guide-amd64