From d3ca92dc94742e57f13d443db5cbafa4367799c0 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Mon, 2 Jan 2017 23:52:32 +0000
Subject: ctex (27dec16)

git-svn-id: svn://tug.org/texlive/trunk@42847 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/ctex/ctexbeamer.cls | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/ctex/ctexbeamer.cls')

diff --git a/Master/texmf-dist/tex/latex/ctex/ctexbeamer.cls b/Master/texmf-dist/tex/latex/ctex/ctexbeamer.cls
index ebe5161e4f0..9c8d3154cec 100644
--- a/Master/texmf-dist/tex/latex/ctex/ctexbeamer.cls
+++ b/Master/texmf-dist/tex/latex/ctex/ctexbeamer.cls
@@ -28,10 +28,10 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}
 \RequirePackage{expl3}
-\GetIdInfo$Id: ctex.dtx 88a59e5 2016-11-22 17:09:10 +0800 Qing Lee <sobenlee@gmail.com> $
+\GetIdInfo$Id: ctex.dtx 6471e87 2016-12-27 17:33:18 +0800 Qing Lee <sobenlee@gmail.com> $
   {Chinese adapter for class beamer (CTEX)}
 \ProvidesExplClass{ctexbeamer}
-  {\ExplFileDate}{2.4.6}{\ExplFileDescription}
+  {\ExplFileDate}{2.4.7}{\ExplFileDescription}
 \tl_const:Nx \c__ctex_version_tl
   { \cs_if_exist_use:cF { ver@ \@currname . \@currext } { 9999/99/99 } }
 \cs_new_eq:cN { ver@ctex.        \@pkgextension } \c__ctex_version_tl
@@ -367,6 +367,16 @@
 \tl_const:Nn \c__ctex_class_tl { beamer }
 \PassOptionsToClass { \g__ctex_std_options_clist } { beamer }
 \LoadClass { beamer }
+\@ifpackageloaded { hyperref }
+  {
+    \cs_new_protected_nopar:Npn \ctex_hypersetup:n #1
+      { \hypersetup {#1} }
+  }
+  {
+    \cs_new_protected_nopar:Npn \ctex_hypersetup:n #1
+      { \PassOptionsToPackage {#1} { hyperref } }
+  }
+\ctex_file_input:n { \c__ctex_engine_file_str }
 \NewDocumentCommand \ctexset { } { \keys_set:nn { ctex } }
 \NewDocumentCommand \CTEXsetup { +o > { \TrimSpaces } m }
   {
@@ -380,16 +390,6 @@
       { \ctexset~ {~ #1~ }~ is~ set. }
     \IfNoValueF {#1} { \keys_set:nn { ctex } {#1} }
   }
-\@ifpackageloaded { hyperref }
-  {
-    \cs_new_protected_nopar:Npn \ctex_hypersetup:n #1
-      { \hypersetup {#1} }
-  }
-  {
-    \cs_new_protected_nopar:Npn \ctex_hypersetup:n #1
-      { \PassOptionsToPackage {#1} { hyperref } }
-  }
-\ctex_file_input:n { \c__ctex_engine_file_str }
 \keys_define:nn { ctex }
   {
     autoindent .choice: ,
-- 
cgit v1.2.3

