texlive[61616] Master/texmf-dist: easybook (15jan22)

commits+karl at tug.org commits+karl at tug.org
Sat Jan 15 22:38:16 CET 2022


Revision: 61616
          http://tug.org/svn/texlive?view=revision&revision=61616
Author:   karl
Date:     2022-01-15 22:38:16 +0100 (Sat, 15 Jan 2022)
Log Message:
-----------
easybook (15jan22)

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-01-15 21:37:54 UTC (rev 61615)
+++ trunk/Master/texmf-dist/doc/latex/easybook/easybook.tex	2022-01-15 21:38:16 UTC (rev 61616)
@@ -21,8 +21,8 @@
     name            = easybook,
     color-scheme    = blue,
     title           = EASYBOOK 使用手册,
-    version         = v1.46A,
-    date            = 2022/01/14,
+    version         = v1.46B,
+    date            = 2022/01/15,
     authors         = 瞿毅,
     info            = 排版简体中文学位论文和书籍,
     email           = q1jx at foxmail.com,

Modified: trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx	2022-01-15 21:37:54 UTC (rev 61615)
+++ trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx	2022-01-15 21:38:16 UTC (rev 61616)
@@ -15,14 +15,13 @@
 %<*class>
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
 \RequirePackage{l3keys2e}
-\ProvidesExplClass{easybook}{2022/01/14}{1.46A}
+\ProvidesExplClass{easybook}{2022/01/15}{1.46B}
   {Typeset Chinese theses or books}
 
 \bool_set_false:N \l__eb_compile_draft_bool
 \bool_set_false:N \l__eb_title_newline_bool
 \bool_set_true:N  \l__eb_class_mode_book_bool
-\tl_new:N         \l__eb_font_value_tl
-\clist_new:N      \g__eb_options_clist
+\clist_new:N      \g__eb_doc_options_clist
 \cs_new_protected:Npn \eb_put_ctexbook:n #1
   { \PassOptionsToClass{#1}{ctexbook} }
 \cs_generate_variant:Nn \eb_put_ctexbook:n { V }
@@ -54,12 +53,12 @@
     config .clist_gset:N        = \g__eb_config_file_clist,
     floatpage .bool_set:N       = \l__eb_float_page_bool,
     floatpage .default:n        = true,
-    unknown .code:n = \clist_gput_right:NV \g__eb_options_clist \CurrentOption
+    unknown .code:n = \clist_gput_right:NV \g__eb_doc_options_clist \CurrentOption
   }
 
 \ProcessKeysOptions{easybook}
 \PassOptionsToPackage{no-math,quiet,CJKmath}{xeCJK}
-\eb_put_ctexbook:V \g__eb_options_clist
+\eb_put_ctexbook:V \g__eb_doc_options_clist
 \LoadClass[UTF8]{ctexbook}
 
 \RequirePackage{easybase}
@@ -306,7 +305,7 @@
 %<*package>
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
 \RequirePackage{l3keys2e,etoolbox}
-\ProvidesExplPackage{easybase}{2022/01/14}{1.46A}
+\ProvidesExplPackage{easybase}{2022/01/15}{1.46B}
   {Typeset Chinese theses or books}
 
 \cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -2409,7 +2408,7 @@
   }
 %</package>
 %<*tcolorbox>
-\ProvidesExplFile{eb-tcolorbox.cfg}{2022/01/14}{1.46A}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2022/01/15}{1.46B}
   {Customization of tcolorbox for easybook}
 
 \cs_set_protected:Npn \addtotcbstyle #1#2
@@ -2420,15 +2419,14 @@
   { \@ifstar{\deftcbstyle}{\addtotcbstyle} }
 \cs_set_eq:NN \newtcbstyle \deftcbstyle
 
