summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/plain
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-10-07 22:01:00 +0000
committerKarl Berry <karl@freefriends.org>2015-10-07 22:01:00 +0000
commit00869cb298db04b66c5975c0206e9c1d734ea6a5 (patch)
tree1360ca398ba24b5262439b6e59fcdeff96626881 /Master/texmf-dist/tex/plain
parentfe3f8b9c55ab825497837f98fad165d9ed75560f (diff)
kotex-plain (7oct15)
git-svn-id: svn://tug.org/texlive/trunk@38578 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/plain')
-rw-r--r--Master/texmf-dist/tex/plain/kotex-plain/kotexutf-core.tex19
1 files changed, 19 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/plain/kotex-plain/kotexutf-core.tex b/Master/texmf-dist/tex/plain/kotex-plain/kotexutf-core.tex
index aa79d8e1d61..0e9948db863 100644
--- a/Master/texmf-dist/tex/plain/kotex-plain/kotexutf-core.tex
+++ b/Master/texmf-dist/tex/plain/kotex-plain/kotexutf-core.tex
@@ -128,7 +128,26 @@
\def\dhucs@questionlower{}
\def\dhucs@exclamationlower{}
+%% changes for avoiding errors on MiKTeX, 2015/10/07, by Karnes.
\def\usehangulfontspec#1{%
+ \IfFileExists{hfontspec.#1}%
+ {\x@usehangulfontspec{#1}}%
+ {%
+ \def\dhucs@hu{\z@}
+ \def\dhucs@interhchar{\z@}
+ \def\dhucs@fullstoplower{\z@}
+ \def\dhucs@exclamationlower{\z@}
+ \def\dhucs@questionlower{\z@}
+ \def\dhucs@serifhangulfont{nanummj}
+ \def\dhucs@sanshangulfont{nanumgt}
+ \def\dhucs@monohangulfont{nanumgt}
+ \def\dhucs@serifhanjafont{nanumgt}
+ \def\dhucs@sanshanjafont{nanumgt}
+ \def\dhucs@monohanjafont{nanumgt}
+ }%
+}
+
+\def\x@usehangulfontspec#1{%
\begingroup
\immediate\openin\z@=hfontspec.#1 %
\ifeof\z@