diff options
author | Karl Berry <karl@freefriends.org> | 2012-05-21 23:54:53 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-05-21 23:54:53 +0000 |
commit | 11329d298783368bb1e2bb185886ac21f4f2dcf8 (patch) | |
tree | 363573f27ef161cc2b0f9c0db103f2e9629b5f0d /Master/texmf-dist/doc | |
parent | 95bec054254407d74fec37e47245e6fcbb8a9aff (diff) |
xecjk (21may12)
git-svn-id: svn://tug.org/texlive/trunk@26553 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r-- | Master/texmf-dist/doc/xelatex/xecjk/README | 31 | ||||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/xecjk/README.txt | 22 | ||||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/xecjk/example/xeCJK-example-CJKecglue.tex | 61 | ||||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/xecjk/example/xeCJK-example-autofake.tex (renamed from Master/texmf-dist/doc/xelatex/xecjk/example-autofake.tex) | 17 | ||||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/xecjk/example/xeCJK-example-checksingle.tex | 67 | ||||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/xecjk/example/xeCJK-example-fallback.tex (renamed from Master/texmf-dist/doc/xelatex/xecjk/example-fallback.tex) | 17 | ||||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/xecjk/example/xeCJK-example-subCJKblock.tex (renamed from Master/texmf-dist/doc/xelatex/xecjk/example-subCJKblock.tex) | 17 | ||||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/xecjk/xeCJK.cmds | 0 | ||||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/xecjk/xeCJK.pdf | bin | 482848 -> 489094 bytes |
9 files changed, 199 insertions, 33 deletions
diff --git a/Master/texmf-dist/doc/xelatex/xecjk/README b/Master/texmf-dist/doc/xelatex/xecjk/README index e0f5d1182cc..126933d2dfe 100644 --- a/Master/texmf-dist/doc/xelatex/xecjk/README +++ b/Master/texmf-dist/doc/xelatex/xecjk/README @@ -9,8 +9,18 @@ CJK scripts easily. This package is licensed in LPPL. -If you are interested in the process of development you -may observe +This package consists of the file xeCJK.dtx + and the derived files xeCJK.pdf, + xeCJK.sty, + xeCJK.ins, + xeCJK-example-autofake.tex, + xeCJK-example-fallback.tex, + xeCJK-example-subCJKblock.tex, + xeCJK-example-CJKecglue.tex, + xeCJK-example-checksingle.tex and + README.txt (this file). + +If you are interested in the process of development you may observe http://code.google.com/p/ctex-kit/updates/list @@ -20,3 +30,20 @@ may observe Leo Liu <leoliu.pku@gmail.com> Qing Lee <sobenlee@gmail.com> +Installation +------------ +The package is supplied in dtx format and as a pre-extracted zip file, +xecjk.tds.zip. The later is most convenient for most users: simply +unzip this in your local texmf directory and run texhash to update the +database of file locations. If you want to unpack the dtx yourself, +running "xetex xeCJK.dtx" will extract the package whereas +"xelatex xeCJK.dtx" will extract it and also typeset the documentation. + +The package requires LaTeX3 support as provided in the l3kernel and +l3packages bundles and the fontspec package. All of these are available +on CTAN as ready-to-install zip files. Suitable versions are available +in the latest version of MiKTeX and TeX Live (updating the relevant +packages online may be necessary). + +To compile the documentation without error, you will need some specific +CJK scripts fonts (TrueType or OpenType). diff --git a/Master/texmf-dist/doc/xelatex/xecjk/README.txt b/Master/texmf-dist/doc/xelatex/xecjk/README.txt deleted file mode 100644 index e0f5d1182cc..00000000000 --- a/Master/texmf-dist/doc/xelatex/xecjk/README.txt +++ /dev/null @@ -1,22 +0,0 @@ - -xeCJK is a package written for XeLaTeX which allows users to typeset -CJK scripts easily. - - - different default fonts for CJK and other characters; - - spaces automatically ignored between CJK characters; - - special effects on full-width CJK punctuation; and - - automatic adjustment of the space between CJK and other characters. - -This package is licensed in LPPL. - -If you are interested in the process of development you -may observe - - http://code.google.com/p/ctex-kit/updates/list - - Author: - Wenchang Sun <sunwch@nankai.edu.cn> - Current Maintainers: - Leo Liu <leoliu.pku@gmail.com> - Qing Lee <sobenlee@gmail.com> - diff --git a/Master/texmf-dist/doc/xelatex/xecjk/example/xeCJK-example-CJKecglue.tex b/Master/texmf-dist/doc/xelatex/xecjk/example/xeCJK-example-CJKecglue.tex new file mode 100644 index 00000000000..477049325d2 --- /dev/null +++ b/Master/texmf-dist/doc/xelatex/xecjk/example/xeCJK-example-CJKecglue.tex @@ -0,0 +1,61 @@ +%% +%% This is file `xeCJK-example-CJKecglue.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% xeCJK.dtx (with options: `ex-ecglue') +%% +%% $Id: xeCJK.dtx 343 2012-05-21 05:59:17Z sobenlee $ +%% $URL: https://ctex-kit.googlecode.com/svn/trunk/xeCJK/xeCJK.dtx $ +%% ----------------------------------------------------------------- +%% Author: +%% Wenchang Sun <sunwch@nankai.edu.cn> +%% Current Maintainers: +%% Leo Liu <leoliu.pku@gmail.com> +%% Qing Lee <sobenlee@gmail.com> +%% +%% Copyright (C) 2007--2012 Wenchang Sun +%% +%% This file may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% The Current Maintainer of this work are Leo Liu and Qing Lee. +%% ----------------------------------------------------------------- +%% +\documentclass{minimal} +\usepackage{xeCJK} +\setCJKmainfont[BoldFont=SimHei]{SimSun} +\long\def\showtext{% + 这是 English 中文 {\itshape Chinese} 中文 \TeX\ + 间隔 \textit{Italic} 中文\textbf{字体} a 数学 $b$ 数学 $c$ $d$\par + 这是English中文{\itshape Chinese}中文\TeX\ + 间隔\textit{Italic}中文\textbf{字体}a数学$b$数学$c$ $d$\par +This is an example. 这是一个例子} +\begin{document} +\showtext + +\hrulefill\bigskip + +\xeCJKsetup{xCJKecglue=\quad} +\showtext +\end{document} +%% +%% This package consists of the file xeCJK.dtx +%% and the derived files xeCJK.pdf, +%% xeCJK.sty, +%% xeCJK.ins, +%% xeCJK-example-autofake.tex, +%% xeCJK-example-fallback.tex, +%% xeCJK-example-subCJKblock.tex, +%% xeCJK-example-CJKecglue.tex, +%% xeCJK-example-checksingle.tex and +%% README.txt. +%% +%% End of file `xeCJK-example-CJKecglue.tex'. diff --git a/Master/texmf-dist/doc/xelatex/xecjk/example-autofake.tex b/Master/texmf-dist/doc/xelatex/xecjk/example/xeCJK-example-autofake.tex index 818b8eb9e0f..472546bd3b1 100644 --- a/Master/texmf-dist/doc/xelatex/xecjk/example-autofake.tex +++ b/Master/texmf-dist/doc/xelatex/xecjk/example/xeCJK-example-autofake.tex @@ -1,12 +1,13 @@ %% -%% This is file `example-autofake.tex', +%% This is file `xeCJK-example-autofake.tex', %% generated with the docstrip utility. %% %% The original source files were: %% %% xeCJK.dtx (with options: `ex-autofake') %% -%% Version 3.0.5 (19-May-2012) +%% $Id: xeCJK.dtx 343 2012-05-21 05:59:17Z sobenlee $ +%% $URL: https://ctex-kit.googlecode.com/svn/trunk/xeCJK/xeCJK.dtx $ %% ----------------------------------------------------------------- %% Author: %% Wenchang Sun <sunwch@nankai.edu.cn> @@ -77,5 +78,15 @@ \end{tabular} \end{document} %% +%% This package consists of the file xeCJK.dtx +%% and the derived files xeCJK.pdf, +%% xeCJK.sty, +%% xeCJK.ins, +%% xeCJK-example-autofake.tex, +%% xeCJK-example-fallback.tex, +%% xeCJK-example-subCJKblock.tex, +%% xeCJK-example-CJKecglue.tex, +%% xeCJK-example-checksingle.tex and +%% README.txt. %% -%% End of file `example-autofake.tex'. +%% End of file `xeCJK-example-autofake.tex'. diff --git a/Master/texmf-dist/doc/xelatex/xecjk/example/xeCJK-example-checksingle.tex b/Master/texmf-dist/doc/xelatex/xecjk/example/xeCJK-example-checksingle.tex new file mode 100644 index 00000000000..d1e6be31b2c --- /dev/null +++ b/Master/texmf-dist/doc/xelatex/xecjk/example/xeCJK-example-checksingle.tex @@ -0,0 +1,67 @@ +%% +%% This is file `xeCJK-example-checksingle.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% xeCJK.dtx (with options: `ex-single') +%% +%% $Id: xeCJK.dtx 343 2012-05-21 05:59:17Z sobenlee $ +%% $URL: https://ctex-kit.googlecode.com/svn/trunk/xeCJK/xeCJK.dtx $ +%% ----------------------------------------------------------------- +%% Author: +%% Wenchang Sun <sunwch@nankai.edu.cn> +%% Current Maintainers: +%% Leo Liu <leoliu.pku@gmail.com> +%% Qing Lee <sobenlee@gmail.com> +%% +%% Copyright (C) 2007--2012 Wenchang Sun +%% +%% This file may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% The Current Maintainer of this work are Leo Liu and Qing Lee. +%% ----------------------------------------------------------------- +%% +\documentclass{minimal} +\usepackage{xeCJK} +\setCJKmainfont{SimSun} +\catcode`\。=\active +\def。{.} +\def\foo{一} +\long\def\showtext{一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十。 +$$x^2+y^2$$ +一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十\foo +\begin{equation} +x^2+y^2 +\end{equation} +一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十。} +\begin{document} +\hsize=30em +\parindent=0pt +\showtext + +\hrulefill\bigskip + +\xeCJKsetup{CheckSingle} +\showtext +\end{document} +%% +%% This package consists of the file xeCJK.dtx +%% and the derived files xeCJK.pdf, +%% xeCJK.sty, +%% xeCJK.ins, +%% xeCJK-example-autofake.tex, +%% xeCJK-example-fallback.tex, +%% xeCJK-example-subCJKblock.tex, +%% xeCJK-example-CJKecglue.tex, +%% xeCJK-example-checksingle.tex and +%% README.txt. +%% +%% End of file `xeCJK-example-checksingle.tex'. diff --git a/Master/texmf-dist/doc/xelatex/xecjk/example-fallback.tex b/Master/texmf-dist/doc/xelatex/xecjk/example/xeCJK-example-fallback.tex index cfd88fd9c64..3e612d908e1 100644 --- a/Master/texmf-dist/doc/xelatex/xecjk/example-fallback.tex +++ b/Master/texmf-dist/doc/xelatex/xecjk/example/xeCJK-example-fallback.tex @@ -1,12 +1,13 @@ %% -%% This is file `example-fallback.tex', +%% This is file `xeCJK-example-fallback.tex', %% generated with the docstrip utility. %% %% The original source files were: %% %% xeCJK.dtx (with options: `ex-fallback') %% -%% Version 3.0.5 (19-May-2012) +%% $Id: xeCJK.dtx 343 2012-05-21 05:59:17Z sobenlee $ +%% $URL: https://ctex-kit.googlecode.com/svn/trunk/xeCJK/xeCJK.dtx $ %% ----------------------------------------------------------------- %% Author: %% Wenchang Sun <sunwch@nankai.edu.cn> @@ -68,5 +69,15 @@ \end{table} \end{document} %% +%% This package consists of the file xeCJK.dtx +%% and the derived files xeCJK.pdf, +%% xeCJK.sty, +%% xeCJK.ins, +%% xeCJK-example-autofake.tex, +%% xeCJK-example-fallback.tex, +%% xeCJK-example-subCJKblock.tex, +%% xeCJK-example-CJKecglue.tex, +%% xeCJK-example-checksingle.tex and +%% README.txt. %% -%% End of file `example-fallback.tex'. +%% End of file `xeCJK-example-fallback.tex'. diff --git a/Master/texmf-dist/doc/xelatex/xecjk/example-subCJKblock.tex b/Master/texmf-dist/doc/xelatex/xecjk/example/xeCJK-example-subCJKblock.tex index df2d9f5d3c2..fb086d93b84 100644 --- a/Master/texmf-dist/doc/xelatex/xecjk/example-subCJKblock.tex +++ b/Master/texmf-dist/doc/xelatex/xecjk/example/xeCJK-example-subCJKblock.tex @@ -1,12 +1,13 @@ %% -%% This is file `example-subCJKblock.tex', +%% This is file `xeCJK-example-subCJKblock.tex', %% generated with the docstrip utility. %% %% The original source files were: %% %% xeCJK.dtx (with options: `ex-block') %% -%% Version 3.0.5 (19-May-2012) +%% $Id: xeCJK.dtx 343 2012-05-21 05:59:17Z sobenlee $ +%% $URL: https://ctex-kit.googlecode.com/svn/trunk/xeCJK/xeCJK.dtx $ %% ----------------------------------------------------------------- %% Author: %% Wenchang Sun <sunwch@nankai.edu.cn> @@ -84,5 +85,15 @@ CJK統合漢字(シージェーケーとうごうかんじ、CJK Unified Ideog \end{table} \end{document} %% +%% This package consists of the file xeCJK.dtx +%% and the derived files xeCJK.pdf, +%% xeCJK.sty, +%% xeCJK.ins, +%% xeCJK-example-autofake.tex, +%% xeCJK-example-fallback.tex, +%% xeCJK-example-subCJKblock.tex, +%% xeCJK-example-CJKecglue.tex, +%% xeCJK-example-checksingle.tex and +%% README.txt. %% -%% End of file `example-subCJKblock.tex'. +%% End of file `xeCJK-example-subCJKblock.tex'. diff --git a/Master/texmf-dist/doc/xelatex/xecjk/xeCJK.cmds b/Master/texmf-dist/doc/xelatex/xecjk/xeCJK.cmds deleted file mode 100644 index e69de29bb2d..00000000000 --- a/Master/texmf-dist/doc/xelatex/xecjk/xeCJK.cmds +++ /dev/null diff --git a/Master/texmf-dist/doc/xelatex/xecjk/xeCJK.pdf b/Master/texmf-dist/doc/xelatex/xecjk/xeCJK.pdf Binary files differindex a61f3f51bff..935d6460b9a 100644 --- a/Master/texmf-dist/doc/xelatex/xecjk/xeCJK.pdf +++ b/Master/texmf-dist/doc/xelatex/xecjk/xeCJK.pdf |