-\tl_gset:Nn \eb at tc@line at skip { 0.5\baselineskip }
 \deftcbstyle{tc-theorem}
   {
     enhanced~jigsaw,pad~at~break* = 3pt,
     colframe = ctex at emph,
-    beforeafter~skip = 1.75ex plus .2ex minus .1ex,
+    beforeafter~skip = 0.5\baselineskip,
     left = 8pt,right = 8pt,
-    top = \eb at tc@line at skip,bottom = \eb at tc@line at skip,
-    middle = \eb at tc@line at skip
+    top = 0.5\baselineskip,bottom = 0.5\baselineskip,
+    middle = 0.5\baselineskip
   }
 \deftcbstyle{tc-easybox}
   {
@@ -2436,11 +2434,11 @@
     center~title,
     left = 8pt,right = 8pt,
     coltitle = black,colframe = black,
-    top = \eb at tc@line at skip,bottom = \eb at tc@line at skip,
-    middle = \eb at tc@line at skip,
-    toptitle = \eb at tc@line at skip,
+    top = 0.5\baselineskip,bottom = 0.5\baselineskip,
+    middle = 0.5\baselineskip,
+    toptitle = 0.5\baselineskip,
     titlerule = 0pt,
-    beforeafter~skip = 1.75ex plus .2ex minus .1ex
+    beforeafter~skip = 0.5\baselineskip
   }
 \deftcbstyle{tc-ebparbox}
   {
@@ -2448,8 +2446,8 @@
     enhanced~jigsaw,pad~at~break* = 3pt,
     boxrule = 0pt,
     left = 8pt,
-    middle = \eb at tc@line at skip,bottomtitle = \eb at tc@line at skip,
-    beforeafter~skip = 1.75ex plus .2ex minus .1ex
+    middle = 0.5\baselineskip,bottomtitle = 0.5\baselineskip,
+    beforeafter~skip = 0.5\baselineskip
   }
 \deftcbstyle{tc-ebemph}{on~line,blank}
 \deftcbstyle{tc-ebfbox}
