texlive[61009] Master/texmf-dist: easybook (9nov21)

commits+karl at tug.org commits+karl at tug.org
Tue Nov 9 23:18:03 CET 2021


Revision: 61009
          http://tug.org/svn/texlive?view=revision&revision=61009
Author:   karl
Date:     2021-11-09 23:18:03 +0100 (Tue, 09 Nov 2021)
Log Message:
-----------
easybook (9nov21)

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	2021-11-09 22:17:46 UTC (rev 61008)
+++ trunk/Master/texmf-dist/doc/latex/easybook/easybook.tex	2021-11-09 22:18:03 UTC (rev 61009)
@@ -20,8 +20,8 @@
     name            = easybook,
     color-scheme    = blue,
     title           = EASYBOOK 使用手册,
-    version         = v1.40L,
-    date            = 2021/11/06,
+    version         = v1.40M,
+    date            = 2021/11/09,
     authors         = 瞿毅,
     info            = 排版简体中文学位论文和书籍,
     email           = q1jx at foxmail.com,
@@ -848,7 +848,7 @@
   \environment*{tabularx}[\marg{长度}\marg{列格式}]\default{}
   \environment*{tabular}[\marg{列格式}]\default{}
   \environment{tblr}[\marg{键值列表}]
-  \pkg*{tabularray} 是一个较新且强大的表格宏包,不依赖其它表格宏包所以同时使用不会产生冲突。不仅提供 \pkg*{tabularx}、\pkg*{multirow}、和 \pkg*{booktabs} 等宏包的功能,还实现了用键值列表方式简便地设置表格样式。具体用法可见宏包的说明文档,下面演示一个 \env{tblr} 表格的用法:
+  \pkg*{tabularray} 是一个较新且强大的表格宏包,不依赖其它表格宏包所以同时使用不会产生冲突。不仅提供 \pkg*{tabularx}、\pkg*{multirow} 和 \pkg*{booktabs} 等宏包的功能,还实现了用键值列表方式简便地设置表格样式。具体用法可见宏包的说明文档,下面演示一个 \env{tblr} 表格的用法:
   \begin{ctexexam}
   \begin{tblr}
     {

Modified: trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx	2021-11-09 22:17:46 UTC (rev 61008)
+++ trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx	2021-11-09 22:18:03 UTC (rev 61009)
@@ -15,7 +15,7 @@
 %<*class>
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
 \RequirePackage{l3keys2e}
-\ProvidesExplClass{easybook}{2021/11/06}{1.40L}
+\ProvidesExplClass{easybook}{2021/11/09}{1.40M}
   {Typeset Chinese theses or books}
 
 \bool_set_false:N \l__eb_compile_draft_bool
@@ -26,6 +26,7 @@
 \clist_new:N      \g__eb_options_clist
 \cs_new_protected:Npn \eb_put_ctexbook:n #1
   { \PassOptionsToClass{#1}{ctexbook} }
+\cs_generate_variant:Nn \eb_put_ctexbook:n { V }
 
 \keys_define:nn { easybook }
   {
@@ -66,13 +67,12 @@
     config .tl_set:N            = \g__eb_config_tl,
     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_options_clist \CurrentOption
   }
 
 \ProcessKeysOptions{easybook}
 \PassOptionsToPackage{no-math,quiet,CJKmath}{xeCJK}
-\eb_put_ctexbook:n { \g__eb_options_clist }
+\eb_put_ctexbook:V \g__eb_options_clist
 \LoadClass[UTF8]{ctexbook}
 
 \RequirePackage{easybase}
@@ -325,7 +325,7 @@
 %<*package>
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
 \RequirePackage{l3keys2e,etoolbox}
-\ProvidesExplPackage{easybase}{2021/11/06}{1.40L}
+\ProvidesExplPackage{easybase}{2021/11/09}{1.40M}
   {Typeset Chinese theses or books}
 
 \cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -1798,9 +1798,7 @@
   }
 \IfPackageAtLeastTF{tabularray}{2021/07/01}
   {
-    \NewTableCommand{\toprule}[1][1pt]{\hline[#1]}
-    \NewTableCommand{\midrule}[1][0.5pt]{\hline[#1]}
-    \NewTableCommand{\bottomrule}[1][1pt]{\hline[#1]}
+    \UseTblrLibrary{booktabs}
     \SetTblrInner{stretch = \fp_use:N \l__eb_spread_table_fp}
   }{}
 \eb_at_begin_environment:nn { tabular,tabularx }
@@ -1857,12 +1855,8 @@
 \SetEnumitemValue{font}{sf}{\color{ctex at emph}\normalfont\sffamily}
 \SetEnumitemValue{ref}{enumii}{\arabic{enumi}.\alph*}
 \SetEnumitemValue{ref}{enumiii}{\arabic{enumi}.\alph{enumii}.\roman*}
-\setlist
-  {
-    labelsep = 0.75em,listparindent = 2em,leftmargin = *,
-    itemsep = 0.75ex plus .1ex,topsep = 0.75ex plus .1ex,
-    partopsep = 0ex,parsep = 0ex
-  }
+\setlist{nosep,align = left}
+\setlist*{labelsep = 0.5em,listparindent = 2em,leftmargin = *}
 \setlist[itemize,1]{label = bullet}
 \setlist[itemize,2]{label = endash}
 \setlist[itemize,3]{label = asterisk}
@@ -2454,7 +2448,7 @@
   }
 %</package>
 %<*tcolorbox>
-\ProvidesExplFile{eb-tcolorbox.cfg}{2021/11/06}{1.40L}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2021/11/09}{1.40M}
   {Customization of tcolorbox for easybook}
 
 \tl_gset:Nn \eb at tc@line at skip { 0.5\baselineskip }

Modified: trunk/Master/texmf-dist/tex/latex/easybook/easybase.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/easybook/easybase.sty	2021-11-09 22:17:46 UTC (rev 61008)
+++ trunk/Master/texmf-dist/tex/latex/easybook/easybase.sty	2021-11-09 22:18:03 UTC (rev 61009)
@@ -20,7 +20,7 @@
 %% This work has the LPPL maintenance status `maintained'.
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
 \RequirePackage{l3keys2e,etoolbox}
-\ProvidesExplPackage{easybase}{2021/11/06}{1.40L}
+\ProvidesExplPackage{easybase}{2021/11/09}{1.40M}
   {Typeset Chinese theses or books}
 
 \cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -1493,9 +1493,7 @@
   }
 \IfPackageAtLeastTF{tabularray}{2021/07/01}
   {
-    \NewTableCommand{\toprule}[1][1pt]{\hline[#1]}
-    \NewTableCommand{\midrule}[1][0.5pt]{\hline[#1]}
-    \NewTableCommand{\bottomrule}[1][1pt]{\hline[#1]}
+    \UseTblrLibrary{booktabs}
     \SetTblrInner{stretch = \fp_use:N \l__eb_spread_table_fp}
   }{}
 \eb_at_begin_environment:nn { tabular,tabularx }
@@ -1552,12 +1550,8 @@
 \SetEnumitemValue{font}{sf}{\color{ctex at emph}\normalfont\sffamily}
 \SetEnumitemValue{ref}{enumii}{\arabic{enumi}.\alph*}
 \SetEnumitemValue{ref}{enumiii}{\arabic{enumi}.\alph{enumii}.\roman*}
-\setlist
-  {
-    labelsep = 0.75em,listparindent = 2em,leftmargin = *,
-    itemsep = 0.75ex plus .1ex,topsep = 0.75ex plus .1ex,
-    partopsep = 0ex,parsep = 0ex
-  }
+\setlist{nosep,align = left}
+\setlist*{labelsep = 0.5em,listparindent = 2em,leftmargin = *}
 \setlist[itemize,1]{label = bullet}
 \setlist[itemize,2]{label = endash}
 \setlist[itemize,3]{label = asterisk}

Modified: trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls	2021-11-09 22:17:46 UTC (rev 61008)
+++ trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls	2021-11-09 22:18:03 UTC (rev 61009)
@@ -20,7 +20,7 @@
 %% This work has the LPPL maintenance status `maintained'.
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
 \RequirePackage{l3keys2e}
-\ProvidesExplClass{easybook}{2021/11/06}{1.40L}
+\ProvidesExplClass{easybook}{2021/11/09}{1.40M}
   {Typeset Chinese theses or books}
 
 \bool_set_false:N \l__eb_compile_draft_bool
@@ -31,6 +31,7 @@
 \clist_new:N      \g__eb_options_clist
 \cs_new_protected:Npn \eb_put_ctexbook:n #1
   { \PassOptionsToClass{#1}{ctexbook} }
+\cs_generate_variant:Nn \eb_put_ctexbook:n { V }
 
 \keys_define:nn { easybook }
   {
@@ -71,13 +72,12 @@
     config .tl_set:N            = \g__eb_config_tl,
     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_options_clist \CurrentOption
   }
 
 \ProcessKeysOptions{easybook}
 \PassOptionsToPackage{no-math,quiet,CJKmath}{xeCJK}
-\eb_put_ctexbook:n { \g__eb_options_clist }
+\eb_put_ctexbook:V \g__eb_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	2021-11-09 22:17:46 UTC (rev 61008)
+++ trunk/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg	2021-11-09 22:18:03 UTC (rev 61009)
@@ -18,7 +18,7 @@
 %% LaTeX version 2005/12/01 or later.
 %% 
 %% This work has the LPPL maintenance status `maintained'.
-\ProvidesExplFile{eb-tcolorbox.cfg}{2021/11/06}{1.40L}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2021/11/09}{1.40M}
   {Customization of tcolorbox for easybook}
 
 \tl_gset:Nn \eb at tc@line at skip { 0.5\baselineskip }



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