texlive[62784] Master/texmf-dist: easybook (18mar22)

commits+karl at tug.org commits+karl at tug.org
Fri Mar 18 22:00:55 CET 2022


Revision: 62784
          http://tug.org/svn/texlive?view=revision&revision=62784
Author:   karl
Date:     2022-03-18 22:00:55 +0100 (Fri, 18 Mar 2022)
Log Message:
-----------
easybook (18mar22)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/easybook/easybook.pdf
    trunk/Master/texmf-dist/doc/latex/easybook/easybook.tex
    trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx
    trunk/Master/texmf-dist/tex/latex/easybook/easybase.sty
    trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls
    trunk/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg

Modified: trunk/Master/texmf-dist/doc/latex/easybook/easybook.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/easybook/easybook.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/easybook/easybook.tex	2022-03-18 16:41:34 UTC (rev 62783)
+++ trunk/Master/texmf-dist/doc/latex/easybook/easybook.tex	2022-03-18 21:00:55 UTC (rev 62784)
@@ -21,8 +21,8 @@
     name            = easybook,
     color-scheme    = blue,
     title           = EASYBOOK使用手册,
-    version         = v1.648,
-    date            = 2022/03/13,
+    version         = v1.65,
+    date            = 2022/03/18,
     authors         = 瞿毅,
     info            = 简便地排版中文学位论文或书籍,
     email           = q1jx at foxmail.com,
@@ -1121,7 +1121,7 @@
   \end{easybox}
   \end{ctexexam}
   \environment{ebparbox}[\sarg\oarg{颜色名}\darg{段落标题}\oarg{配置选项}]
-  环境 \env{ebparbox} 用法与 \env{easybox} 类似,同样带有三个可选参数。盒子的左边带有一条粗竖线,\meta{颜色名} 选项可以自定义这条竖线颜色,使用星号参数则盒子带有竖线颜色的浅色背景。
+  环境 \env{ebparbox} 用法与 \env{easybox} 类似,同样带有三个可选参数。盒子的左边带有一条粗竖线,背景颜色为竖线颜色的浅色。\meta{颜色名} 选项可以设置竖线的颜色。使用星号参数则盒子无背景颜色。
 \end{environments}
 
 \begin{commands}

Modified: trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx	2022-03-18 16:41:34 UTC (rev 62783)
+++ trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx	2022-03-18 21:00:55 UTC (rev 62784)
@@ -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{}}
   {

Modified: trunk/Master/texmf-dist/tex/latex/easybook/easybase.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/easybook/easybase.sty	2022-03-18 16:41:34 UTC (rev 62783)
+++ trunk/Master/texmf-dist/tex/latex/easybook/easybase.sty	2022-03-18 21:00:55 UTC (rev 62784)
@@ -20,7 +20,7 @@
 %% This work has the LPPL maintenance status `maintained'.
 \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 }

Modified: trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls	2022-03-18 16:41:34 UTC (rev 62783)
+++ trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls	2022-03-18 21:00:55 UTC (rev 62784)
@@ -20,7 +20,7 @@
 %% This work has the LPPL maintenance status `maintained'.
 \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

Modified: trunk/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg
===================================================================
--- trunk/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg	2022-03-18 16:41:34 UTC (rev 62783)
+++ trunk/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg	2022-03-18 21:00:55 UTC (rev 62784)
@@ -18,7 +18,7 @@
 %% LaTeX version 2005/12/01 or later.
 %% 
 %% This work has the LPPL maintenance status `maintained'.
-\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
@@ -73,22 +73,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{}}
   {



More information about the tex-live-commits mailing list.