From cdbf5b2c845ca6b373fff9043f2e00b14807950a Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Sun, 25 Sep 2016 21:05:03 +0000
Subject: ctex

git-svn-id: svn://tug.org/texlive/trunk@42148 c570f23f-e606-0410-a88d-b1316a301751
---
 .../tex/latex/ctex/scheme/ctex-scheme-chinese-book.def        | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-chinese-book.def')

diff --git a/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-chinese-book.def b/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-chinese-book.def
index 1973416383b..c180029d209 100644
--- a/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-chinese-book.def
+++ b/Master/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-chinese-book.def
@@ -26,10 +26,10 @@
 %% 
 %% ------------------------------------------------------------------------------
 %% 
-\GetIdInfo$Id: ctex.dtx e653f84 2016-08-27 11:05:06 +0800 Qing Lee <sobenlee@gmail.com> $
+\GetIdInfo$Id: ctex.dtx b7f83de 2016-09-21 21:27:31 +0800 Qing Lee <sobenlee@gmail.com> $
   {Chinese scheme for book (CTEX)}
 \ProvidesExplFile{ctex-scheme-chinese-book.def}
-  {\ExplFileDate}{2.4.3}{\ExplFileDescription}
+  {\ExplFileDate}{2.4.4}{\ExplFileDescription}
 \keys_set:nn { ctex / part }
   {
     aftertitle  = \par ,
@@ -38,6 +38,7 @@
     beforeskip  = 0pt \@plus 1fil ,
     afterskip   = 0pt \@plus 1fil ,
     pagestyle   = plain ,
+    break       = \if@openright \cleardoublepage \else \clearpage \fi ,
     format      = \huge \bfseries \centering
   }
 \keys_set:nn { ctex / chapter }
@@ -46,6 +47,7 @@
     aftertitle  = \par ,
     beforeskip  = 50 \p@ ,
     afterskip   = 40 \p@ ,
+    break       = \if@openright \cleardoublepage \else \clearpage \fi ,
     number      = \chinese { chapter } ,
     format      = \huge \bfseries \centering ,
     aftername   = \quad ,
@@ -59,6 +61,7 @@
     beforeskip  = 3.5ex \@plus 1ex \@minus .2ex ,
     afterskip   = 2.3ex \@plus .2ex ,
     runin       = false ,
+    break       = \addpenalty \@secpenalty ,
     format      = \Large \bfseries \centering ,
     afterindent = true
   }
@@ -71,6 +74,7 @@
     beforeskip  = 3.25ex \@plus 1ex \@minus .2ex ,
     afterskip   = 1.5ex  \@plus .2ex ,
     runin       = false ,
+    break       = \addpenalty \@secpenalty ,
     afterindent = true
   }
 \keys_set:nn { ctex / subsubsection }
@@ -82,6 +86,7 @@
     beforeskip  = 3.25ex \@plus 1ex \@minus .2ex ,
     afterskip   = 1.5ex \@plus .2ex ,
     runin       = false ,
+    break       = \addpenalty \@secpenalty ,
     afterindent = true
   }
 \keys_set:nn { ctex / paragraph }
@@ -90,6 +95,7 @@
     format      = \normalsize \bfseries ,
     aftername   = \quad ,
     beforeskip  = 3.25ex \@plus 1ex \@minus .2ex ,
+    break       = \addpenalty \@secpenalty ,
     afterindent = true
   }
 \keys_set:nn { ctex / subparagraph }
@@ -98,6 +104,7 @@
     format      = \normalsize \bfseries ,
     aftername   = \quad ,
     beforeskip  = 3.25ex \@plus 1ex \@minus .2ex ,
+    break       = \addpenalty \@secpenalty ,
     afterindent = true
   }
 \int_compare:nNnTF \g__ctex_section_depth_flag > \c_two
-- 
cgit v1.2.3

