[tex-live] updating CJK

Werner LEMBERG wl@gnu.org
Mon, 19 Aug 2002 06:28:48 +0200 (CEST)


As a bug-fix, here two files which should replace the files of the
same name in the TeX-Live tree.

When is the deadline for the next TeXLive CD?  I will then send a
complete update of the CJK stuff (especially documentation files).


    Werner

% This is the file JISdnp.enc of the CJK package
%   for using Asian logographs (Chinese/Japanese/Korean) with LaTeX2e
%
% created by Werner Lemberg <wl@gnu.org>
%
% Version 4.5.1 (17-Jun-2002)

\def\fileversion{4.5.1}
\def\filedate{2002/06/17}
\ProvidesFile{JISdnp.enc}[\filedate\space\fileversion]


% JIS encoding for DNP fonts:
%     each plane has 94 characters (GB, JIS etc.) (0xA1 - 0xFE).

\global\@namedef{CJK@JISdnpEncoding}{
  \CJK@loadChr{standard}

  \CJK@namegdef{^^a1}##1{\relax\CJK@punctchar{A1}{sy}{-160}{##1}}
  \CJK@namegdef{^^a2}##1{\relax\CJK@punctchar{A2}{sy}{ -60}{##1}}
  \CJK@namegdef{^^a3}##1{\relax\CJK@char {roma}{-128}{##1}}
  \CJK@namegdef{^^a4}##1{\relax\CJK@punctchar{A4}{hira}{-160}{##1}}
  \CJK@namegdef{^^a5}##1{\relax\CJK@punctchar{A5}{kata}{-160}{##1}}
  \CJK@namegdef{^^a6}##1{\relax\CJK@char {greek}{-160}{##1}}
  \CJK@namegdef{^^a7}##1{\relax\CJK@char {russian}{-160}{##1}}
  \CJK@namegdef{^^a8}##1{\relax\CJK@char {keisen}{-160}{##1}}
  \CJK@namegdef{^^a9}##1{\relax\CJK@errxx}
  \CJK@namegdef{^^aa}##1{\relax\CJK@errxx}
  \CJK@namegdef{^^ab}##1{\relax\CJK@errxx}
  \CJK@namegdef{^^ac}##1{\relax\CJK@errxx}
  \CJK@namegdef{^^ad}##1{\relax\CJK@errxx}
  \CJK@namegdef{^^ae}##1{\relax\CJK@errxx}
  \CJK@namegdef{^^af}##1{\relax\CJK@errxx}
  \CJK@namegdef{^^b0}##1{\relax\CJK@char {ka}{-161}{##1}}
  \CJK@namegdef{^^b1}##1{\relax\CJK@char {ka}{ -67}{##1}}
  \CJK@namegdef{^^b2}##1{\relax\CJK@charx{ka}{kb}{27}{##1}}
  \CJK@namegdef{^^b3}##1{\relax\CJK@char {kb}{-135}{##1}}
  \CJK@namegdef{^^b4}##1{\relax\CJK@char {kb}{ -41}{##1}}
  \CJK@namegdef{^^b5}##1{\relax\CJK@charx{kb}{kc}{53}{##1}}
  \CJK@namegdef{^^b6}##1{\relax\CJK@char {kc}{-109}{##1}}
  \CJK@namegdef{^^b7}##1{\relax\CJK@char {kc}{ -15}{##1}}
  \CJK@namegdef{^^b8}##1{\relax\CJK@charx{kc}{kd}{79}{##1}}
  \CJK@namegdef{^^b9}##1{\relax\CJK@char {kd}{ -83}{##1}}
  \CJK@namegdef{^^ba}##1{\relax\CJK@charx{kd}{ke}{11}{##1}}
  \CJK@namegdef{^^bb}##1{\relax\CJK@char {ke}{-151}{##1}}
  \CJK@namegdef{^^bc}##1{\relax\CJK@char {ke}{ -57}{##1}}
  \CJK@namegdef{^^bd}##1{\relax\CJK@charx{ke}{kf}{37}{##1}}
  \CJK@namegdef{^^be}##1{\relax\CJK@char {kf}{-125}{##1}}
  \CJK@namegdef{^^bf}##1{\relax\CJK@char {kf}{ -31}{##1}}
  \CJK@namegdef{^^c0}##1{\relax\CJK@charx{kf}{kg}{63}{##1}}
  \CJK@namegdef{^^c1}##1{\relax\CJK@char {kg}{ -99}{##1}}
  \CJK@namegdef{^^c2}##1{\relax\CJK@char {kg}{  -5}{##1}}
  \CJK@namegdef{^^c3}##1{\relax\CJK@charx{kg}{kh}{89}{##1}}
  \CJK@namegdef{^^c4}##1{\relax\CJK@char {kh}{ -73}{##1}}
  \CJK@namegdef{^^c5}##1{\relax\CJK@charx{kh}{ki}{21}{##1}}
  \CJK@namegdef{^^c6}##1{\relax\CJK@char {ki}{-141}{##1}}
  \CJK@namegdef{^^c7}##1{\relax\CJK@char {ki}{ -47}{##1}}
  \CJK@namegdef{^^c8}##1{\relax\CJK@charx{ki}{kj}{47}{##1}}
  \CJK@namegdef{^^c9}##1{\relax\CJK@char {kj}{-115}{##1}}
  \CJK@namegdef{^^ca}##1{\relax\CJK@char {kj}{ -21}{##1}}
  \CJK@namegdef{^^cb}##1{\relax\CJK@charx{kj}{kk}{73}{##1}}
  \CJK@namegdef{^^cc}##1{\relax\CJK@char {kk}{ -89}{##1}}
  \CJK@namegdef{^^cd}##1{\relax\CJK@charx{kk}{kl}{ 5}{##1}}
  \CJK@namegdef{^^ce}##1{\relax\CJK@char {kl}{-157}{##1}}
  \CJK@namegdef{^^cf}##1{\relax\CJK@char {kl}{-63}{##1}}
  \CJK@namegdef{^^d0}##1{\relax\CJK@char {km}{-161}{##1}}
  \CJK@namegdef{^^d1}##1{\relax\CJK@char {km}{ -67}{##1}}
  \CJK@namegdef{^^d2}##1{\relax\CJK@charx{km}{kn}{27}{##1}}
  \CJK@namegdef{^^d3}##1{\relax\CJK@char {kn}{-135}{##1}}
  \CJK@namegdef{^^d4}##1{\relax\CJK@char {kn}{ -41}{##1}}
  \CJK@namegdef{^^d5}##1{\relax\CJK@charx{kn}{ko}{53}{##1}}
  \CJK@namegdef{^^d6}##1{\relax\CJK@char {ko}{-109}{##1}}
  \CJK@namegdef{^^d7}##1{\relax\CJK@char {ko}{ -15}{##1}}
  \CJK@namegdef{^^d8}##1{\relax\CJK@charx{ko}{kp}{79}{##1}}
  \CJK@namegdef{^^d9}##1{\relax\CJK@char {kp}{ -83}{##1}}
  \CJK@namegdef{^^da}##1{\relax\CJK@charx{kp}{kq}{11}{##1}}
  \CJK@namegdef{^^db}##1{\relax\CJK@char {kq}{-151}{##1}}
  \CJK@namegdef{^^dc}##1{\relax\CJK@char {kq}{ -57}{##1}}
  \CJK@namegdef{^^dd}##1{\relax\CJK@charx{kq}{kr}{37}{##1}}
  \CJK@namegdef{^^de}##1{\relax\CJK@char {kr}{-125}{##1}}
  \CJK@namegdef{^^df}##1{\relax\CJK@char {kr}{ -31}{##1}}
  \CJK@namegdef{^^e0}##1{\relax\CJK@charx{kr}{ks}{63}{##1}}
  \CJK@namegdef{^^e1}##1{\relax\CJK@char {ks}{ -99}{##1}}
  \CJK@namegdef{^^e2}##1{\relax\CJK@char {ks}{  -5}{##1}}
  \CJK@namegdef{^^e3}##1{\relax\CJK@charx{ks}{kt}{89}{##1}}
  \CJK@namegdef{^^e4}##1{\relax\CJK@char {kt}{ -73}{##1}}
  \CJK@namegdef{^^e5}##1{\relax\CJK@charx{kt}{ku}{21}{##1}}
  \CJK@namegdef{^^e6}##1{\relax\CJK@char {ku}{-141}{##1}}
  \CJK@namegdef{^^e7}##1{\relax\CJK@char {ku}{ -47}{##1}}
  \CJK@namegdef{^^e8}##1{\relax\CJK@charx{ku}{kv}{47}{##1}}
  \CJK@namegdef{^^e9}##1{\relax\CJK@char {kv}{-115}{##1}}
  \CJK@namegdef{^^ea}##1{\relax\CJK@char {kv}{ -21}{##1}}
  \CJK@namegdef{^^eb}##1{\relax\CJK@charx{kv}{kw}{73}{##1}}
  \CJK@namegdef{^^ec}##1{\relax\CJK@char {kw}{ -89}{##1}}
  \CJK@namegdef{^^ed}##1{\relax\CJK@charx{kw}{kx}{ 5}{##1}}
  \CJK@namegdef{^^ee}##1{\relax\CJK@char {kx}{-157}{##1}}
  \CJK@namegdef{^^ef}##1{\relax\CJK@char {kx}{ -63}{##1}}
  \CJK@namegdef{^^f0}##1{\relax\CJK@charx{kx}{ky}{31}{##1}}
  \CJK@namegdef{^^f1}##1{\relax\CJK@char {ky}{-131}{##1}}
  \CJK@namegdef{^^f2}##1{\relax\CJK@char {ky}{ -37}{##1}}
  \CJK@namegdef{^^f3}##1{\relax\CJK@charx{ky}{kz}{57}{##1}}
  \CJK@namegdef{^^f4}##1{\relax\CJK@char {kz}{-105}{##1}}
  \CJK@namegdef{^^f5}##1{\relax\CJK@errxx}
  \CJK@namegdef{^^f6}##1{\relax\CJK@errxx}
  \CJK@namegdef{^^f7}##1{\relax\CJK@errxx}
  \CJK@namegdef{^^f8}##1{\relax\CJK@errxx}
  \CJK@namegdef{^^f9}##1{\relax\CJK@errxx}
  \CJK@namegdef{^^fa}##1{\relax\CJK@errxx}
  \CJK@namegdef{^^fb}##1{\relax\CJK@errxx}
  \CJK@namegdef{^^fc}##1{\relax\CJK@errxx}
  \CJK@namegdef{^^fd}##1{\relax\CJK@errxx}
  \CJK@namegdef{^^fe}##1{\relax\CJK@errxx}
}

