summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-05-18 21:51:35 +0000
committerKarl Berry <karl@freefriends.org>2014-05-18 21:51:35 +0000
commitd64820a42321d65868c63bd49e657b88c58967bb (patch)
treeba840eb7c9cccac58db4b5c02b33b9e789bf95c2 /Master/texmf-dist/tex
parent7e0c2c8912e1320987eca26917ad163b3405cba2 (diff)
xecjk (18may14)
git-svn-id: svn://tug.org/texlive/trunk@34111 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/xelatex/xecjk/config/xeCJK.cfg4
-rw-r--r--Master/texmf-dist/tex/xelatex/xecjk/xeCJK-listings.sty6
-rw-r--r--Master/texmf-dist/tex/xelatex/xecjk/xeCJK.sty53
-rw-r--r--Master/texmf-dist/tex/xelatex/xecjk/xeCJKfntef.sty6
-rw-r--r--Master/texmf-dist/tex/xelatex/xecjk/xunicode-addon.sty6
-rw-r--r--Master/texmf-dist/tex/xelatex/xecjk/xunicode-extra.def6
6 files changed, 45 insertions, 36 deletions
diff --git a/Master/texmf-dist/tex/xelatex/xecjk/config/xeCJK.cfg b/Master/texmf-dist/tex/xelatex/xecjk/config/xeCJK.cfg
index fa687609118..9d5694fbcd1 100644
--- a/Master/texmf-dist/tex/xelatex/xecjk/config/xeCJK.cfg
+++ b/Master/texmf-dist/tex/xelatex/xecjk/config/xeCJK.cfg
@@ -6,11 +6,11 @@
%%
%% xeCJK.dtx (with options: `config')
%%
-\GetIdInfo$Id: xeCJK.dtx 644 2014-04-29 09:45:49Z sobenlee $
+\GetIdInfo$Id: xeCJK.dtx 656 2014-05-13 03:14:47Z sobenlee $
{Configuration file for xeCJK package}
\ProvidesExplFile
{\ExplFileName.cfg}
- {\ExplFileDate}{3.2.11}{\ExplFileDescription}
+ {\ExplFileDate}{3.2.12}{\ExplFileDescription}
%%
%%
diff --git a/Master/texmf-dist/tex/xelatex/xecjk/xeCJK-listings.sty b/Master/texmf-dist/tex/xelatex/xecjk/xeCJK-listings.sty
index b8b0f238be6..cad910e1d34 100644
--- a/Master/texmf-dist/tex/xelatex/xecjk/xeCJK-listings.sty
+++ b/Master/texmf-dist/tex/xelatex/xecjk/xeCJK-listings.sty
@@ -6,7 +6,7 @@
%%
%% xeCJK.dtx (with options: `listings')
%%
-%% $Id: xeCJK.dtx 644 2014-04-29 09:45:49Z sobenlee $
+%% $Id: xeCJK.dtx 656 2014-05-13 03:14:47Z sobenlee $
%% $URL: https://ctex-kit.googlecode.com/svn/trunk/xeCJK/xeCJK.dtx $
%% -----------------------------------------------------------------
%% Author:
@@ -33,11 +33,11 @@
%%
\NeedsTeXFormat{LaTeX2e}
\RequirePackage{expl3}
-\GetIdInfo$Id: xeCJK.dtx 644 2014-04-29 09:45:49Z sobenlee $
+\GetIdInfo$Id: xeCJK.dtx 656 2014-05-13 03:14:47Z sobenlee $
{xeCJK patch file for listings}
\ProvidesExplPackage
{xeCJK-listings}
- {\ExplFileDate}{3.2.11}{\ExplFileDescription}
+ {\ExplFileDate}{3.2.12}{\ExplFileDescription}
\DeclareOption* { \PassOptionsToPackage { \CurrentOption } { xeCJK } }
\ProcessOptions \scan_stop:
\RequirePackage { xeCJK }
diff --git a/Master/texmf-dist/tex/xelatex/xecjk/xeCJK.sty b/Master/texmf-dist/tex/xelatex/xecjk/xeCJK.sty
index da0bef436b0..94c9dca1f0e 100644
--- a/Master/texmf-dist/tex/xelatex/xecjk/xeCJK.sty
+++ b/Master/texmf-dist/tex/xelatex/xecjk/xeCJK.sty
@@ -6,7 +6,7 @@
%%
%% xeCJK.dtx (with options: `package')
%%
-%% $Id: xeCJK.dtx 644 2014-04-29 09:45:49Z sobenlee $
+%% $Id: xeCJK.dtx 656 2014-05-13 03:14:47Z sobenlee $
%% $URL: https://ctex-kit.googlecode.com/svn/trunk/xeCJK/xeCJK.dtx $
%% -----------------------------------------------------------------
%% Author:
@@ -33,11 +33,11 @@
%%
\NeedsTeXFormat{LaTeX2e}
\RequirePackage{expl3}
-\GetIdInfo$Id: xeCJK.dtx 644 2014-04-29 09:45:49Z sobenlee $
+\GetIdInfo$Id: xeCJK.dtx 656 2014-05-13 03:14:47Z sobenlee $
{Typesetting CJK scripts with XeLaTeX}
\ProvidesExplPackage
{\ExplFileName}
- {\ExplFileDate}{3.2.11}{\ExplFileDescription}
+ {\ExplFileDate}{3.2.12}{\ExplFileDescription}
\msg_new:nnn { xeCJK } { Require-XeTeX }
{
The~xeCJK~package~requires~XeTeX~to~function.\\\\
@@ -46,6 +46,16 @@
Loading~xeCJK~will~abort!
}
\xetex_if_engine:F { \msg_critical:nn { xeCJK } { Require-XeTeX } }
+\msg_new:nnn { xeCJK } { l3-too-old }
+ {
+ Support~package~`#1'~too~old. \\\\
+ Please~update~an~up~to~date~version~of~the~bundles\\\\
+ `l3kernel'~and~`l3packages'\\\\
+ using~your~TeX~package~manager~or~from~CTAN.\\
+ \str_if_eq:nnT {#1} { expl3 } { Loading~xeCJK~will~abort! }
+ }
+\@ifpackagelater { expl3 } { 2014/05/06 } { }
+ { \msg_critical:nnn { xeCJK } { l3-too-old } { expl3 } }
\prg_new_conditional:Npnn \xeCJK_if_package_loaded:n #1 { p , T , F , TF }
{
\tl_if_exist:cTF { ver@ #1 . \c__xeCJK_package_ext_tl }
@@ -73,16 +83,6 @@
{ \msg_error:nnn { xeCJK } { incompatible-package } {#1} }
{ \tl_const:cn { ver@ #1 . \c__xeCJK_package_ext_tl } { 9999/99/99 } }
}
-\msg_new:nnn { xeCJK } { l3-too-old }
- {
- Support~package~`#1'~too~old. \\\\
- Please~update~an~up~to~date~version~of~the~bundles\\\\
- `l3kernel'~and~`l3packages'\\\\
- using~your~TeX~package~manager~or~from~CTAN.\\
- \str_if_eq:nnT {#1} { expl3 } { Loading~xeCJK~will~abort! }
- }
-\@ifpackagelater { expl3 } { 2014/01/01 } { }
- { \msg_critical:nnn { xeCJK } { l3-too-old } { expl3 } }
\RequirePackage { xtemplate }
\@ifpackagelater { xtemplate } { 2012/11/10 } { }
{ \msg_error:nnn { xeCJK } { l3-too-old } { xtemplate } }
@@ -978,15 +978,17 @@
\cs_new_protected_nopar:Npn \__xeCJK_punct_kern:n #1
{ \tex_kern:D #1 \exp_stop_f: }
\cs_new_protected_nopar:Npn \__xeCJK_punct_glue:NN #1#2
+ { \__xeCJK_punct_hskip:n { \__xeCJK_punct_skip:nn {#1} {#2} } }
+\cs_new_eq:NN \__xeCJK_punct_hskip:n \skip_horizontal:n
+\cs_new_protected_nopar:Npn \__xeCJK_punct_rigid_skip:nn #1#2
+ { \__xeCJK_use_punct_dim:nnn { glue } {#1} {#2} }
+\cs_new_protected_nopar:Npn \__xeCJK_punct_rubber_skip:nn #1#2
{
- \__xeCJK_punct_hskip:n
- {
- \__xeCJK_use_punct_dim:nnn { glue } {#1} {#2}
- plus \__xeCJK_use_punct_dim:nnn { plus } {#1} {#2}
- minus \__xeCJK_use_punct_dim:nnn { minus } {#1} {#2}
- }
+ \__xeCJK_use_punct_dim:nnn { glue } {#1} {#2}
+ plus \__xeCJK_use_punct_dim:nnn { plus } {#1} {#2}
+ minus \__xeCJK_use_punct_dim:nnn { minus } {#1} {#2}
}
-\cs_new_eq:NN \__xeCJK_punct_hskip:n \skip_horizontal:n
+\cs_new_eq:NN \__xeCJK_punct_skip:nn \__xeCJK_punct_rubber_skip:nn
\cs_new_protected_nopar:Npn \__xeCJK_punct_kern:NN #1#2
{ \tex_kern:D \__xeCJK_use_punct_dim:nnn { kern } {#1} {#2} \exp_stop_f: }
\tl_new:N \g__xeCJK_last_punct_tl
@@ -1644,7 +1646,13 @@
PunctWidth .tl_gset:N = \g__xeCJK_punct_width_tl ,
PunctBoundWidth .tl_gset:N = \g__xeCJK_punct_bound_width_tl ,
PunctWidth .value_required: ,
- PunctBoundWidth .value_required:
+ PunctBoundWidth .value_required: ,
+ RubberPunctSkip .choice: ,
+ RubberPunctSkip .default:n = { true } ,
+ RubberPunctSkip / true .code:n =
+ { \cs_set_eq:NN \__xeCJK_punct_skip:nn \__xeCJK_punct_rubber_skip:nn } ,
+ RubberPunctSkip / false .code:n =
+ { \cs_set_eq:NN \__xeCJK_punct_skip:nn \__xeCJK_punct_rigid_skip:nn }
}
\bool_new:N \l__xeCJK_punct_breakable_bool
\clist_new:N \g__xeCJK_special_punct_clist
@@ -2279,7 +2287,7 @@
{
\__xeCJK_warning:nxxx { missing-glyph }
{ \l_xeCJK_family_tl } {#1}
- { \int_to_hexadecimal:n { `#1 } }
+ { \int_to_Hex:n { `#1 } }
\__xeCJK_fallback_save_CJKsymbol:N {#1}
}
{
@@ -3417,6 +3425,7 @@
xeCJKactive = true ,
LocalConfig = true ,
LoadFandol = true ,
+ RubberPunctSkip = true ,
Verb = env ,
EmboldenFactor = 4 ,
SlantFactor = 0.167 ,
diff --git a/Master/texmf-dist/tex/xelatex/xecjk/xeCJKfntef.sty b/Master/texmf-dist/tex/xelatex/xecjk/xeCJKfntef.sty
index 3ff1e97b1ec..b6640d68056 100644
--- a/Master/texmf-dist/tex/xelatex/xecjk/xeCJKfntef.sty
+++ b/Master/texmf-dist/tex/xelatex/xecjk/xeCJKfntef.sty
@@ -6,7 +6,7 @@
%%
%% xeCJK.dtx (with options: `fntef')
%%
-%% $Id: xeCJK.dtx 644 2014-04-29 09:45:49Z sobenlee $
+%% $Id: xeCJK.dtx 656 2014-05-13 03:14:47Z sobenlee $
%% $URL: https://ctex-kit.googlecode.com/svn/trunk/xeCJK/xeCJK.dtx $
%% -----------------------------------------------------------------
%% Author:
@@ -33,11 +33,11 @@
%%
\NeedsTeXFormat{LaTeX2e}
\RequirePackage{expl3}
-\GetIdInfo$Id: xeCJK.dtx 644 2014-04-29 09:45:49Z sobenlee $
+\GetIdInfo$Id: xeCJK.dtx 656 2014-05-13 03:14:47Z sobenlee $
{xeCJK patch file for ulem/CJKfntef}
\ProvidesExplPackage
{xeCJKfntef}
- {\ExplFileDate}{3.2.11}{\ExplFileDescription}
+ {\ExplFileDate}{3.2.12}{\ExplFileDescription}
\PassOptionsToPackage { normalem } { ulem }
\DeclareOption* { \PassOptionsToPackage { \CurrentOption } { ulem } }
\ProcessOptions \scan_stop:
diff --git a/Master/texmf-dist/tex/xelatex/xecjk/xunicode-addon.sty b/Master/texmf-dist/tex/xelatex/xecjk/xunicode-addon.sty
index d814ec5465b..c143e96b376 100644
--- a/Master/texmf-dist/tex/xelatex/xecjk/xunicode-addon.sty
+++ b/Master/texmf-dist/tex/xelatex/xecjk/xunicode-addon.sty
@@ -6,7 +6,7 @@
%%
%% xeCJK.dtx (with options: `xunicode')
%%
-%% $Id: xeCJK.dtx 644 2014-04-29 09:45:49Z sobenlee $
+%% $Id: xeCJK.dtx 656 2014-05-13 03:14:47Z sobenlee $
%% $URL: https://ctex-kit.googlecode.com/svn/trunk/xeCJK/xeCJK.dtx $
%% -----------------------------------------------------------------
%% Author:
@@ -33,11 +33,11 @@
%%
\NeedsTeXFormat{LaTeX2e}
\RequirePackage{expl3}
-\GetIdInfo$Id: xeCJK.dtx 644 2014-04-29 09:45:49Z sobenlee $
+\GetIdInfo$Id: xeCJK.dtx 656 2014-05-13 03:14:47Z sobenlee $
{addon file for xunicode}
\ProvidesExplPackage
{xunicode-addon}
- {\ExplFileDate}{3.2.11}{\ExplFileDescription}
+ {\ExplFileDate}{3.2.12}{\ExplFileDescription}
\pdftex_if_engine:T
{
\msg_new:nnnn { xunicode-addon } { cannot-use-pdftex }
diff --git a/Master/texmf-dist/tex/xelatex/xecjk/xunicode-extra.def b/Master/texmf-dist/tex/xelatex/xecjk/xunicode-extra.def
index d683be3750f..17ec36a3b0f 100644
--- a/Master/texmf-dist/tex/xelatex/xecjk/xunicode-extra.def
+++ b/Master/texmf-dist/tex/xelatex/xecjk/xunicode-extra.def
@@ -6,7 +6,7 @@
%%
%% xeCJK.dtx (with options: `xunextra')
%%
-%% $Id: xeCJK.dtx 644 2014-04-29 09:45:49Z sobenlee $
+%% $Id: xeCJK.dtx 656 2014-05-13 03:14:47Z sobenlee $
%% $URL: https://ctex-kit.googlecode.com/svn/trunk/xeCJK/xeCJK.dtx $
%% -----------------------------------------------------------------
%% Author:
@@ -31,11 +31,11 @@
%% The Current Maintainer of this work are Leo Liu and Qing Lee.
%% -----------------------------------------------------------------
%%
-\GetIdInfo$Id: xeCJK.dtx 644 2014-04-29 09:45:49Z sobenlee $
+\GetIdInfo$Id: xeCJK.dtx 656 2014-05-13 03:14:47Z sobenlee $
{extra definition for xunicode}
\ProvidesExplFile
{xunicode-extra.def}
- {\ExplFileDate}{3.2.11}{\ExplFileDescription}
+ {\ExplFileDate}{3.2.12}{\ExplFileDescription}
\ExplSyntaxOff
\DeclareUTFComposite\textsuperscript
\DeclareUTFComposite\textsubscript