texlive[69628] Master/texmf-dist: easybook (29jan24)

commits+karl at tug.org commits+karl at tug.org
Mon Jan 29 22:18:20 CET 2024


Revision: 69628
          https://tug.org/svn/texlive?view=revision&revision=69628
Author:   karl
Date:     2024-01-29 22:18:20 +0100 (Mon, 29 Jan 2024)
Log Message:
-----------
easybook (29jan24)

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	2024-01-29 21:18:10 UTC (rev 69627)
+++ trunk/Master/texmf-dist/doc/latex/easybook/easybook.tex	2024-01-29 21:18:20 UTC (rev 69628)
@@ -23,7 +23,7 @@
     name            = easybook,
     color-scheme    = blue,
     title           = EASYBOOK使用手册,
-    version         = v2024O,
+    version         = v2024P,
     date            = 2024/01/28,
     authors         = 瞿毅,
     info            = 简便地排版中文学位论文或书籍,
@@ -1350,7 +1350,7 @@
   \shortversion{v = 1.638,date = 2022/03/04,changes = 增加目录条目样式选项注册命令 \cs{RegisterTocName}。}
   \shortversion{v = 1.644,date = 2022/03/10,changes = 增加浮动环境目录声明命令 \cs{DeclareFloatList} 配合 \pkg*{caption} 宏包。}
   \shortversion{v = 1.682,date = 2022/05/01,changes = 将迷你页判断命令 \cs{notminipage} 改为被保护命令兼容 \pkg*{circledtext} 宏包。}
-  \begin{version}[v = 2024O,date = 2024/01/28,simple]
+  \begin{version}[v = 2024P,date = 2024/01/28,simple]
   \item 核对依赖宏包的更新改动,优化使用手册的内容细节。
   \item 修复图表等浮动环境题注目录中条目标签编号的计数器值显示错误问题。
   \item 修复附录命令 \cs{appendix} 的可选参数设置英文目录中条目名字和编号失效的问题。

Modified: trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx	2024-01-29 21:18:10 UTC (rev 69627)
+++ trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx	2024-01-29 21:18:20 UTC (rev 69628)
@@ -15,7 +15,7 @@
 %<*class>
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
 \RequirePackage{l3keys2e}
-\ProvidesExplClass{easybook}{2024/01/28}{2024O}
+\ProvidesExplClass{easybook}{2024/01/28}{2024P}
   {Easily typesetting Chinese theses or books}
 
 \bool_set_false:N \l__eb_compile_draft_bool