\endinput

% This is the file EUC-TW.chr of the CJK package
%   for using Asian logographs (Chinese/Japanese/Korean) with LaTeX2e
%
% created by Werner Lemberg <wl@gnu.org>
%
% Version 4.5.1 (17-Jun-2002)

\def\fileversion{4.5.1}
\def\filedate{2002/06/17}
\ProvidesFile{EUC-TW.chr}[\filedate\space\fileversion]


% define macros for handling characters in EUC-TW encoding.

\global\@namedef{CJK@EUC-TWChr}{
  \CJK@global\def\CJK@char##1##2##3{
    {\ifnum ##3 < \CJK@min
       \CJK@err
     \else
       \ifnum ##3 > \CJK@max
         \CJK@err
       \else
         \CJK@testLastCJK
         \ifCJK@
           \CJKglue
         \fi
         \CJK@testLastKern
         \ifCJK@
           \nobreak
           \CJKglue
           \nobreak
         \fi

         \@tempcnta ##3\relax
         \advance\@tempcnta ##2\relax
         \edef\CJK@plane{##1}
         \usefont{\CJK@enc}{\CJK@family}{\CJK@series}{\CJK@shape}
         \CJKsymbol{\@tempcnta}

         \CJK@CJK
       \fi
     \fi}}

% the same, but the plane crosses the font file boundary.

  \CJK@global\def\CJK@charx##1##2##3##4{
    {\ifnum ##4 < \CJK@min
       \CJK@err
     \else
       \ifnum ##4 > \CJK@max
         \CJK@err
       \else
         \CJK@testLastCJK
         \ifCJK@
           \CJKglue
         \fi
         \CJK@testLastKern
         \ifCJK@
           \nobreak
           \CJKglue
           \nobreak
         \fi

         \@tempcnta ##4\relax
         \@tempcntb 256\relax
         \advance\@tempcnta ##3\relax
         \advance\@tempcntb -##3\relax
         \chardef\@temp \@tempcntb
         \ifnum ##4 < \@temp
           \edef\CJK@plane{##1}
         \else
           \advance\@tempcnta -256\relax
           \edef\CJK@plane{##2}
         \fi
         \usefont{\CJK@enc}{\CJK@family}{\CJK@series}{\CJK@shape}
         \CJKsymbol{\@tempcnta}

         \CJK@CJK
       \fi
     \fi}}

% for punctuation.

  \CJK@global\def\CJK@punctchar##1##2##3##4{
    {\ifnum ##4 < \CJK@min
       \CJK@err
     \else
       \ifnum ##4 > \CJK@max
         \CJK@err
       \else
         \CJK@numbToHex{\CJK@gtemp}{##4}
         \CJK@testLastCJK
         \ifCJK@
           \CJK@testPostPunct{\CJK@punctEnc}{##1}{\CJK@gtemp}
           \ifCJK@
             \nobreak
             \CJKglue
             \nobreak
           \else
             \CJKglue
           \fi
         \fi
         \CJK@testLastKern
         \ifCJK@
           \nobreak
           \CJKglue
           \nobreak
         \fi

         \@tempcnta ##4\relax
         \advance\@tempcnta ##3\relax
         \edef\CJK@plane{##2}
         \usefont{\CJK@enc}{\CJK@family}{\CJK@series}{\CJK@shape}
         \CJKsymbol{\@tempcnta}

         \CJK@testPrePunct{\CJK@punctEnc}{##1}{\CJK@gtemp}
         \ifCJK@
           \CJK@kern
         \else
           \CJK@CJK
         \fi
       \fi
     \fi}}

  \CJK@global\def\CJK@punctcharx##1##2##3##4##5{
    {\ifnum ##5 < \CJK@min
       \CJK@err
     \else
       \ifnum ##5 > \CJK@max
         \CJK@err
       \else
         \CJK@numbToHex{\CJK@gtemp}{##5}
         \CJK@testLastCJK
         \ifCJK@
           \CJK@testPostPunct{\CJK@punctEnc}{##1}{\CJK@gtemp}
           \ifCJK@
             \nobreak
             \CJKglue
             \nobreak
           \else
             \CJKglue
           \fi
         \fi
         \CJK@testLastKern
         \ifCJK@
           \nobreak
           \CJKglue
           \nobreak
         \fi

         \@tempcnta ##5\relax
         \@tempcntb 256\relax
         \advance\@tempcnta ##4\relax
         \advance\@tempcntb -##4\relax
         \chardef\@temp \@tempcntb
         \ifnum ##5 < \@temp
           \edef\CJK@plane{##2}
         \else
           \advance\@tempcnta -256\relax
           \edef\CJK@plane{##3}
         \fi
         \usefont{\CJK@enc}{\CJK@family}{\CJK@series}{\CJK@shape}
         \CJKsymbol{\@tempcnta}

         \CJK@testPrePunct{\CJK@punctEnc}{##1}{\CJK@gtemp}
         \ifCJK@
           \CJK@kern
         \else
           \CJK@CJK
         \fi
       \fi
     \fi}}

% for CNS characters accessed via the SS2 code (0x8E)

  \CJK@global\def\CJK@shiftchar##1##2##3{
    {\CJK@numbToHex{\CJK@gtemp}{##1}
     \CJKchar[CNS\expandafter\@secondoftwo\CJK@gtemp]
      {\number ##2}{\number ##3}}}}

\endinput


--- StripMime Report -- processed MIME parts ---
multipart/mixed
  text/plain (text body -- kept)
  text/plain (text body -- kept)
  text/plain (text body -- kept)
---