From 2daa6a84a95d9070b144a984ef1ff44d66a29367 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 3 Aug 2014 16:52:03 +0000 Subject: cjk-ko git-svn-id: svn://tug.org/texlive/trunk@34808 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/cjk-ko/ChangeLog | 6 ++ Master/texmf-dist/doc/latex/cjk-ko/README | 16 ++--- Master/texmf-dist/doc/latex/cjk-ko/cjk-ko-doc.pdf | Bin 147890 -> 163232 bytes Master/texmf-dist/doc/latex/cjk-ko/cjk-ko-doc.tex | 31 +++++--- Master/texmf-dist/tex/latex/cjk-ko/kotex.sty | 84 +++++++++++++--------- 5 files changed, 87 insertions(+), 50 deletions(-) (limited to 'Master/texmf-dist') diff --git a/Master/texmf-dist/doc/latex/cjk-ko/ChangeLog b/Master/texmf-dist/doc/latex/cjk-ko/ChangeLog index 51f0cbca1a9..589a709dda7 100644 --- a/Master/texmf-dist/doc/latex/cjk-ko/ChangeLog +++ b/Master/texmf-dist/doc/latex/cjk-ko/ChangeLog @@ -1,3 +1,9 @@ +2014-07-27 Dohyun Kim + + Version 1.4 + + * kotex.sty: adaptation to recent update of unicode-letters.tex + 2013-12-06 Dohyun Kim Version 1.3 diff --git a/Master/texmf-dist/doc/latex/cjk-ko/README b/Master/texmf-dist/doc/latex/cjk-ko/README index 9ee0e2fa0ca..19a41d80d83 100644 --- a/Master/texmf-dist/doc/latex/cjk-ko/README +++ b/Master/texmf-dist/doc/latex/cjk-ko/README @@ -1,15 +1,13 @@ -CJK-ko package version 1.3 (2013/12/06) +CJK-ko package version 1.4 (2014/07/27) ======================================= -This package supports typesetting modern Korean documents with the help -of LaTeX2e CJK package written by Werner Lemberg. Though this package -supports, unlike CJK package, only UTF-8 input encoding, it provides -some enhanced features focused on Korean typesetting culture, for -instance: linebreak is allowed between Latin and CJK characters; users -can scale and/or lower CJK characters for their need; and automatic Josa -selection is implemented. +This package supports typesetting of modern Korean documents with the help +of LaTeX2e CJK package written by Werner Lemberg. Unlike CJK package, +only UTF-8 input encoding is supported. This package however provides +some enhanced features focused on Korean typesetting culture, one of them +being allowing line-break between Latin and CJK characters. -Currently this package requires nanumtype1 package as well. +Currently this package requires nanumtype1 package. Author diff --git a/Master/texmf-dist/doc/latex/cjk-ko/cjk-ko-doc.pdf b/Master/texmf-dist/doc/latex/cjk-ko/cjk-ko-doc.pdf index d1182726a04..2991c11df9a 100644 Binary files a/Master/texmf-dist/doc/latex/cjk-ko/cjk-ko-doc.pdf and b/Master/texmf-dist/doc/latex/cjk-ko/cjk-ko-doc.pdf differ diff --git a/Master/texmf-dist/doc/latex/cjk-ko/cjk-ko-doc.tex b/Master/texmf-dist/doc/latex/cjk-ko/cjk-ko-doc.tex index 3c33dd1e36c..336640bd4bd 100644 --- a/Master/texmf-dist/doc/latex/cjk-ko/cjk-ko-doc.tex +++ b/Master/texmf-dist/doc/latex/cjk-ko/cjk-ko-doc.tex @@ -6,18 +6,18 @@ \usepackage{geometry} \usepackage[cjk,hangul,usedotemph]{kotex} \usepackage{xcolor} -\usepackage{url} +\usepackage[pdfencoding=auto]{hyperref} -\def\cs#1{\texttt{\color{teal}\char92 #1}} -\def\koTeX{k$o$.\kern-.1667em\TeX} -\def\cjkko{\mbox{CJK-k\kern-.1em\textit{o}}} +\def\cs#1{\texttt{\color{teal}\char92 \chardef\{=123 \chardef\}=125 #1}} +\def\koTeX{\textsf{k}\kern-.1em\textit{o}.\kern-.1667em\TeX} +\def\cjkko{\mbox{CJK-\textsf{k}\kern-.1em\textit{o}}} \linespread{1.3} \title{\cjkko\ 간단 매뉴얼} \author{Dohyun Kim \normalsize $<$\texttt{nomos at ktug org}$>$ \and \normalsize $<$\url{http://github.com/dohyunkim/cjk-ko}$>$} -\date{Version 1.3\quad\today} +\date{Version 1.4\quad 2014/07/27} \begin{document} \maketitle @@ -33,7 +33,9 @@ 수 있다. \end{abstract} -\section{Introduction} +\tableofcontents + +\section{소개} \begin{itemize} \item CJK 패키지의 \texttt{UTF8} 환경 이용 \item 복잡한 환경 지시 없이 \texttt{kotex}만 부르면 바로 한글 가능 @@ -142,13 +144,26 @@ \item[\cs{hanjanum}] 一 二 三 四 五 六 七 八 九 十 十一 十二 $\cdots$ 二十四 \end{itemize} +\section{\texttt{kotex.sty}에 대하여} +다양한 \koTeX\ 패키지로의 준자동적인 연결을 담담하는 스타일 파일이다. +\begin{itemize} + \item \verb|[cjk]| 옵션을 주면 \cjkko\ 패키지를 로드한다. + \item \verb|[euc]| 옵션을 주면 \verb|kotex-euc| 패키지를 로드한다. + 이 패키지는 텍라이브에 들어있지 않으므로 KTUG 사설 저장소로부터 + 설치해야 한다. + \item 위 두 가지 옵션이 모두 지시되지 않았다면 현재 동작 중인 텍 엔진을 + 감지해서 \verb|kotexutf.sty|, \verb|xetexko.sty|, 혹은 \verb|luatexko.sty| + 가운데 하나를 로드한다. 플레인텍에서도 마찬가지로 동작한다. + \item 어느 경우이든 사용자가 지시한 여타 패키지 옵션들은 새로 불려지는 + 패키지에 모두 투명하게 전달된다. +\end{itemize} + \section{License} \begin{itemize} \item GPL~--- \verb|cjkutf8-*| 파일의 라이선스는 CJK 패키지와 같을 수밖에 없다. \item LPPL~--- \verb|ko*| 파일들은 \koTeX\ 패키지에서 유래한다. - \hfill \fboxsep=-\fboxrule - \fbox{\vbox to1em{\hbox to1em{\hss}\vss}} \end{itemize} +\nobreak\hfill \fboxsep=-\fboxrule \fbox{\vbox to1em{\hbox to1em{\hss}\vss}} \end{document} diff --git a/Master/texmf-dist/tex/latex/cjk-ko/kotex.sty b/Master/texmf-dist/tex/latex/cjk-ko/kotex.sty index f9f190e767e..a90c5ad126d 100644 --- a/Master/texmf-dist/tex/latex/cjk-ko/kotex.sty +++ b/Master/texmf-dist/tex/latex/cjk-ko/kotex.sty @@ -1,7 +1,7 @@ % kotex.sty % -% (C) Copyright 2007-2013 Koaunghi Un -% Kangsoo Kim +% (C) Copyright 2007-2014 Koaunghi Un +% Kangsoo Kim % Dohyun Kim % % This work may be distributed and/or modified under the @@ -20,37 +20,55 @@ % \usepackage[euc]{kotex} \usepackage[euc,hangul]{kotex} % \usepackage[cjk]{kotex} \usepackage[cjk,hangul]{kotex} -\ProvidesPackage{kotex}[2013/03/23 v1.1 Korean TeX (ko.TeX)] +\begingroup\expandafter\expandafter\expandafter\endgroup +\expandafter\ifx\csname ProvidesPackage\endcsname\relax\else + \ProvidesPackage{kotex}[2014/07/27 v1.2 Korean TeX (ko.TeX)] +\fi + +\ifx\directlua\relax \let\directlua\undefined \fi +\ifx\XeTeXrevision\relax \let\XeTeXrevision\undefined \fi + +\begingroup\expandafter\expandafter\expandafter\endgroup +\expandafter\ifx\csname selectfont\endcsname\relax + \ifx\directlua\undefined + \ifx\XeTeXrevision\undefined + \input kotexutf + \else + \input xetexko.sty + \fi + \else + \input luatexko.sty + \fi +\endinput\fi + \newif\if@ko@euc \let\@ko@cjk\undefined -\ifx\directlua\relax \let\directlua\undefined \fi -\ifx\eTeXversion\relax \let\eTeXversion\undefined \fi -\ifx\eTeXversion\undefined \let\@ko@cjk\empty \fi \IfFileExists{kotexutf.sty}{}{\let\@ko@cjk\empty} \DeclareOption{utf}{} \DeclareOption{euc}{\@ko@euctrue} \DeclareOption{cjk}{\let\@ko@cjk\empty} \DeclareOption*{ - \ifx가가% - \ifx\directlua\undefined - \PassOptionsToPackage{\CurrentOption}{xetexko} - \else - \PassOptionsToPackage{\CurrentOption}{luatexko} - \fi - \else - \if@ko@euc - \PassOptionsToPackage{\CurrentOption}{kotex-euc} - \else - \ifx\@ko@cjk\undefined - \PassOptionsToPackage{\CurrentOption}{kotexutf} + \ifx\directlua\undefined + \ifx\XeTeXrevision\undefined + \if@ko@euc + \PassOptionsToPackage{\CurrentOption}{kotex-euc} \else - \PassOptionsToPackage{\CurrentOption}{cjkutf8-ko} + \ifx\@ko@cjk\undefined + \PassOptionsToPackage{\CurrentOption}{kotexutf} + \else + \PassOptionsToPackage{\CurrentOption}{cjkutf8-ko} + \fi \fi + \else + \PassOptionsToPackage{\CurrentOption}{xetexko} \fi - \fi} + \else + \PassOptionsToPackage{\CurrentOption}{luatexko} + \fi +} \InputIfFileExists{kotex.cfg}{}{} \ProcessOptions\relax @@ -61,22 +79,22 @@ \fi %%% load one of ko.TeX packages -\ifx가가% - \ifx\directlua\undefined - \RequirePackage{xetexko} - \else - \RequirePackage{luatexko} - \fi -\else - \if@ko@euc - \RequirePackage{kotex-euc} - \else - \ifx\@ko@cjk\undefined - \RequirePackage{kotexutf} +\ifx\directlua\undefined + \ifx\XeTeXrevision\undefined + \if@ko@euc + \RequirePackage{kotex-euc} \else - \RequirePackage{cjkutf8-ko} + \ifx\@ko@cjk\undefined + \RequirePackage{kotexutf} + \else + \RequirePackage{cjkutf8-ko} + \fi \fi + \else + \RequirePackage{xetexko} \fi +\else + \RequirePackage{luatexko} \fi \endinput -- cgit v1.2.3