From b44db3e61b8cbfbeec75722d6cfd8d27fdeff999 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 21 Jul 2009 13:04:46 +0000 Subject: ctex 0.93 (20jul09) git-svn-id: svn://tug.org/texlive/trunk@14361 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/ctex/back/ctexartutf8.cls | 2 +- Master/texmf-dist/tex/latex/ctex/back/ctexbookutf8.cls | 2 +- Master/texmf-dist/tex/latex/ctex/back/ctexcaputf8.sty | 2 +- Master/texmf-dist/tex/latex/ctex/back/ctexreputf8.cls | 2 +- Master/texmf-dist/tex/latex/ctex/back/ctexutf8.sty | 2 +- Master/texmf-dist/tex/latex/ctex/ctex.sty | 2 +- Master/texmf-dist/tex/latex/ctex/ctexart.cls | 2 +- Master/texmf-dist/tex/latex/ctex/ctexbook.cls | 2 +- Master/texmf-dist/tex/latex/ctex/ctexcap.sty | 2 +- Master/texmf-dist/tex/latex/ctex/ctexrep.cls | 2 +- Master/texmf-dist/tex/latex/ctex/def/ctex-common.def | 13 +++++++++++++ Master/texmf-dist/tex/latex/ctex/opt/ctex-common-opts.def | 3 +++ 12 files changed, 26 insertions(+), 10 deletions(-) (limited to 'Master/texmf-dist/tex/latex/ctex') diff --git a/Master/texmf-dist/tex/latex/ctex/back/ctexartutf8.cls b/Master/texmf-dist/tex/latex/ctex/back/ctexartutf8.cls index 7e703145921..cf6eeab5849 100644 --- a/Master/texmf-dist/tex/latex/ctex/back/ctexartutf8.cls +++ b/Master/texmf-dist/tex/latex/ctex/back/ctexartutf8.cls @@ -2,7 +2,7 @@ \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesClass{ctexartutf8} - [2009/06/26 v0.92 ctexartutf8 + [2009/07/10 v0.93 ctexartutf8 document class] \DeclareOption*{\PassOptionsToClass{\CurrentOption}{ctexart}} diff --git a/Master/texmf-dist/tex/latex/ctex/back/ctexbookutf8.cls b/Master/texmf-dist/tex/latex/ctex/back/ctexbookutf8.cls index c28b202fb9c..cbf5ffb4cda 100644 --- a/Master/texmf-dist/tex/latex/ctex/back/ctexbookutf8.cls +++ b/Master/texmf-dist/tex/latex/ctex/back/ctexbookutf8.cls @@ -2,7 +2,7 @@ \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesClass{ctexbookutf8} - [2009/06/26 v0.92 ctexbookutf8 + [2009/07/10 v0.93 ctexbookutf8 document class] \DeclareOption*{\PassOptionsToClass{\CurrentOption}{ctexbook}} diff --git a/Master/texmf-dist/tex/latex/ctex/back/ctexcaputf8.sty b/Master/texmf-dist/tex/latex/ctex/back/ctexcaputf8.sty index 7ee25a73335..d170ef74114 100644 --- a/Master/texmf-dist/tex/latex/ctex/back/ctexcaputf8.sty +++ b/Master/texmf-dist/tex/latex/ctex/back/ctexcaputf8.sty @@ -2,7 +2,7 @@ \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesPackage{ctexcaputf8} - [2009/06/26 v0.92 ctexcaputf8 + [2009/07/10 v0.93 ctexcaputf8 macros package] \DeclareOption*{\PassOptionsToPackage{\CurrentOption}{ctexcap}} diff --git a/Master/texmf-dist/tex/latex/ctex/back/ctexreputf8.cls b/Master/texmf-dist/tex/latex/ctex/back/ctexreputf8.cls index 8c4d01aad11..1668248b377 100644 --- a/Master/texmf-dist/tex/latex/ctex/back/ctexreputf8.cls +++ b/Master/texmf-dist/tex/latex/ctex/back/ctexreputf8.cls @@ -2,7 +2,7 @@ \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesClass{ctexreputf8} - [2009/06/26 v0.92 ctexreputf8 + [2009/07/10 v0.93 ctexreputf8 document class] \DeclareOption*{\PassOptionsToClass{\CurrentOption}{ctexrep}} diff --git a/Master/texmf-dist/tex/latex/ctex/back/ctexutf8.sty b/Master/texmf-dist/tex/latex/ctex/back/ctexutf8.sty index 7dbbe9a42a9..ac7a5466085 100644 --- a/Master/texmf-dist/tex/latex/ctex/back/ctexutf8.sty +++ b/Master/texmf-dist/tex/latex/ctex/back/ctexutf8.sty @@ -2,7 +2,7 @@ \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesPackage{ctexutf8} - [2009/06/26 v0.92 ctexutf8 + [2009/07/10 v0.93 ctexutf8 macros package] \DeclareOption*{\PassOptionsToPackage{\CurrentOption}{ctex}} diff --git a/Master/texmf-dist/tex/latex/ctex/ctex.sty b/Master/texmf-dist/tex/latex/ctex/ctex.sty index 6b3fa1bd34c..f52b0114dfb 100644 --- a/Master/texmf-dist/tex/latex/ctex/ctex.sty +++ b/Master/texmf-dist/tex/latex/ctex/ctex.sty @@ -2,7 +2,7 @@ \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesPackage{ctex} - [2009/06/26 v0.92 ctex + [2009/07/10 v0.93 ctex macros package] \input{ctex-common-opts.def} diff --git a/Master/texmf-dist/tex/latex/ctex/ctexart.cls b/Master/texmf-dist/tex/latex/ctex/ctexart.cls index d0db7cf44a0..4709eabbfd7 100644 --- a/Master/texmf-dist/tex/latex/ctex/ctexart.cls +++ b/Master/texmf-dist/tex/latex/ctex/ctexart.cls @@ -2,7 +2,7 @@ \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesClass{ctexart} - [2009/06/26 v0.92 ctexart + [2009/07/10 v0.93 ctexart document class] \def\CTEX@classtoload{article} diff --git a/Master/texmf-dist/tex/latex/ctex/ctexbook.cls b/Master/texmf-dist/tex/latex/ctex/ctexbook.cls index 4c2f5fadb6b..50e103dd09c 100644 --- a/Master/texmf-dist/tex/latex/ctex/ctexbook.cls +++ b/Master/texmf-dist/tex/latex/ctex/ctexbook.cls @@ -2,7 +2,7 @@ \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesClass{ctexbook} - [2009/06/26 v0.92 ctexbook + [2009/07/10 v0.93 ctexbook document class] \def\CTEX@classtoload{book} diff --git a/Master/texmf-dist/tex/latex/ctex/ctexcap.sty b/Master/texmf-dist/tex/latex/ctex/ctexcap.sty index 8ace4ce4137..c0390a99b3b 100644 --- a/Master/texmf-dist/tex/latex/ctex/ctexcap.sty +++ b/Master/texmf-dist/tex/latex/ctex/ctexcap.sty @@ -2,7 +2,7 @@ \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesPackage{ctexcap} - [2009/06/26 v0.92 ctexcap + [2009/07/10 v0.93 ctexcap macros package] \input{ctex-common-opts.def} diff --git a/Master/texmf-dist/tex/latex/ctex/ctexrep.cls b/Master/texmf-dist/tex/latex/ctex/ctexrep.cls index 92994593374..8454a60c77e 100644 --- a/Master/texmf-dist/tex/latex/ctex/ctexrep.cls +++ b/Master/texmf-dist/tex/latex/ctex/ctexrep.cls @@ -2,7 +2,7 @@ \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesClass{ctexrep} - [2009/06/26 v0.92 ctexrep + [2009/07/10 v0.93 ctexrep document class] \def\CTEX@classtoload{report} 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 d6d32eac64f..b1222db0e74 100644 --- a/Master/texmf-dist/tex/latex/ctex/def/ctex-common.def +++ b/Master/texmf-dist/tex/latex/ctex/def/ctex-common.def @@ -7,6 +7,7 @@ % Load some extra packages +\RequirePackage{ifpdf} \RequirePackage{ifxetex} \RequirePackage{keyval}[1999/03/16] \ifCTEX@indent @@ -16,6 +17,18 @@ \ifCTEX@fancyhdr \RequirePackage{fancyhdr} \fi +\ifCTEX@hyperref + \ifxetex\else + \ifpdf\else + \AtBeginDvi{\special{pdf:tounicode GBK-EUC-UCS2}} + \fi + \fi + \ifCTEX@GBK + \RequirePackage[CJKbookmarks]{hyperref} + \else + \RequirePackage[unicode]{hyperref} + \fi +\fi % Useful definitions diff --git a/Master/texmf-dist/tex/latex/ctex/opt/ctex-common-opts.def b/Master/texmf-dist/tex/latex/ctex/opt/ctex-common-opts.def index c9ef2d9d1d2..19612418d52 100644 --- a/Master/texmf-dist/tex/latex/ctex/opt/ctex-common-opts.def +++ b/Master/texmf-dist/tex/latex/ctex/opt/ctex-common-opts.def @@ -56,4 +56,7 @@ \newif\ifCTEX@fntef \CTEX@fnteffalse \DeclareOption{fntef}{\CTEX@fnteftrue} +\newif\ifCTEX@hyperref \CTEX@hyperreffalse +\DeclareOption{hyperref}{\CTEX@hyperreftrue} + \endinput -- cgit v1.2.3