diff options
author | Karl Berry <karl@freefriends.org> | 2010-09-10 22:52:17 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-09-10 22:52:17 +0000 |
commit | d645f21775a095cea63b16fb33718904f2d12f81 (patch) | |
tree | 663e371e4cb621b61d3e9db865d470204906432a /Master/texmf-dist/tex/latex/ctex/def | |
parent | 243b2ad3109380c958cb4869ef9da316d4b1b363 (diff) |
ctex 0.99b (10sep10)
git-svn-id: svn://tug.org/texlive/trunk@19645 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/ctex/def')
-rw-r--r-- | Master/texmf-dist/tex/latex/ctex/def/ctex-common.def | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/ctex/def/ctex-common.def b/Master/texmf-dist/tex/latex/ctex/def/ctex-common.def index 9d230ed038d..88b0e26378d 100644 --- a/Master/texmf-dist/tex/latex/ctex/def/ctex-common.def +++ b/Master/texmf-dist/tex/latex/ctex/def/ctex-common.def @@ -7,11 +7,14 @@ % Load some extra packages +\IfFileExists{expl3.sty}{% + \RequirePackage{expl3}}{} + \RequirePackage{ifpdf} \RequirePackage{ifxetex} \ifxetex - \CTEX@GBKfalse % XeTeX always use UTF-8 as default encoding + \CTEX@GBKfalse % XeTeX always uses UTF-8 as default encoding \fi \RequirePackage{keyval}[1999/03/16] @@ -359,6 +362,7 @@ \makeatother} \def\chinese#1{% \@ifundefined{cc@#1}{\CTEX@null}{\csname cc@#1\endcsname}} +\def\Chinese#1{\CTEXcounter{#1}\chinese{#1}} % About caption |