From e5426152174c6cfb1e1de5b5565753038bd8d5b0 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Fri, 18 Mar 2022 21:00:55 +0000
Subject: easybook (18mar22)

git-svn-id: svn://tug.org/texlive/trunk@62784 c570f23f-e606-0410-a88d-b1316a301751
---
 .../texmf-dist/source/latex/easybook/easybook.dtx  | 24 ++++++++++++----------
 1 file changed, 13 insertions(+), 11 deletions(-)

(limited to 'Master/texmf-dist/source/latex/easybook/easybook.dtx')

diff --git a/Master/texmf-dist/source/latex/easybook/easybook.dtx b/Master/texmf-dist/source/latex/easybook/easybook.dtx
index 023419294b7..bae091e2c18 100644
--- a/Master/texmf-dist/source/latex/easybook/easybook.dtx
+++ b/Master/texmf-dist/source/latex/easybook/easybook.dtx
@@ -15,7 +15,7 @@
 %<*class>
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
 \RequirePackage{l3keys2e}
-\ProvidesExplClass{easybook}{2022/03/13}{1.648}
+\ProvidesExplClass{easybook}{2022/03/18}{1.65}
   {Easily typesetting Chinese theses or books}
 
 \bool_set_false:N \l__eb_compile_draft_bool
@@ -303,7 +303,7 @@
 %<*package>
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
 \RequirePackage{l3keys2e,etoolbox}
-\ProvidesExplPackage{easybase}{2022/03/13}{1.648}
+\ProvidesExplPackage{easybase}{2022/03/18}{1.65}
   {Easily typesetting Chinese theses or books}
 
 \cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -2322,7 +2322,7 @@
   }
 %</package>
 %<*tcolorbox>
-\ProvidesExplFile{eb-tcolorbox.cfg}{2022/03/13}{1.648}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2022/03/18}{1.65}
   {Customization of tcolorbox for easybook}
 
 \cs_set_protected:Npn \addtotcbstyle #1#2
@@ -2377,22 +2377,24 @@
     colback = #2,colbacktitle = #2,
     tc-easybox,#4
   }
-\DeclareTColorBox{ebparbox}{sO{RoyalBlue}d()O{}}
+\DeclareTColorBox{ebparbox}{sO{RoyalBlue}D(){}O{}}
   {
     borderline~west = {3pt}{0pt}{#2},
     IfBooleanTF = {#1}
       {
+        colback = white,
+        top = 0pt,bottom = 0pt,right = 0pt,
+        pad~at~break* = 0pt
+      }{
         colback = #2,colbacktitle = #2,
         opacityback = 0.2,opacitybacktitle = 0.2,
-        IfValueTF = {#3}{title = #3,top = 0pt}{top = 0.5\baselineskip},
-        bottom = 0.5\baselineskip,toptitle = 0.5\baselineskip,
+        top = \tl_if_blank:nTF {#3} { 0.5\baselineskip } { 0pt },
+        bottom = 0.5\baselineskip,
+        toptitle = 0.5\baselineskip,
         right = 8pt
-      }{
-        colback   = white,
-        IfValueT  = {#3}{title = #3},
-        top = 0pt,bottom = 0pt,right = 0pt
       },
-    coltitle = #2,tc-ebparbox,#4
+    title = #3,coltitle = #2,
+    tc-ebparbox,#4
   }
 \DeclareTotalTCBox{\ebfbox}{O{Green}mO{}}
   {
-- 
cgit v1.2.3

