summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-04-09 22:39:48 +0000
committerKarl Berry <karl@freefriends.org>2016-04-09 22:39:48 +0000
commitf40f5d12f5e60cc64a52359e1af13e6583667ba5 (patch)
tree672eb5d1703cf8e8ceddf7681a0096a016eddc85
parent8b226d155f21235b95e26816b004ea6d3642f339 (diff)
cjk-ko (8apr16)
git-svn-id: svn://tug.org/texlive/trunk@40373 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/cjk-ko/ChangeLog8
-rw-r--r--Master/texmf-dist/doc/latex/cjk-ko/README9
-rw-r--r--Master/texmf-dist/doc/latex/cjk-ko/cjk-ko-doc.pdfbin164823 -> 166434 bytes
-rw-r--r--Master/texmf-dist/doc/latex/cjk-ko/cjk-ko-doc.tex8
-rw-r--r--Master/texmf-dist/tex/latex/cjk-ko/cjkutf8-josa.sty4
-rw-r--r--Master/texmf-dist/tex/latex/cjk-ko/cjkutf8-ko.sty35
-rw-r--r--Master/texmf-dist/tex/latex/cjk-ko/cjkutf8-nanummjhanja.sty4
-rw-r--r--Master/texmf-dist/tex/latex/cjk-ko/konames-utf.sty6
8 files changed, 53 insertions, 21 deletions
diff --git a/Master/texmf-dist/doc/latex/cjk-ko/ChangeLog b/Master/texmf-dist/doc/latex/cjk-ko/ChangeLog
index f50cc547053..995f110bab3 100644
--- a/Master/texmf-dist/doc/latex/cjk-ko/ChangeLog
+++ b/Master/texmf-dist/doc/latex/cjk-ko/ChangeLog
@@ -1,3 +1,11 @@
+2016-04-04 Dohyun Kim <nomos at ktug org>
+
+ Version 1.8
+
+ * cjkutf8-ko.sty: package option [truetype] activates `\CJK@addcmap'
+ * cjkutf8-ko.sty: pass unknown options to CJKutf8.sty
+ * cjkutf8-ko.sty: ignore variation selectors for Korean hanja
+
2015-07-18 Dohyun Kim <nomos at ktug org>
Version 1.7
diff --git a/Master/texmf-dist/doc/latex/cjk-ko/README b/Master/texmf-dist/doc/latex/cjk-ko/README
index f536b123148..f55358523d4 100644
--- a/Master/texmf-dist/doc/latex/cjk-ko/README
+++ b/Master/texmf-dist/doc/latex/cjk-ko/README
@@ -1,4 +1,4 @@
-CJK-ko package version 1.7 (2015/07/18)
+CJK-ko package version 1.8 (2016/04/04)
=======================================
This package supports typesetting of modern Korean documents with the help
@@ -101,6 +101,13 @@ currently available.
Declare Myeongjo (serif) and Gothic (sans-serif) font families respectively.
`c70<font>.fd` should be existant.
+ [truetype]
+When TrueType fonts are declared by mj or gt option, it is recommended to
+declare this option as well, which enables text extraction from resulting PDF.
+
+Other unknown options will be passed to CJKutf8.sty.
+
+
User commands
-------------
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 f005fcebc8a..d4c97178ae3 100644
--- a/Master/texmf-dist/doc/latex/cjk-ko/cjk-ko-doc.pdf
+++ b/Master/texmf-dist/doc/latex/cjk-ko/cjk-ko-doc.pdf
Binary files 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 80bcf332d2f..23ee6cbbda9 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
@@ -25,7 +25,7 @@
\title{\cjkko\ 간단 매뉴얼}
\author{Dohyun Kim \normalsize $<$\texttt{nomos at ktug org}$>$ \and
\normalsize $<$\url{http://github.com/dohyunkim/cjk-ko}$>$}
-\date{Version 1.7\quad 20XX/XX/XX}
+\date{Version 1.8\quad \today}
\begin{document}
\maketitle
@@ -66,7 +66,7 @@
\begin{description}
\item[불러오기]: \quad\cs{usepackage[cjk]\{kotex\}}
\medskip
- \item[패키지 옵션]:
+ \item[패키지 옵션] 열거되지 않은 옵션은 CJKutf8 패키지에 그대로 전달된다.
\begin{itemize}
\item[\texttt{cjk}] \TeX\ Live에선 이 옵션이 없으면 kotexutf\,가
로드된다. 단, \verb|kotexutf.sty| 파일을 찾을 수 없다면
@@ -86,6 +86,8 @@
\verb|[mj=utbt]|.
\item[\texttt{gt=<font>}] CJK 고딕 글꼴을 지정한다. ttfamily에도
이 글꼴이 쓰인다.
+ \item[\texttt{truetype}] 트루타입 폰트를 사용자 글꼴로 지시했다면
+ 이 옵션을 주어야 텍스트 추출이 가능해진다. PDF\LaTeX 에서만 유의미하다.
\end{itemize}
\end{description}
@@ -152,7 +154,7 @@
\item[\cs{hanjanum}] 一 二 三 四 五 六 七 八 九 十 十一 十二 $\cdots$ 二十四
\end{itemize}
-\section{\texttt{kotex.sty}에 대하여}
+\section{\texttt{kotex.sty}}
다양한 \koTeX\ 패키지로의 준자동적인 연결을 담당하는 스타일 파일이다.
\begin{itemize}
\item \verb|[cjk]| 옵션을 주면 \cjkko\ 패키지를 로드한다.
diff --git a/Master/texmf-dist/tex/latex/cjk-ko/cjkutf8-josa.sty b/Master/texmf-dist/tex/latex/cjk-ko/cjkutf8-josa.sty
index 75bbef68efa..55e38720626 100644
--- a/Master/texmf-dist/tex/latex/cjk-ko/cjkutf8-josa.sty
+++ b/Master/texmf-dist/tex/latex/cjk-ko/cjkutf8-josa.sty
@@ -1,6 +1,6 @@
% cjkutf8-josa.sty
%
-% Copyright (c) 2015 Dohyun Kim <nomos at ktug org>
+% Copyright (c) 2016 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-josa}[2015/03/20 v1.5 Automatic Josa selection for cjk-ko]
+\ProvidesPackage{cjkutf8-josa}[2016/04/04 v1.8 Automatic Josa selection for cjk-ko]
\AtBeginDocument{
\ifx\use@josa\undefined\else
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 ab91a456616..8d3e9436381 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) 2015 Dohyun Kim <nomos at ktug org>
+% Copyright (c) 2016 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}[2015/07/18 v1.7 Hangul typesetting on CJKutf8]
+\ProvidesPackage{cjkutf8-ko}[2016/04/04 v1.8 Hangul typesetting on CJKutf8]
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname eTeXversion\endcsname\relax
@@ -35,10 +35,11 @@
\DeclareOption{usecjkt1font}{\let\usecjk@@font\empty\@hangultrue}
\DeclareOption{usedotemph}{\let\usedot@mph\empty}
\DeclareOption{nojosa}{\let\use@josa\undefined}
+\DeclareOption{truetype}{\let\use@cjk@cmap@\relax}
\DeclareOption*{\expandafter\CJKKO@userfont@option\CurrentOption=\end}
\def\CJKKO@userfont@option#1=#2\end{%
\ifx\empty#2\empty
- \PackageError{cjkutf8-ko}{Option not used: #1}{}
+ \PassOptionsToPackage{#1}{CJKutf8}
\else
\def\reserved@a{mj}\def\reserved@b{gt}\def\reserved@c{#1}
\ifx\reserved@a\reserved@c
@@ -81,7 +82,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%
% font settings
\ifx\usecjk@@font\undefined\else
- \RequirePackage[T1]{fontenc}
+ \PassOptionsToPackage{T1}{CJKutf8}
\RequirePackage{textcomp}
\IfFileExists{t1\CJKKO@mjfont.fd}{\let\rmdefault\CJKKO@mjfont}{}
\IfFileExists{t1\CJKKO@gtfont.fd}{\let\sfdefault\CJKKO@gtfont}{}
@@ -409,13 +410,15 @@
%\fi
%%%%%%%%%%%%%%%%%%%%%%%%%
-%%% disable cmap by CJK.
-%%% instead try to use pdftex's pdfgentounicode
+%%% use pdftex's pdfgentounicode
\ifpdf
- \let\CJK@addcmap\@gobble
\ifx\pdfgentounicode\undefined\else
- \pdfgentounicode\@ne
- \InputIfFileExists{glyphtounicode}{}{}
+ \ifx\use@cjk@cmap@\relax\else
+ \InputIfFileExists{glyphtounicode}{%
+ \let\CJK@addcmap\@gobble
+ \pdfgentounicode\@ne
+ }{}
+ \fi
\fi
\fi
@@ -428,8 +431,8 @@
%%% still conflicts with package verbments.
%%% so now we make utf8 characters robust.
\count@"C2 \loop
- \uccode\count@\z@
- \lccode\count@\z@
+ \uccode\count@\count@
+ \lccode\count@\count@
\begingroup
\lccode`\~\count@
\lowercase{\endgroup
@@ -449,5 +452,15 @@
% and dotemph as well
\let\dotemph\@firstofone
}
+% protect against lowercase
+\count@"80 \loop
+ \uccode\count@\count@
+ \lccode\count@\count@
+\ifnum\count@<"BF \advance\count@\@ne \repeat
+
+%%% ignore variation selectors for korean hanja
+\DeclareUnicodeCharacter{FE00}{}
+\DeclareUnicodeCharacter{FE01}{}
+\DeclareUnicodeCharacter{FE02}{}
\endinput
diff --git a/Master/texmf-dist/tex/latex/cjk-ko/cjkutf8-nanummjhanja.sty b/Master/texmf-dist/tex/latex/cjk-ko/cjkutf8-nanummjhanja.sty
index a4fbb6f2aa7..f96fae70aa8 100644
--- a/Master/texmf-dist/tex/latex/cjk-ko/cjkutf8-nanummjhanja.sty
+++ b/Master/texmf-dist/tex/latex/cjk-ko/cjkutf8-nanummjhanja.sty
@@ -1,6 +1,6 @@
% cjkutf8-nanummjhanja.sty
%
-% Copyright (c) 2015 Dohyun Kim <nomos at ktug org>
+% Copyright (c) 2016 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
@@ -18,7 +18,7 @@
% MA 02110-1301 USA
\ProvidesPackage{cjkutf8-nanummjhanja}
- [2015/03/20 v1.5 UHC hanja for Nanum Myeongjo]
+ [2016/04/04 v1.8 UHC hanja for Nanum Myeongjo]
\def\CJKKO@mjdefault{nanummj}
\def\CJKKO@mjhanjafamily{\def\CJK@family{uhcmj}}
diff --git a/Master/texmf-dist/tex/latex/cjk-ko/konames-utf.sty b/Master/texmf-dist/tex/latex/cjk-ko/konames-utf.sty
index b5fda202cb0..01a486e8ae6 100644
--- a/Master/texmf-dist/tex/latex/cjk-ko/konames-utf.sty
+++ b/Master/texmf-dist/tex/latex/cjk-ko/konames-utf.sty
@@ -24,7 +24,7 @@
\def\today{\number\year 年 \number\month 月 \number\day 日}
\def\enclname{同封物}
\def\ccname{寫本}% 사전에서
- \def\headtoname{受信人}%
+ \def\headtoname{受信人:}%
\def\seename{\을~參考}%
\def\alsoname{\을~參考}%
\def\contentsname{目~次}%
@@ -42,11 +42,12 @@
\def\sectionname{節}
\def\colorlayer{幻燈版~色相}% 사전에서
\def\glossaryname{語~彙}% 사전에서
+ \def\proofname{證明}%
\else
\def\today{\number\year 년 \number\month 월 \number\day 일}
\def\enclname{동봉물}
\def\ccname{사본}%
- \def\headtoname{받는이}%
+ \def\headtoname{받는이:}%
\def\seename{\을~참고}%
\def\alsoname{\을~함께~참고}%
\def\contentsname{차~례}%
@@ -64,6 +65,7 @@
\def\sectionname{절}% 단락 - subsection 소단락
\def\colorlayer{환등판~색깔}% 사전에서
\def\glossaryname{용어집}% 사전에서
+ \def\proofname{증명}%
\fi
\def\pagename{페이지}% 쪽
\def\figurename{그림}