texlive[60882] Master/texmf-dist: easybook (28oct21)

commits+karl at tug.org commits+karl at tug.org
Thu Oct 28 21:45:45 CEST 2021


Revision: 60882
          http://tug.org/svn/texlive?view=revision&revision=60882
Author:   karl
Date:     2021-10-28 21:45:45 +0200 (Thu, 28 Oct 2021)
Log Message:
-----------
easybook (28oct21)

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-10-28 19:45:22 UTC (rev 60881)
+++ trunk/Master/texmf-dist/doc/latex/easybook/easybook.tex	2021-10-28 19:45:45 UTC (rev 60882)
@@ -20,8 +20,8 @@
     name            = easybook,
     color-scheme    = blue,
     title           = EASYBOOK 使用手册,
-    version         = v1.40E,
-    date            = 2021/10/25,
+    version         = v1.40F,
+    date            = 2021/10/28,
     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	2021-10-28 19:45:22 UTC (rev 60881)
+++ trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx	2021-10-28 19:45:45 UTC (rev 60882)
@@ -15,7 +15,7 @@
 %<*class>
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
 \RequirePackage{l3keys2e}
-\ProvidesExplClass{easybook}{2021/10/25}{1.40E}
+\ProvidesExplClass{easybook}{2021/10/25}{1.40F}
   {Typeset Chinese theses or books}
 
 \bool_set_false:N \l__eb_compile_draft_bool
@@ -325,7 +325,7 @@
 %<*package>
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
 \RequirePackage{l3keys2e,etoolbox}
-\ProvidesExplPackage{easybase}{2021/10/25}{1.40E}
+\ProvidesExplPackage{easybase}{2021/10/25}{1.40F}
   {Typeset Chinese theses or books}
 
 \cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -1739,7 +1739,6 @@
     unknown .code:n = \eb_msg_unknown_option:n { subfont }
   }
 
-\fp_new:N \l__eb_spread_line_fp
 \fp_new:N \l__eb_spread_table_fp
 \fp_new:N \l__eb_spread_math_fp
 \fp_new:N \l__eb_spread_caption_fp
@@ -1747,7 +1746,7 @@
 
 \ctex_define:nn { spread }
   {
-    line .fp_set:N      = \l__eb_spread_line_fp,
+    line .code:n        = \AfterPreamble{\setspread{#1}},
     line .initial:n     = 1.3,
     table .fp_set:N     = \l__eb_spread_table_fp,
     table .initial:n    = 1.2,
@@ -1809,11 +1808,6 @@
     \exp_args:Nx
     \setspread { \fp_use:N \l__eb_spread_table_fp }
   }
-\ctex_after_end_preamble:n
-  {
-    \exp_args:Nx
-    \setspread { \fp_use:N \l__eb_spread_line_fp }
-  }
 
 \bool_if:NF \l__eb_float_page_bool
   {
@@ -1964,7 +1958,7 @@
 \cs_set_eq:NN \eb at declaretheorem@save \declaretheorem
 \cs_set_eq:NN \eb at declaretheoremsyle@save \declaretheoremstyle
 \RenewDocumentCommand{\declaretheorem}{O{}mO{}}
-  {\AfterPreamble{\eb at declaretheorem@save[#1,#3]{#2}}}
+  {\AtBeginDocument{\eb at declaretheorem@save[#1,#3]{#2}}}
 \RenewDocumentCommand{\declaretheoremstyle}{O{}mO{}}
   {\eb at declaretheoremsyle@save[#1,#3]{#2}}
 \cs_set_eq:NN \newtheorem \declaretheorem
@@ -2451,7 +2445,7 @@
   }
 %</package>
 %<*tcolorbox>
-\ProvidesExplFile{eb-tcolorbox.cfg}{2021/10/25}{1.40E}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2021/10/25}{1.40F}
   {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-10-28 19:45:22 UTC (rev 60881)
+++ trunk/Master/texmf-dist/tex/latex/easybook/easybase.sty	2021-10-28 19:45:45 UTC (rev 60882)
@@ -20,7 +20,7 @@
 %% This work has the LPPL maintenance status `maintained'.
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
 \RequirePackage{l3keys2e,etoolbox}
-\ProvidesExplPackage{easybase}{2021/10/25}{1.40E}
+\ProvidesExplPackage{easybase}{2021/10/25}{1.40F}
   {Typeset Chinese theses or books}
 
 \cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -1434,7 +1434,6 @@
     unknown .code:n = \eb_msg_unknown_option:n { subfont }
   }
 
-\fp_new:N \l__eb_spread_line_fp
 \fp_new:N \l__eb_spread_table_fp
 \fp_new:N \l__eb_spread_math_fp
 \fp_new:N \l__eb_spread_caption_fp
@@ -1442,7 +1441,7 @@
 
 \ctex_define:nn { spread }
   {
-    line .fp_set:N      = \l__eb_spread_line_fp,
+    line .code:n        = \AfterPreamble{\setspread{#1}},
     line .initial:n     = 1.3,
     table .fp_set:N     = \l__eb_spread_table_fp,
     table .initial:n    = 1.2,
@@ -1504,11 +1503,6 @@
     \exp_args:Nx
     \setspread { \fp_use:N \l__eb_spread_table_fp }
   }
-\ctex_after_end_preamble:n
-  {
-    \exp_args:Nx
-    \setspread { \fp_use:N \l__eb_spread_line_fp }
-  }
 
 \bool_if:NF \l__eb_float_page_bool
   {
@@ -1659,7 +1653,7 @@
 \cs_set_eq:NN \eb at declaretheorem@save \declaretheorem
 \cs_set_eq:NN \eb at declaretheoremsyle@save \declaretheoremstyle
 \RenewDocumentCommand{\declaretheorem}{O{}mO{}}
-  {\AfterPreamble{\eb at declaretheorem@save[#1,#3]{#2}}}
+  {\AtBeginDocument{\eb at declaretheorem@save[#1,#3]{#2}}}
 \RenewDocumentCommand{\declaretheoremstyle}{O{}mO{}}
   {\eb at declaretheoremsyle@save[#1,#3]{#2}}
 \cs_set_eq:NN \newtheorem \declaretheorem

Modified: trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls	2021-10-28 19:45:22 UTC (rev 60881)
+++ trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls	2021-10-28 19:45:45 UTC (rev 60882)
@@ -20,7 +20,7 @@
 %% This work has the LPPL maintenance status `maintained'.
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
 \RequirePackage{l3keys2e}
-\ProvidesExplClass{easybook}{2021/10/25}{1.40E}
+\ProvidesExplClass{easybook}{2021/10/25}{1.40F}
   {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	2021-10-28 19:45:22 UTC (rev 60881)
+++ trunk/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg	2021-10-28 19:45:45 UTC (rev 60882)
@@ -18,7 +18,7 @@
 %% LaTeX version 2005/12/01 or later.
 %% 
 %% This work has the LPPL maintenance status `maintained'.
-\ProvidesExplFile{eb-tcolorbox.cfg}{2021/10/25}{1.40E}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2021/10/25}{1.40F}
   {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.