@@ -2481,8 +2479,8 @@
       {
         colback = #2,colbacktitle = #2,
         opacityback = 0.2,opacitybacktitle = 0.2,
-        IfValueTF = {#3}{title = #3,top = 0pt}{top = \eb at tc@line at skip},
-        bottom = \eb at tc@line at skip,toptitle = \eb at tc@line at skip,
+        IfValueTF = {#3}{title = #3,top = 0pt}{top = 0.5\baselineskip},
+        bottom = 0.5\baselineskip,toptitle = 0.5\baselineskip,
         right = 8pt
       }{
         colback   = white,

Modified: trunk/Master/texmf-dist/tex/latex/easybook/easybase.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/easybook/easybase.sty	2022-01-15 21:37:54 UTC (rev 61615)
+++ trunk/Master/texmf-dist/tex/latex/easybook/easybase.sty	2022-01-15 21:38:16 UTC (rev 61616)
@@ -20,7 +20,7 @@
 %% This work has the LPPL maintenance status `maintained'.
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
 \RequirePackage{l3keys2e,etoolbox}
-\ProvidesExplPackage{easybase}{2022/01/14}{1.46A}
+\ProvidesExplPackage{easybase}{2022/01/15}{1.46B}
   {Typeset 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-01-15 21:37:54 UTC (rev 61615)
+++ trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls	2022-01-15 21:38:16 UTC (rev 61616)
@@ -20,14 +20,13 @@
 %% This work has the LPPL maintenance status `maintained'.
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
 \RequirePackage{l3keys2e}
-\ProvidesExplClass{easybook}{2022/01/14}{1.46A}
+\ProvidesExplClass{easybook}{2022/01/15}{1.46B}
   {Typeset Chinese theses or books}
 
 \bool_set_false:N \l__eb_compile_draft_bool
 \bool_set_false:N \l__eb_title_newline_bool
 \bool_set_true:N  \l__eb_class_mode_book_bool
-\tl_new:N         \l__eb_font_value_tl
-\clist_new:N      \g__eb_options_clist
+\clist_new:N      \g__eb_doc_options_clist
 \cs_new_protected:Npn \eb_put_ctexbook:n #1
   { \PassOptionsToClass{#1}{ctexbook} }
 \cs_generate_variant:Nn \eb_put_ctexbook:n { V }
@@ -59,12 +58,12 @@
     config .clist_gset:N        = \g__eb_config_file_clist,
     floatpage .bool_set:N       = \l__eb_float_page_bool,
     floatpage .default:n        = true,
-    unknown .code:n = \clist_gput_right:NV \g__eb_options_clist \CurrentOption
+    unknown .code:n = \clist_gput_right:NV \g__eb_doc_options_clist \CurrentOption
   }
 
 \ProcessKeysOptions{easybook}
 \PassOptionsToPackage{no-math,quiet,CJKmath}{xeCJK}
-\eb_put_ctexbook:V \g__eb_options_clist
+\eb_put_ctexbook:V \g__eb_doc_options_clist
 \LoadClass[UTF8]{ctexbook}
 
 \RequirePackage{easybase}

Modified: trunk/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg
===================================================================
--- trunk/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg	2022-01-15 21:37:54 UTC (rev 61615)
+++ trunk/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg	2022-01-15 21:38:16 UTC (rev 61616)
@@ -18,7 +18,7 @@
 %% LaTeX version 2005/12/01 or later.
 %% 
 %% This work has the LPPL maintenance status `maintained'.
-\ProvidesExplFile{eb-tcolorbox.cfg}{2022/01/14}{1.46A}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2022/01/15}{1.46B}
   {Customization of tcolorbox for easybook}
 
 \cs_set_protected:Npn \addtotcbstyle #1#2
@@ -29,15 +29,14 @@
   { \@ifstar{\deftcbstyle}{\addtotcbstyle} }
 \cs_set_eq:NN \newtcbstyle \deftcbstyle
 
-\tl_gset:Nn \eb at tc@line at skip { 0.5\baselineskip }
 \deftcbstyle{tc-theorem}
   {
     enhanced~jigsaw,pad~at~break* = 3pt,
     colframe = ctex at emph,
-    beforeafter~skip = 1.75ex plus .2ex minus .1ex,
+    beforeafter~skip = 0.5\baselineskip,
     left = 8pt,right = 8pt,
-    top = \eb at tc@line at skip,bottom = \eb at tc@line at skip,
-    middle = \eb at tc@line at skip
+    top = 0.5\baselineskip,bottom = 0.5\baselineskip,
+    middle = 0.5\baselineskip
   }
 \deftcbstyle{tc-easybox}
   {
@@ -45,11 +44,11 @@
     center~title,
     left = 8pt,right = 8pt,
     coltitle = black,colframe = black,
-    top = \eb at tc@line at skip,bottom = \eb at tc@line at skip,
-    middle = \eb at tc@line at skip,
-    toptitle = \eb at tc@line at skip,
+    top = 0.5\baselineskip,bottom = 0.5\baselineskip,
+    middle = 0.5\baselineskip,
+    toptitle = 0.5\baselineskip,
     titlerule = 0pt,
-    beforeafter~skip = 1.75ex plus .2ex minus .1ex
+    beforeafter~skip = 0.5\baselineskip
   }
 \deftcbstyle{tc-ebparbox}
   {
@@ -57,8 +56,8 @@
     enhanced~jigsaw,pad~at~break* = 3pt,
     boxrule = 0pt,
     left = 8pt,
-    middle = \eb at tc@line at skip,bottomtitle = \eb at tc@line at skip,
-    beforeafter~skip = 1.75ex plus .2ex minus .1ex
+    middle = 0.5\baselineskip,bottomtitle = 0.5\baselineskip,
+    beforeafter~skip = 0.5\baselineskip
   }
 \deftcbstyle{tc-ebemph}{on~line,blank}
 \deftcbstyle{tc-ebfbox}
@@ -90,8 +89,8 @@
       {
         colback = #2,colbacktitle = #2,
         opacityback = 0.2,opacitybacktitle = 0.2,
-        IfValueTF = {#3}{title = #3,top = 0pt}{top = \eb at tc@line at skip},
-        bottom = \eb at tc@line at skip,toptitle = \eb at tc@line at skip,
+        IfValueTF = {#3}{title = #3,top = 0pt}{top = 0.5\baselineskip},
+        bottom = 0.5\baselineskip,toptitle = 0.5\baselineskip,
         right = 8pt
       }{
         colback   = white,



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