summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-07-19 21:37:46 +0000
committerKarl Berry <karl@freefriends.org>2015-07-19 21:37:46 +0000
commitc266a6c654046449cd5fe43094cbd0eafd37fc4e (patch)
tree03c0042cc6f7dfbcf566ae2baf930517776ba2e6 /Master/texmf-dist
parent4bc3a08de1ae586a4b6720e713cae3f8f0b316f2 (diff)
cjk-ko (19jul15)
git-svn-id: svn://tug.org/texlive/trunk@37899 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/cjk-ko/ChangeLog9
-rw-r--r--Master/texmf-dist/doc/latex/cjk-ko/README10
-rw-r--r--Master/texmf-dist/doc/latex/cjk-ko/cjk-ko-doc.pdfbin165048 -> 164823 bytes
-rw-r--r--Master/texmf-dist/doc/latex/cjk-ko/cjk-ko-doc.tex12
-rw-r--r--Master/texmf-dist/tex/latex/cjk-ko/cjkutf8-ko.sty53
-rw-r--r--Master/texmf-dist/tex/latex/cjk-ko/konames-utf.sty7
6 files changed, 66 insertions, 25 deletions
diff --git a/Master/texmf-dist/doc/latex/cjk-ko/ChangeLog b/Master/texmf-dist/doc/latex/cjk-ko/ChangeLog
index 88aff3501f8..f50cc547053 100644
--- a/Master/texmf-dist/doc/latex/cjk-ko/ChangeLog
+++ b/Master/texmf-dist/doc/latex/cjk-ko/ChangeLog
@@ -1,3 +1,12 @@
+2015-07-18 Dohyun Kim <nomos at ktug org>
+
+ Version 1.7
+
+ * cjkutf8-ko.sty: use `mj' when nanumtype1 is missing
+ * cjkutf8-ko.sty: no error even when glyphtounicode is missing
+ * cjkutf8-ko.sty: hyperref bookmarks were broken
+ * konames-utf.sty: add \newif\if@hanja if undefined
+
2015-04-19 Dohyun Kim <nomos at ktug org>
Version 1.6
diff --git a/Master/texmf-dist/doc/latex/cjk-ko/README b/Master/texmf-dist/doc/latex/cjk-ko/README
index 3d0b450a046..f536b123148 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.6 (2015/04/19)
+CJK-ko package version 1.7 (2015/07/18)
=======================================
This package supports typesetting of modern Korean documents with the help
@@ -91,15 +91,15 @@ Disable automatic Josa selection
[usedotemph]
Enable \dotemph command. CJKfntef.sty and CJKulem.sty will be loaded
-as well.
+automatically.
[usecjkt1font]
-Latin characters are typeset by CJK font. Only Nanum T1 font is
+CJK fonts will be used for Latin characters as well. Only Nanum T1 font is
currently available.
[mj=<font>], [gt=<font>]
-Declare Myeongjo and Gothic fonts respectively. `c70<font>.fd` should
-be existant.
+Declare Myeongjo (serif) and Gothic (sans-serif) font families respectively.
+`c70<font>.fd` should be existant.
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 cd4c25903e8..f005fcebc8a 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 02d8fc5722f..80bcf332d2f 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
@@ -2,11 +2,19 @@
%%
%% This file is in public domain
+\ifcase\pdfoutput
\documentclass[dvipdfmx,b5paper]{article}
+\else
+\documentclass[b5paper]{article}
+\fi
\usepackage{geometry}
\usepackage[cjk,hangul,usedotemph]{kotex}
\usepackage{xcolor,hologo}
-\usepackage[pdfencoding=auto]{hyperref}
+\usepackage[pdfencoding=auto,
+ pdftitle={cjk-ko 간단 매뉴얼},
+ pdfauthor={Dohyun Kim},
+ pdfkeywords={CJK, LaTeX, Korean, ko.TeX}
+]{hyperref}
\def\cs#1{\texttt{\color{teal}\char92 \chardef\{=123 \chardef\}=125 #1}}
\def\koTeX{\textsf{k}\kern-.1em\textit{o}.\kern-.1667em\TeX}
@@ -17,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.6\quad 2015/04/19}
+\date{Version 1.7\quad 20XX/XX/XX}
\begin{document}
\maketitle
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 be56758191e..ab91a456616 100644
--- a/Master/texmf-dist/tex/latex/cjk-ko/cjkutf8-ko.sty
+++ b/Master/texmf-dist/tex/latex/cjk-ko/cjkutf8-ko.sty
@@ -17,14 +17,14 @@
% Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
% MA 02110-1301 USA
-\ProvidesPackage{cjkutf8-ko}[2015/04/19 v1.6 Hangul typesetting on CJKutf8]
+\ProvidesPackage{cjkutf8-ko}[2015/07/18 v1.7 Hangul typesetting on CJKutf8]
-\ifx\eTeXversion\relax \let\eTeXversion\undefined \fi
-\ifx\eTeXversion\undefined
+\begingroup\expandafter\expandafter\expandafter\endgroup
+\expandafter\ifx\csname eTeXversion\endcsname\relax
\PackageError{cjkutf8-ko}
{e-TeX engine is required}
{Please update your TeX system to the latest distribution}
-\fi
+\endinput\fi
\newif\if@hangul
\newif\if@hanja
@@ -65,8 +65,18 @@
\def\CJKKO@removetrailingEQ#1={#1}
\ProcessOptions\relax
-\ifx\CJKKO@mjfont\undefined \def\CJKKO@mjfont{nanummj}\fi
-\ifx\CJKKO@gtfont\undefined \def\CJKKO@gtfont{nanumgt}\fi
+\ifx\CJKKO@mjfont\undefined
+ \IfFileExists{c70nanummj.fd}{\def\CJKKO@mjfont{nanummj}}{
+ \def\CJKKO@mjfont{mj}
+ \ifx\usedot@mph\undefined\else
+ \def\dotemphraise{1ex}
+ \def\dotemphchar{\Unicode{"02}{"D9}}
+ \fi
+ }
+\fi
+\ifx\CJKKO@gtfont\undefined
+ \IfFileExists{c70nanumgt.fd}{\def\CJKKO@gtfont{nanumgt}}{\def\CJKKO@gtfont{mj}}
+\fi
%%%%%%%%%%%%%%%%%%%%%%%%%
% font settings
@@ -130,16 +140,11 @@
\addto@hook\UL@hook{\let\CJKglue\HangulGlue}
\RequirePackage{CJKfntef}
\normalem % users should declare \ULforem to enable underlining for \emph
- \def\dotemphraise{0.2em}
- \def\dotemphchar{\bfseries\Unicode{"02}{"D9}}
+ \ifx\dotemphraise\undefined \def\dotemphraise{0.5ex}\fi
+ \ifx\dotemphchar\undefined \def\dotemphchar{\bfseries\Unicode{"02}{"D9}}\fi
% user command: dotemph
\DeclareRobustCommand*\dotemph{%
\CJKunderanysymbol{-\dotemphraise}{\dotemphchar}}
- \AtBeginDocument{
- \@ifpackageloaded{hyperref}{\g@addto@macro\pdfstringdefPreHook{%
- \let\dotemph\@firstofone
- }}{}
- }
\fi
%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -212,7 +217,7 @@
\csname \curr@fontshape\endcsname}
\if@hangul % hangul is main language
% scale space glue
- \@ifpackageloaded{minimal}{}{%
+ \@ifclassloaded{minimal}{}{%
\bgroup
\@for\reserved@a:=,\small,\footnotesize,\large,\Large,\LARGE\do{%
\fontdimen2\font=\CJK@scale\fontdimen2\font
@@ -404,13 +409,13 @@
%\fi
%%%%%%%%%%%%%%%%%%%%%%%%%
-%%% disable cmap by CJK, which sometimes behaves insalely
+%%% disable cmap by CJK.
%%% instead try to use pdftex's pdfgentounicode
\ifpdf
\let\CJK@addcmap\@gobble
\ifx\pdfgentounicode\undefined\else
- \pdfgentounicode=1
- \input glyphtounicode
+ \pdfgentounicode\@ne
+ \InputIfFileExists{glyphtounicode}{}{}
\fi
\fi
@@ -430,5 +435,19 @@
\lowercase{\endgroup
\protected\edef~{\unexpanded\expandafter{~}}}
\ifnum\count@<"F4 \advance\count@\@ne \repeat
+% then we have to care about hyperref bookmarks.
+\ifx\pdfstringdefPreHook\undefined
+ \let\pdfstringdefPreHook\empty
+\fi
+\g@addto@macro\pdfstringdefPreHook{%
+ \count@"C2 \loop
+ \begingroup
+ \lccode`\~\count@
+ \lowercase{\endgroup
+ \edef~{\unexpanded\expandafter{~}}}%
+ \ifnum\count@<"F4 \advance\count@\@ne \repeat
+ % and dotemph as well
+ \let\dotemph\@firstofone
+}
\endinput
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 f8b149bdd85..b5fda202cb0 100644
--- a/Master/texmf-dist/tex/latex/cjk-ko/konames-utf.sty
+++ b/Master/texmf-dist/tex/latex/cjk-ko/konames-utf.sty
@@ -13,7 +13,12 @@
% version 2006/05/20 or later.
%
-\ProvidesPackage{konames-utf}[2015/02/20 v1.5 UTF-8 Hangul captions]
+\ProvidesPackage{konames-utf}[2015/07/06 v1.7 UTF-8 Hangul captions]
+
+\begingroup\expandafter\expandafter\expandafter\endgroup
+\expandafter\ifx\csname if@hanja\endcsname\relax
+ \expandafter\newif\csname if@hanja\endcsname
+\fi
\if@hanja
\def\today{\number\year 年 \number\month 月 \number\day 日}