diff options
author | Karl Berry <karl@freefriends.org> | 2014-05-04 21:44:14 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-05-04 21:44:14 +0000 |
commit | 4559553627d1dd2997d023e0c69e33f24232c78f (patch) | |
tree | 2e773ec87238ce2297ea69d003d3f05699a2402b /Master/texmf-dist/tex/xetex/xetexko | |
parent | 843b3bf150f006ebdf53321302f43ccbcb39a438 (diff) |
xetexko (4may14)
git-svn-id: svn://tug.org/texlive/trunk@33823 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/xetex/xetexko')
6 files changed, 35 insertions, 30 deletions
diff --git a/Master/texmf-dist/tex/xetex/xetexko/xetexko-font.sty b/Master/texmf-dist/tex/xetex/xetexko/xetexko-font.sty index a2fa766a87b..e61331944e8 100644 --- a/Master/texmf-dist/tex/xetex/xetexko/xetexko-font.sty +++ b/Master/texmf-dist/tex/xetex/xetexko/xetexko-font.sty @@ -1,6 +1,6 @@ % xetexko-font.sty % -% Copyright (c) 2013 Dohyun Kim <nomos at ktug org> +% Copyright (c) 2013-2014 Dohyun Kim <nomos at ktug org> % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3c @@ -10,9 +10,11 @@ % and version 1.3c or later is part of all distributions of LaTeX % version 2006/05/20 or later. -\ProvidesPackage{xetexko-font}[2014/02/02 v2.4 Font commands for XeTeX-ko] +\ProvidesPackage{xetexko-font}[2014/03/28 v2.5 Font commands for XeTeX-ko] +\let\xetexko@f@size\f@size \RequirePackage{fontspec} +\let\f@size\xetexko@f@size \RequirePackage{xkeyval} %%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -376,19 +378,17 @@ \let\XKstoreprevfont\XKlatinfont }} -\AtBeginDocument{ - \ifx\f@family\rmdefault - \XK@rm@korean@font - \protected\edef\normalfont{\unexpanded\expandafter{\normalfont\XK@rm@korean@font}} - \else \ifx\f@family\sfdefault - \XK@sf@korean@font - \protected\edef\normalfont{\unexpanded\expandafter{\normalfont\XK@sf@korean@font}} - \else - \XK@tt@korean@font - \protected\edef\normalfont{\unexpanded\expandafter{\normalfont\XK@tt@korean@font}} - \fi\fi - \let\reset@font\normalfont -} +\expandafter\ifx\familydefault\rmdefault + \XK@rm@korean@font + \protected\edef\normalfont{\unexpanded\expandafter{\normalfont\XK@rm@korean@font}} +\else \expandafter\ifx\familydefault\sfdefault + \XK@sf@korean@font + \protected\edef\normalfont{\unexpanded\expandafter{\normalfont\XK@sf@korean@font}} +\else + \XK@tt@korean@font + \protected\edef\normalfont{\unexpanded\expandafter{\normalfont\XK@tt@korean@font}} +\fi\fi +\let\reset@font\normalfont %%%%%%%%%%%%%%%%%%%%% % hangul in math mode diff --git a/Master/texmf-dist/tex/xetex/xetexko/xetexko-hanging.sty b/Master/texmf-dist/tex/xetex/xetexko/xetexko-hanging.sty index 0fa425f5264..e6794ab5625 100644 --- a/Master/texmf-dist/tex/xetex/xetexko/xetexko-hanging.sty +++ b/Master/texmf-dist/tex/xetex/xetexko/xetexko-hanging.sty @@ -1,6 +1,6 @@ % xetexko-hanging.sty % -% Copyright (c) 2013 Dohyun Kim <nomos at ktug org> +% Copyright (c) 2013-2014 Dohyun Kim <nomos at ktug org> % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3c @@ -13,7 +13,7 @@ \begingroup\expandafter\expandafter\expandafter\endgroup \expandafter\ifx\csname ProvidesPackage\endcsname\relax\else \ProvidesPackage{xetexko-hanging} - [2013/11/26 v2.2 Hanging punctuations for XeTeX-ko] + [2014/03/28 v2.5 Hanging punctuations for XeTeX-ko] \fi \chardef\catcodeofATcharacter\catcode`@ diff --git a/Master/texmf-dist/tex/xetex/xetexko/xetexko-josa.sty b/Master/texmf-dist/tex/xetex/xetexko/xetexko-josa.sty index 62212d658a3..3f6a81bb3aa 100644 --- a/Master/texmf-dist/tex/xetex/xetexko/xetexko-josa.sty +++ b/Master/texmf-dist/tex/xetex/xetexko/xetexko-josa.sty @@ -1,6 +1,6 @@ % xetexko-josa.sty % -% Copyright (c) 2013 Dohyun Kim <nomos at ktug org> +% Copyright (c) 2013-2014 Dohyun Kim <nomos at ktug org> % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3c @@ -12,7 +12,7 @@ \begingroup\expandafter\expandafter\expandafter\endgroup \expandafter\ifx\csname ProvidesPackage\endcsname\relax\else - \ProvidesPackage{xetexko-josa}[2013/12/06 v2.2 Auto-josa for XeTeX-ko] + \ProvidesPackage{xetexko-josa}[2014/03/28 v2.5 Auto-josa for XeTeX-ko] \fi \unless\ifcsname @tempcnta\endcsname\newcount\@tempcnta\fi diff --git a/Master/texmf-dist/tex/xetex/xetexko/xetexko-space.sty b/Master/texmf-dist/tex/xetex/xetexko/xetexko-space.sty index 6760f2550bf..2b285822e5a 100644 --- a/Master/texmf-dist/tex/xetex/xetexko/xetexko-space.sty +++ b/Master/texmf-dist/tex/xetex/xetexko/xetexko-space.sty @@ -1,6 +1,6 @@ % xetexko-space.sty % -% Copyright (c) 2013 Dohyun Kim <nomos at ktug org> +% Copyright (c) 2013-2014 Dohyun Kim <nomos at ktug org> % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3c @@ -13,7 +13,7 @@ \begingroup\expandafter\expandafter\expandafter\endgroup \expandafter\ifx\csname ProvidesPackage\endcsname\relax\else \ProvidesPackage{xetexko-space} - [2014/02/02 v2.4 Spacings and fonts for XeTeX-ko] + [2014/03/28 v2.5 Spacings and fonts for XeTeX-ko] \fi %%% we need XeTeX > 0.997 diff --git a/Master/texmf-dist/tex/xetex/xetexko/xetexko-vertical.sty b/Master/texmf-dist/tex/xetex/xetexko/xetexko-vertical.sty index fb816cfcfd2..2bc1c8a512d 100644 --- a/Master/texmf-dist/tex/xetex/xetexko/xetexko-vertical.sty +++ b/Master/texmf-dist/tex/xetex/xetexko/xetexko-vertical.sty @@ -1,6 +1,6 @@ % xetexko-vertical.sty % -% Copyright (c) 2013 Dohyun Kim <nomos at ktug org> +% Copyright (c) 2013-2014 Dohyun Kim <nomos at ktug org> % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3c @@ -13,7 +13,7 @@ \begingroup\expandafter\expandafter\expandafter\endgroup \expandafter\ifx\csname ProvidesPackage\endcsname\relax\else \ProvidesPackage{xetexko-vertical} - [2013/07/03 v2.1 Vertical environment for XeTeX-ko] + [2014/03/28 v2.5 Vertical environment for XeTeX-ko] \fi \unless\ifcsname @tempdima\endcsname\newdimen\@tempdima\fi @@ -63,9 +63,15 @@ \else \def\XK@vert@half@em{.5em}% \fi - \def\precjkopenparen {\leavevmode\hbox to\XK@vert@half@em\bgroup\hss}% - \def\precjkcloseparen{\leavevmode\hbox to\XK@vert@half@em\bgroup}% - \def\precjkfullstop {\leavevmode\hbox to\XK@vert@half@em\bgroup}% + \def\precjkopenparen {\leavevmode + \ifx\empty\xetexkocharraise\else\raise\xetexkocharraise\fi + \hbox to\XK@vert@half@em\bgroup\hss}% + \def\precjkcloseparen{\leavevmode + \ifx\empty\xetexkocharraise\else\raise\xetexkocharraise\fi + \hbox to\XK@vert@half@em\bgroup}% + \def\precjkfullstop {\leavevmode + \ifx\empty\xetexkocharraise\else\raise\xetexkocharraise\fi + \hbox to\XK@vert@half@em\bgroup}% \spaceskip\XK@vert@half@em plus\XK@vert@half@em\relax \parindent\XK@vert@half@em \parindent2\parindent } diff --git a/Master/texmf-dist/tex/xetex/xetexko/xetexko.sty b/Master/texmf-dist/tex/xetex/xetexko/xetexko.sty index 93e71ba0875..7f25fae6146 100644 --- a/Master/texmf-dist/tex/xetex/xetexko/xetexko.sty +++ b/Master/texmf-dist/tex/xetex/xetexko/xetexko.sty @@ -1,6 +1,6 @@ % xetexko.sty % -% Copyright (c) 2013 Dohyun Kim <nomos at ktug org> +% Copyright (c) 2013-2014 Dohyun Kim <nomos at ktug org> % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3c @@ -23,8 +23,7 @@ \def\hangulfont{\font\hangfnt} \def\hanjafont {\font\hanifnt} %\hangulfont="[UnBatang]:mapping=tex-text" at 10pt - %\let\hanifnt\hangfnt - \let\hangfnt\relax \let\hanifnt\relax + \let\hangfnt\relax \def\hanifnt{\hangfnt} %%% μμ νκΈ \newfam\symmathhangul \def\setmathhangulfont#1#{\setmathhangulfont@} @@ -43,7 +42,7 @@ \expandafter\endinput \fi -\ProvidesPackage{xetexko}[2013/12/14 v2.3 Typesetting Korean with XeLaTeX] +\ProvidesPackage{xetexko}[2014/03/28 v2.5 Typesetting Korean with XeLaTeX] \newif\if@hangul \newif\if@hanja |