Skip to content

Commit

Permalink
fix automatic selection of josa
Browse files Browse the repository at this point in the history
  • Loading branch information
dohyunkim committed Feb 29, 2016
1 parent 9967bbe commit 5551460
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
8 changes: 7 additions & 1 deletion xetexko-josa.sty
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,14 @@
\def\로{\makejosa{}{으}로}
\def\라{\makejosa{라}{이라}}
\def\makejosa@I{%
\ifx\dhucs@next%
\ifcat\dhucs@next\dhucs@cat@twelve
\expandafter\expandafter\expandafter\count@\expandafter
\strip@characternum@meaning@prefix\meaning\dhucs@next\end
\ifnum 0\ifnum\count@>"ABFF \ifnum\count@<"D7A4 1\fi\fi>\z@
\makejosa\relax{이}%
\else
\makejosa{가}{이}%
\fi
\else
\makejosa{가}{이}%
\fi
Expand Down
9 changes: 5 additions & 4 deletions xetexko-space.sty
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,11 @@
\newXeTeXintercharclass\XeTeXcharclassID
\newXeTeXintercharclass\XeTeXcharclassOP
\newXeTeXintercharclass\XeTeXcharclassCL
\let\XeTeXcharclassEX\XeTeXcharclassCL
\let\XeTeXcharclassIS\XeTeXcharclassCL
\let\XeTeXcharclassNS\XeTeXcharclassCL
\let\XeTeXcharclassCM\XeTeXcharclassIgnore
\global\let\XeTeXcharclassCJ\XeTeXcharclassID
\global\let\XeTeXcharclassEX\XeTeXcharclassCL
\global\let\XeTeXcharclassIS\XeTeXcharclassCL
\global\let\XeTeXcharclassNS\XeTeXcharclassCL
\global\let\XeTeXcharclassCM\XeTeXcharclassIgnore
\input load-unicode-xetex-classes %
\fi
\fi
Expand Down

0 comments on commit 5551460

Please sign in to comment.