@@ -237,6 +237,7 @@
     tocdepth        = \bool_if:NTF \l__eb_class_mode_book_bool { 1 } { 2 },
     part            =
       {
+        pagestyle   = empty,
         format      = \color{ctex at frame}\sffamily\Huge,
         nameformat  = { },
         titleformat = { },
@@ -249,6 +250,7 @@
       },
     chapter         =
       {
+        pagestyle   = empty,
         format      =
           {
             \color{ctex at frame}\sffamily\LARGE
@@ -302,7 +304,7 @@
 %<*package>
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
 \RequirePackage{l3keys2e,etoolbox}
-\ProvidesExplPackage{easybase}{2024/01/28}{2024O}
+\ProvidesExplPackage{easybase}{2024/01/28}{2024P}
   {Easily typesetting Chinese theses or books}
 
 \cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -699,7 +701,6 @@
     \bool_if:NF \l__eb_class_mode_book_bool
       { \eb at level@markright{subsection}{#1} }
   }
-\cs_gset_eq:NN \ps at plain \ps at empty
 \fancyhf{}
 \ifbool{@twoside}
   {
@@ -1056,7 +1057,7 @@
   {
     It~is~not~recommended~that~you~use~the \\
     hang,~symbol,~perpage,~marginal~or~flushmargin \\
-    options~of~the~'footmisc'~package.
+    options~of~'footmisc'~package.
   }
 
 \cs_set_protected:Npn \footref #1
@@ -1594,7 +1595,13 @@
       { \eb at ctexsetii{#1}{#3} }
   }
 \cs_new_protected:Npn \UseTocStyle #1#2#3
-  { \addtocontents{#3}{\@nameuse{eb at toc@style at set@#1@#2}} }
+  {
+    \tl_if_exist:cTF { eb at toc@style at set@#1@#2 }
+      { \addtocontents{#3}{\@nameuse{eb at toc@style at set@#1@#2}} }
+      { \msg_warning:nnnn { easybase } { undefined-toc-style } {#2} {#1} }
+  }
+\msg_new:nnn { easybase } { undefined-toc-style }
+  { The~contents~style~'#1'~of~'#2'~is~not~defined. }
 \ctex_set:n
   {
     part          =
@@ -1800,7 +1807,6 @@
     \tl_gset:Nn \dbltopfraction { 0.9 }
     \tl_gset:Nn \dblfloatpagefraction { 0.9 }
   }
-\dim_zero_new:N \mathindent
 \skip_set:Nn \textfloatsep { 12pt plus 4pt minus 3pt }
 \skip_set:Nn \dbltextfloatsep { 12pt plus 4pt minus 3pt }
 \skip_set:Nn \multicolsep { 12pt plus 4pt minus 3pt }
@@ -1807,6 +1813,8 @@
 \setcounter{topnumber}{4}
 \setcounter{bottomnumber}{4}
 \setcounter{totalnumber}{8}
+\tl_set:Nn \fontsubfuzz { 0.5pt }
+\dim_zero_new:N \mathindent
 \allowdisplaybreaks[4]
 \everymath{\displaystyle}
 \DeclareGraphicsExtensions{.pdf,.png,.jpg,.eps,.tif}
@@ -2325,7 +2333,7 @@
   }
 %</package>
 %<*tcolorbox>
-\ProvidesExplFile{eb-tcolorbox.cfg}{2024/01/28}{2024O}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2024/01/28}{2024P}
   {Customization of tcolorbox for easybook}
 
 \cs_set_protected:Npn \addtotcbstyle #1#2

Modified: trunk/Master/texmf-dist/tex/latex/easybook/easybase.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/easybook/easybase.sty	2024-01-29 21:18:10 UTC (rev 69627)
+++ trunk/Master/texmf-dist/tex/latex/easybook/easybase.sty	2024-01-29 21:18:20 UTC (rev 69628)
@@ -20,7 +20,7 @@
 %% This work has the LPPL maintenance status `maintained'.
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
 \RequirePackage{l3keys2e,etoolbox}
-\ProvidesExplPackage{easybase}{2024/01/28}{2024O}
+\ProvidesExplPackage{easybase}{2024/01/28}{2024P}
   {Easily typesetting Chinese theses or books}
 
 \cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -417,7 +417,6 @@
     \bool_if:NF \l__eb_class_mode_book_bool
       { \eb at level@markright{subsection}{#1} }
   }
-\cs_gset_eq:NN \ps at plain \ps at empty
 \fancyhf{}
 \ifbool{@twoside}
   {
@@ -774,7 +773,7 @@
   {
     It~is~not~recommended~that~you~use~the \\
     hang,~symbol,~perpage,~marginal~or~flushmargin \\
-    options~of~the~'footmisc'~package.
+    options~of~'footmisc'~package.
   }
 
 \cs_set_protected:Npn \footref #1
@@ -1312,7 +1311,13 @@
       { \eb at ctexsetii{#1}{#3} }
   }
 \cs_new_protected:Npn \UseTocStyle #1#2#3
-  { \addtocontents{#3}{\@nameuse{eb at toc@style at set@#1@#2}} }
+  {
+    \tl_if_exist:cTF { eb at toc@style at set@#1@#2 }
+      { \addtocontents{#3}{\@nameuse{eb at toc@style at set@#1@#2}} }
+      { \msg_warning:nnnn { easybase } { undefined-toc-style } {#2} {#1} }
+  }
+\msg_new:nnn { easybase } { undefined-toc-style }
+  { The~contents~style~'#1'~of~'#2'~is~not~defined. }
 \ctex_set:n
   {
     part          =
@@ -1518,7 +1523,6 @@
     \tl_gset:Nn \dbltopfraction { 0.9 }
     \tl_gset:Nn \dblfloatpagefraction { 0.9 }
   }
-\dim_zero_new:N \mathindent
 \skip_set:Nn \textfloatsep { 12pt plus 4pt minus 3pt }
 \skip_set:Nn \dbltextfloatsep { 12pt plus 4pt minus 3pt }
 \skip_set:Nn \multicolsep { 12pt plus 4pt minus 3pt }
@@ -1525,6 +1529,8 @@
 \setcounter{topnumber}{4}
 \setcounter{bottomnumber}{4}
 \setcounter{totalnumber}{8}
+\tl_set:Nn \fontsubfuzz { 0.5pt }
+\dim_zero_new:N \mathindent
 \allowdisplaybreaks[4]
 \everymath{\displaystyle}
 \DeclareGraphicsExtensions{.pdf,.png,.jpg,.eps,.tif}

Modified: trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls	2024-01-29 21:18:10 UTC (rev 69627)
+++ trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls	2024-01-29 21:18:20 UTC (rev 69628)
@@ -20,7 +20,7 @@
 %% This work has the LPPL maintenance status `maintained'.
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
 \RequirePackage{l3keys2e}
-\ProvidesExplClass{easybook}{2024/01/28}{2024O}
+\ProvidesExplClass{easybook}{2024/01/28}{2024P}
   {Easily typesetting Chinese theses or books}
 
 \bool_set_false:N \l__eb_compile_draft_bool
@@ -242,6 +242,7 @@
     tocdepth        = \bool_if:NTF \l__eb_class_mode_book_bool { 1 } { 2 },
     part            =
       {
+        pagestyle   = empty,
         format      = \color{ctex at frame}\sffamily\Huge,
         nameformat  = { },
         titleformat = { },
@@ -254,6 +255,7 @@
       },
     chapter         =
       {
+        pagestyle   = empty,
         format      =
           {
             \color{ctex at frame}\sffamily\LARGE

Modified: trunk/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg
===================================================================
--- trunk/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg	2024-01-29 21:18:10 UTC (rev 69627)
+++ trunk/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg	2024-01-29 21:18:20 UTC (rev 69628)
@@ -18,7 +18,7 @@
 %% LaTeX version 2005/12/01 or later.
 %% 
 %% This work has the LPPL maintenance status `maintained'.
-\ProvidesExplFile{eb-tcolorbox.cfg}{2024/01/28}{2024O}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2024/01/28}{2024P}
   {Customization of tcolorbox for easybook}
 
 \cs_set_protected:Npn \addtotcbstyle #1#2



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