From 1ffd29c330984928904e5f95a4033d334fba974b Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Sat, 14 May 2016 22:03:09 +0000
Subject: ctex (14may16)

git-svn-id: svn://tug.org/texlive/trunk@41120 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/ctex/ctex-beamer.def | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/ctex/ctex-beamer.def')

diff --git a/Master/texmf-dist/tex/latex/ctex/ctex-beamer.def b/Master/texmf-dist/tex/latex/ctex/ctex-beamer.def
index c672d635ad3..30b4977388d 100644
--- a/Master/texmf-dist/tex/latex/ctex/ctex-beamer.def
+++ b/Master/texmf-dist/tex/latex/ctex/ctex-beamer.def
@@ -26,10 +26,10 @@
 %% 
 %% ------------------------------------------------------------------------------
 %% 
-\GetIdInfo$Id: ctex.dtx 1fcc459 2016-04-25 13:35:13 +0800 Liu Haiyang <leoliu.pku@gmail.com> $
+\GetIdInfo$Id: ctex.dtx f745b21 2016-05-14 12:17:18 +0800 Qing Lee <sobenlee@gmail.com> $
   {Heading modification for beamer (CTEX)}
 \ProvidesExplFile{ctex-beamer.def}
-  {\ExplFileDate}{2.4}{\ExplFileDescription}
+  {\ExplFileDate}{2.4.1}{\ExplFileDescription}
 \seq_new:N \c__ctex_headings_seq
 \seq_gset_from_clist:Nn \c__ctex_headings_seq
   { part , section , subsection }
@@ -112,13 +112,18 @@
       { \tl_clear:c { CTEX@post#1 } }
       { \tl_set:cn { CTEX@post#1 } {#3} }
   }
+\group_begin:
+\tl_clear:N \l__ctex_tmp_tl
 \seq_map_inline:Nn \c__ctex_headings_seq
   {
     \__ctex_initial_heading:n {#1}
     \__ctex_def_heading_keys:n {#1}
   }
-\use:x { \keys_define:nn { ctex } { \exp_not:o { \l__ctex_tmp_tl } } }
-\tl_clear:N \l__ctex_tmp_tl
+\use:x
+  {
+    \group_end:
+    \keys_define:nn { ctex } { \exp_not:o { \l__ctex_tmp_tl } }
+  }
 \ExplSyntaxOff
 \defbeamertemplate*{part page}{CTEX}[1][]{
   \begingroup
-- 
cgit v1.2.3

