texlive[73093] Master/texmf-dist: easybook (10dec24)
commits+karl at tug.org
commits+karl at tug.org
Tue Dec 10 22:43:52 CET 2024
Revision: 73093
https://tug.org/svn/texlive?view=revision&revision=73093
Author: karl
Date: 2024-12-10 22:43:52 +0100 (Tue, 10 Dec 2024)
Log Message:
-----------
easybook (10dec24)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/easybook/README.md
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/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/easybook/README.md 2024-12-10 21:43:42 UTC (rev 73092)
+++ trunk/Master/texmf-dist/doc/latex/easybook/README.md 2024-12-10 21:43:52 UTC (rev 73093)
@@ -1,5 +1,5 @@
# The `easybook` document class
-Easily typesetting Chinese theses or books (v2024hp)
+Easily typesetting Chinese theses or books (v2024hq)
## Abstract
`easybook` is a pure academic template created based on the `ctexbook` book document class. It also has the functions of `book` and `article` document class. Combined with the general framework design of the theses of many universities in China, providing multiple commands and interfaces allows users to easily customize the theses templates. Its basic macro package `easybase` can also be used with `ctex` and standard document classes.
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-12-10 21:43:42 UTC (rev 73092)
+++ trunk/Master/texmf-dist/doc/latex/easybook/easybook.tex 2024-12-10 21:43:52 UTC (rev 73093)
@@ -23,8 +23,8 @@
name = easybook,
color-scheme = blue,
title = EASYBOOK使用手册,
- version = v2024hp,
- date = 2024/12/03,
+ version = v2024hq,
+ date = 2024/12/09,
authors = 瞿毅,
info = 简便地排版中文学位论文或书籍,
email = toquyi at 163.com,
@@ -825,11 +825,11 @@
\begin{cnltxlist}[itemsep = 0ex]
\command{SetFntSymbsList}[\marg{符号表名}\marg{符号数量}\marg{符号列表}]\nonl
\command{UseFntSymbsList}[\marg{符号表名}]
- 这两个命令用于在脚注短编号标记为 \code{s} 自定义符号型时设置符号列表。\cs{SetFntSymbsList} 命令用于定义名为 \meta{符号表名} 的符号列表,\cs{UseFntSymbsList} 命令用于启用已定义的符号列表。默认的脚注符号列表是空的,注意使用符号型标记的脚注时计数器 \code{footnote} 的值仍然递增,以及定义新列表时 \meta{符号列表} 的写法和命令顺序:
+ 这两个命令用于设置自定义符号型脚注短编号标记 \code{s} 的符号列表。\cs{SetFntSymbsList} 命令用于定义名为 \meta{符号表名} 的符号列表,\cs{UseFntSymbsList} 命令用于启用已定义的符号列表。默认的脚注符号列表名为 \code{fnsymbol},只支持9个编号。注意使用符号型标记的脚注时计数器 \code{footnote} 的值仍然递增,以及定义新列表时 \meta{符号列表} 的写法和命令顺序:
\begin{ctexexam}
\SetFntSymbsList{fancy}{2}{{1}{*}{2}{\P}}
\UseFntSymbsList{fancy}
- \ebhdrset{fnmark-num = s}
+ \ebhdrset{fnnormal-num = s}
\end{ctexexam}
\end{cnltxlist}
\keychoice{fntext-num}{\fbox{plain},pifont,pifont*,pisans,pisans*,\optpath*{short num}}
Modified: trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx 2024-12-10 21:43:42 UTC (rev 73092)
+++ trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx 2024-12-10 21:43:52 UTC (rev 73093)
@@ -14,7 +14,7 @@
% This work has the LPPL maintenance status `maintained'.
%<class|package>\NeedsTeXFormat{LaTeX2e}[2021/11/15]
%<*class>
-\ProvidesExplClass{easybook}{2024/12/03}{2024hp}
+\ProvidesExplClass{easybook}{2024/12/09}{2024hq}
{Easily typesetting Chinese theses or books}
\bool_new:N \l__eb_compile_draft_bool
@@ -302,7 +302,7 @@
%</class>
%<*package>
\RequirePackage{etoolbox}
-\ProvidesExplPackage{easybase}{2024/12/03}{2024hp}
+\ProvidesExplPackage{easybase}{2024/12/09}{2024hq}
{Easily typesetting Chinese theses or books}
\cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -749,7 +749,7 @@
{
\quark_if_recursion_tail_stop:n {#1}
\quark_if_recursion_tail_stop:n {#2}
- { #1 + \int_use:N \c at footnote } {#2}
+ { #1 + \int_use:N \c at footnote } { \exp_not:n {#2} }
\eb_fnt_map_symbols_list:nn
}
\cs_new_protected:Npn \SetFntSymbsList #1#2#3
@@ -772,7 +772,20 @@
\msg_new:nnn { easybase } { undefined-fntsymbol }
{ The~list~of~footnote~symbols~'#1'~isn't~defined. }
\SetFntSymbsList{empty}{1}{}
-\UseFntSymbsList{empty}
+\SetFntSymbsList{fnsymbol}{10}
+ {
+ { 1 } { $*$ }
+ { 2 } { $\dagger$ }
+ { 3 } { $\ddagger$ }
+ { 4 } { $\mathsection$ }
+ { 5 } { $\mathparagraph$ }
+ { 6 } { $\|$ }
+ { 7 } { $**$ }
+ { 8 } { $\dagger\dagger$ }
+ { 9 } { $\ddagger\ddagger$ }
+ { 10 } { \@ctrerr }
+ }
+\UseFntSymbsList{fnsymbol}
\cs_set_eq:NN \DefineFntSymbols \SetFntSymbsList
\cs_set_eq:NN \setfntsymbol \UseFntSymbsList
\tl_new:N \l__eb_fnnormal_tmpa_tl
@@ -2983,7 +2996,7 @@
}
%</package>
%<*tcolorbox>
-\ProvidesExplFile{eb-tcolorbox.cfg}{2024/12/03}{2024hp}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2024/12/09}{2024hq}
{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-12-10 21:43:42 UTC (rev 73092)
+++ trunk/Master/texmf-dist/tex/latex/easybook/easybase.sty 2024-12-10 21:43:52 UTC (rev 73093)
@@ -20,7 +20,7 @@
%% This work has the LPPL maintenance status `maintained'.
\NeedsTeXFormat{LaTeX2e}[2021/11/15]
\RequirePackage{etoolbox}
-\ProvidesExplPackage{easybase}{2024/12/03}{2024hp}
+\ProvidesExplPackage{easybase}{2024/12/09}{2024hq}
{Easily typesetting Chinese theses or books}
\cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -467,7 +467,7 @@
{
\quark_if_recursion_tail_stop:n {#1}
\quark_if_recursion_tail_stop:n {#2}
- { #1 + \int_use:N \c at footnote } {#2}
+ { #1 + \int_use:N \c at footnote } { \exp_not:n {#2} }
\eb_fnt_map_symbols_list:nn
}
\cs_new_protected:Npn \SetFntSymbsList #1#2#3
@@ -490,7 +490,20 @@
\msg_new:nnn { easybase } { undefined-fntsymbol }
{ The~list~of~footnote~symbols~'#1'~isn't~defined. }
\SetFntSymbsList{empty}{1}{}
-\UseFntSymbsList{empty}
+\SetFntSymbsList{fnsymbol}{10}
+ {
+ { 1 } { $*$ }
+ { 2 } { $\dagger$ }
+ { 3 } { $\ddagger$ }
+ { 4 } { $\mathsection$ }
+ { 5 } { $\mathparagraph$ }
+ { 6 } { $\|$ }
+ { 7 } { $**$ }
+ { 8 } { $\dagger\dagger$ }
+ { 9 } { $\ddagger\ddagger$ }
+ { 10 } { \@ctrerr }
+ }
+\UseFntSymbsList{fnsymbol}
\cs_set_eq:NN \DefineFntSymbols \SetFntSymbsList
\cs_set_eq:NN \setfntsymbol \UseFntSymbsList
\tl_new:N \l__eb_fnnormal_tmpa_tl
Modified: trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls 2024-12-10 21:43:42 UTC (rev 73092)
+++ trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls 2024-12-10 21:43:52 UTC (rev 73093)
@@ -19,7 +19,7 @@
%%
%% This work has the LPPL maintenance status `maintained'.
\NeedsTeXFormat{LaTeX2e}[2021/11/15]
-\ProvidesExplClass{easybook}{2024/12/03}{2024hp}
+\ProvidesExplClass{easybook}{2024/12/09}{2024hq}
{Easily typesetting Chinese theses or books}
\bool_new: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 2024-12-10 21:43:42 UTC (rev 73092)
+++ trunk/Master/texmf-dist/tex/latex/easybook/eb-tcolorbox.cfg 2024-12-10 21:43:52 UTC (rev 73093)
@@ -18,7 +18,7 @@
%% LaTeX version 2005/12/01 or later.
%%
%% This work has the LPPL maintenance status `maintained'.
-\ProvidesExplFile{eb-tcolorbox.cfg}{2024/12/03}{2024hp}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2024/12/09}{2024hq}
{Customization of tcolorbox for easybook}
\cs_set_protected:Npn \addtotcbstyle #1#2
More information about the tex-live-commits
mailing list.