texlive[61745] Master/texmf-dist: easybook (26jan22)

commits+karl at tug.org commits+karl at tug.org
Wed Jan 26 22:06:26 CET 2022


Revision: 61745
          http://tug.org/svn/texlive?view=revision&revision=61745
Author:   karl
Date:     2022-01-26 22:06:26 +0100 (Wed, 26 Jan 2022)
Log Message:
-----------
easybook (26jan22)

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-26 17:10:32 UTC (rev 61744)
+++ trunk/Master/texmf-dist/doc/latex/easybook/easybook.tex	2022-01-26 21:06:26 UTC (rev 61745)
@@ -21,7 +21,7 @@
     name            = easybook,
     color-scheme    = blue,
     title           = EASYBOOK 使用手册,
-    version         = v1.52,
+    version         = v1.53,
     date            = 2022/01/25,
     authors         = 瞿毅,
     info            = 排版简体中文学位论文和书籍,
@@ -1252,7 +1252,7 @@
   \item 增加定义脚注正文和内容标记格式的命令 \cs{defupfntmark} 和 \cs{defdownfntmark}。
   \item 新增文档主目录中双语标题列表的输出排列方式选项 \option{bilist}。
   \end{version}
-  \begin{version}[v = 1.52,date = 2022/01/25]
+  \begin{version}[v = 1.53,date = 2022/01/25]
   \added
   \item 新增文类选项 \option{theorem} 用于提供定理功能支持。
   \deprecated

Modified: trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx	2022-01-26 17:10:32 UTC (rev 61744)
+++ trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx	2022-01-26 21:06:26 UTC (rev 61745)
@@ -15,7 +15,7 @@
 %<*class>
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
 \RequirePackage{l3keys2e}
-\ProvidesExplClass{easybook}{2022/01/25}{1.52}
+\ProvidesExplClass{easybook}{2022/01/25}{1.53}
   {Typeset Chinese theses or books}
 
 \bool_set_false:N \l__eb_compile_draft_bool
@@ -305,7 +305,7 @@
 %<*package>
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
 \RequirePackage{l3keys2e,etoolbox}
