diff options
author | Karl Berry <karl@freefriends.org> | 2015-03-20 21:29:27 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-03-20 21:29:27 +0000 |
commit | eca7f9e0846f28343f0b76c2b1166eb64fdea701 (patch) | |
tree | 037fa73bd6d41d5718bf9071276cea21e1ee6218 /Master/texmf-dist/tex/latex/cjk-ko/cjkutf8-ko.sty | |
parent | cd7ad054f8aaee94647b2051bd884d52b09077d0 (diff) |
cjk-ko (20mar15)
git-svn-id: svn://tug.org/texlive/trunk@36573 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/cjk-ko/cjkutf8-ko.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/cjk-ko/cjkutf8-ko.sty | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/Master/texmf-dist/tex/latex/cjk-ko/cjkutf8-ko.sty b/Master/texmf-dist/tex/latex/cjk-ko/cjkutf8-ko.sty index 67f8cef50fd..31f91519ebc 100644 --- a/Master/texmf-dist/tex/latex/cjk-ko/cjkutf8-ko.sty +++ b/Master/texmf-dist/tex/latex/cjk-ko/cjkutf8-ko.sty @@ -1,6 +1,6 @@ % cjkutf8-ko.sty % -% Copyright (c) 2013 Dohyun Kim <nomos at ktug org> +% Copyright (c) 2015 Dohyun Kim <nomos at ktug org> % % This program is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ % Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, % MA 02110-1301 USA -\ProvidesPackage{cjkutf8-ko}[2013/11/28 v1.3 Hangul typesetting on CJKutf8] +\ProvidesPackage{cjkutf8-ko}[2015/03/20 v1.5 Hangul typesetting on CJKutf8] \ifx\eTeXversion\relax \let\eTeXversion\undefined \fi \ifx\eTeXversion\undefined @@ -90,7 +90,7 @@ \CJKfamily{\CJKKO@mjfont} \g@addto@macro\normalfont{\CJKfamily{\CJKKO@mjfont}} \if@hangul\ifx\usecjk@@font\undefined - \IfFileExists{t1\CJKKO@mjfont m}{% + \IfFileExists{t1\CJKKO@mjfont .fd}{% \CJKKO@hangulspaceglue{t1\CJKKO@mjfont m}% space glue from hangul font }{} \fi\fi @@ -98,7 +98,7 @@ \CJKfamily{\CJKKO@gtfont} \g@addto@macro\normalfont{\CJKfamily{\CJKKO@gtfont}} \if@hangul\ifx\usecjk@@font\undefined - \IfFileExists{t1\CJKKO@gtfont m}{% + \IfFileExists{t1\CJKKO@gtfont .fd}{% \CJKKO@hangulspaceglue{t1\CJKKO@gtfont m}% space glue from hangul font }{} \fi\fi @@ -106,7 +106,7 @@ \let\reset@font\normalfont } -\def\CJKKO@hangulspaceglue#1{% +\def\CJKKO@hangulspaceglue#1{\@ifclassloaded{minimal}{}{% \bgroup \@for\reserved@a:=,\small,\footnotesize,\large,\Large,\LARGE\do{% \reserved@a @@ -115,7 +115,7 @@ \fontdimen3\font=.5\fontdimen2\x \fontdimen4\font=.3333\fontdimen2\x \fontdimen7\font=\fontdimen7\x }% - \egroup } + \egroup }} %%%%%%%%%%%%%%%%%%%%%%%%% %%% dotemph @@ -212,14 +212,15 @@ \csname \curr@fontshape\endcsname} \if@hangul % hangul is main language % scale space glue - \bgroup - \@for\reserved@a:=,\small,\footnotesize,\large,\Large,\LARGE\do{% - \reserved@a - \fontdimen2\font=\CJK@scale\fontdimen2\font - \fontdimen3\font=\CJK@scale\fontdimen3\font - \fontdimen4\font=\CJK@scale\fontdimen4\font - \fontdimen7\font=\CJK@scale\fontdimen7\font} - \egroup + \@ifpackageloaded{minimal}{}{% + \bgroup + \@for\reserved@a:=,\small,\footnotesize,\large,\Large,\LARGE\do{% + \fontdimen2\font=\CJK@scale\fontdimen2\font + \fontdimen3\font=\CJK@scale\fontdimen3\font + \fontdimen4\font=\CJK@scale\fontdimen4\font + \fontdimen7\font=\CJK@scale\fontdimen7\font} + \egroup + } % scale parindent, footnotesep, footins \parindent\CJK@scale\parindent \footnotesep\CJK@scale\footnotesep |