-\ProvidesExplPackage{easybase}{2022/01/25}{1.52}
+\ProvidesExplPackage{easybase}{2022/01/25}{1.53}
   {Typeset Chinese theses or books}
 
 \cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -357,7 +357,7 @@
   }
 \cs_new_protected:Npn \eb_match_load_package:n #1
   {
-    \tl_if_in:nnTF {#1} { [ }
+    \regex_match:nnTF { \[ } {#1}
       {
         \seq_set_split:Nnn \l_tmpa_seq { [ } {#1}
         \seq_pop_left:NN \l_tmpa_seq \l_tmpa_tl
@@ -582,8 +582,8 @@
     hmargin         = 3.17cm,
     columnsep       = 2em,
     headheight      = 2.04cm,
-    headsep         = 0.5cm,
-    footnotesep     = 0.5cm,
+    headsep         = 0.4cm,
+    footnotesep     = 0.4cm,
     footskip        = 0.79cm,
     marginparsep    = 8pt,
     marginparwidth  = 2.54cm
@@ -637,7 +637,7 @@
       {\tl_set:cn { eb at mark@#1 at label } {##1##2}}
     \cs_new_protected:cpn { eb_mark_#1_name_parse:n } ##1
       {
-        \tl_if_in:nnTF {##1} { [ }
+        \regex_match:nnTF { \[ } {##1}
           { \use:c { eb at mark@#1 at label@layout }##1 }
           { \use:c { eb at mark@#1 at label@layout }{##1} }
       }
@@ -823,10 +823,11 @@
     \eb_seq_map_inline:nn
       { A,a,1,I,i,c,s }
       {
-        \tl_if_in:nnT {#2} {##1}
+        \regex_match:nnT {##1} {#2}
           {
-            \tl_replace_once:Nnn \l__eb_fnmate_short_tokens_tl {##1}
-              { \eb_int_format_trans:NN ##1 \c at footnote }
+            \regex_replace_once:nnN {##1}
+              { \c{eb_int_format_trans:NN} ##1 \c{c at footnote} }
+              \l__eb_fnmate_short_tokens_tl
             \seq_map_break:
           }
       }
@@ -2343,7 +2344,7 @@
   }
 %</package>
 %<*tcolorbox>
-\ProvidesExplFile{eb-tcolorbox.cfg}{2022/01/25}{1.52}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2022/01/25}{1.53}
   {Customization of tcolorbox for easybook}
 
 \cs_set_protected:Npn \addtotcbstyle #1#2
@@ -2384,7 +2385,7 @@
 \tcbset
   {
     breakable,
-    pad~at~break* = 3pt,
+    pad~at~break* = 0.5\baselineskip,
     sharpish~corners,
     fonttitle     = \sffamily,
     colframe      = black,
@@ -2392,7 +2393,7 @@
     boxrule       = 0.5pt
   }
 
-\DeclareTColorBox{easybox}{sO{PaleGoldenrod}d()O{}}
+\DeclareTColorBox{easybox}{sO{LemonChiffon}d()O{}}
   {
     IfBooleanF = {#1}{frame~hidden,boxrule = 0pt},
     IfValueT = {#3}{title = #3},

Modified: trunk/Master/texmf-dist/tex/latex/easybook/easybase.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/easybook/easybase.sty	2022-01-26 17:10:32 UTC (rev 61744)
+++ trunk/Master/texmf-dist/tex/latex/easybook/easybase.sty	2022-01-26 21:06:26 UTC (rev 61745)
@@ -20,7 +20,7 @@
 %% This work has the LPPL maintenance status `maintained'.
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
 \RequirePackage{l3keys2e,etoolbox}
-\ProvidesExplPackage{easybase}{2022/01/25}{1.52}
+\ProvidesExplPackage{easybase}{2022/01/25}{1.53}
   {Typeset Chinese theses or books}
 
 \cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -72,7 +72,7 @@
   }
 \cs_new_protected:Npn \eb_match_load_package:n #1
   {
-    \tl_if_in:nnTF {#1} { [ }
+    \regex_match:nnTF { \[ } {#1}
       {
         \seq_set_split:Nnn \l_tmpa_seq { [ } {#1}
         \seq_pop_left:NN \l_tmpa_seq \l_tmpa_tl
@@ -297,8 +297,8 @@
     hmargin         = 3.17cm,
     columnsep       = 2em,
     headheight      = 2.04cm,
-    headsep         = 0.5cm,
-    footnotesep     = 0.5cm,
+    headsep         = 0.4cm,
+    footnotesep     = 0.4cm,
     footskip        = 0.79cm,
     marginparsep    = 8pt,
     marginparwidth  = 2.54cm
@@ -352,7 +352,7 @@
       {\tl_set:cn { eb at mark@#1 at label } {##1##2}}
     \cs_new_protected:cpn { eb_mark_#1_name_parse:n } ##1
       {
-        \tl_if_in:nnTF {##1} { [ }
+        \regex_match:nnTF { \[ } {##1}
           { \use:c { eb at mark@#1 at label@layout }##1 }
           { \use:c { eb at mark@#1 at label@layout }{##1} }
       }
@@ -538,10 +538,11 @@
     \eb_seq_map_inline:nn
       { A,a,1,I,i,c,s }
       {
-        \tl_if_in:nnT {#2} {##1}
+        \regex_match:nnT {##1} {#2}
           {
-            \tl_replace_once:Nnn \l__eb_fnmate_short_tokens_tl {##1}
-              { \eb_int_format_trans:NN ##1 \c at footnote }
+            \regex_replace_once:nnN {##1}
+              { \c{eb_int_format_trans:NN} ##1 \c{c at footnote} }
+              \l__eb_fnmate_short_tokens_tl
             \seq_map_break:
           }
       }

Modified: trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls	2022-01-26 17:10:32 UTC (rev 61744)
+++ trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls	2022-01-26 21:06:26 UTC (rev 61745)
@@ -20,7 +20,7 @@
 %% This work has the LPPL maintenance status `maintained'.
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
 \RequirePackage{l3keys2e}
-\ProvidesExplClass{easybook}{2022/01/25}{1.52}
+\ProvidesExplClass{easybook}{2022/01/25}{1.53}
   {Typeset 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-01-26 17:10:32 UTC (rev 61744)
+++ trunk/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg	2022-01-26 21:06:26 UTC (rev 61745)
@@ -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/25}{1.52}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2022/01/25}{1.53}
   {Customization of tcolorbox for easybook}
 
 \cs_set_protected:Npn \addtotcbstyle #1#2
@@ -59,7 +59,7 @@
 \tcbset
   {
     breakable,
-    pad~at~break* = 3pt,
+    pad~at~break* = 0.5\baselineskip,
     sharpish~corners,
     fonttitle     = \sffamily,
     colframe      = black,
@@ -67,7 +67,7 @@
     boxrule       = 0.5pt
   }
 
-\DeclareTColorBox{easybox}{sO{PaleGoldenrod}d()O{}}
+\DeclareTColorBox{easybox}{sO{LemonChiffon}d()O{}}
   {
     IfBooleanF = {#1}{frame~hidden,boxrule = 0pt},
     IfValueT = {#3}{title = #3},



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