diff options
author | Karl Berry <karl@freefriends.org> | 2024-06-22 20:22:01 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-06-22 20:22:01 +0000 |
commit | c50874c944f672a8813f8f1d3e8532c23eacea2d (patch) | |
tree | 22d9ab90f0d72f78a4f22aabca8719dc613bb8ce /Master/texmf-dist/source | |
parent | b29f9e4f4b92c0320478c0efb1b3c4d69daa19ff (diff) |
easybook (22jun24)
git-svn-id: svn://tug.org/texlive/trunk@71589 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r-- | Master/texmf-dist/source/latex/easybook/easybook.dtx | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/Master/texmf-dist/source/latex/easybook/easybook.dtx b/Master/texmf-dist/source/latex/easybook/easybook.dtx index 8bdec3e16d8..65492e93f75 100644 --- a/Master/texmf-dist/source/latex/easybook/easybook.dtx +++ b/Master/texmf-dist/source/latex/easybook/easybook.dtx @@ -14,13 +14,13 @@ % This work has the LPPL maintenance status `maintained'. %<class|package>\NeedsTeXFormat{LaTeX2e}[2021/11/15] %<*class> -\ProvidesExplClass{easybook}{2024/06/20}{2024cg} +\ProvidesExplClass{easybook}{2024/06/22}{2024ci} {Easily typesetting Chinese theses or books} \bool_new:N \l__eb_compile_draft_bool \bool_new:N \l__eb_title_newline_bool -\bool_set_true:N \l__eb_class_mode_book_bool -\clist_new:N \g__eb_doc_options_clist +\bool_set_true:N \l__eb_class_mode_book_bool +\clist_new:N \g__eb_doc_options_clist \cs_new_protected:Npn \eb_put_ctexbook:n #1 { \PassOptionsToClass{#1}{ctexbook} } \cs_generate_variant:Nn \eb_put_ctexbook:n { V } @@ -66,10 +66,11 @@ \sys_if_engine_xetex:TF { - \cs_new_eq:NN \eb_set_family:nnn \xeCJK_set_family:nnn + \cs_new_eq:NN \eb_set_family:nnn \xeCJK_set_family:nnn \cs_new_eq:NN \eb_switch_family:n \xeCJK_switch_family:n - }{ - \cs_new_eq:NN \eb_set_family:nnn \ctex_ltj_set_family:nnn + } + { + \cs_new_eq:NN \eb_set_family:nnn \ctex_ltj_set_family:nnn \cs_new_eq:NN \eb_switch_family:n \ctex_ltj_switch_family:n } \cs_generate_variant:Nn \eb_set_family:nnn { x } @@ -300,7 +301,7 @@ %</class> %<*package> \RequirePackage{etoolbox} -\ProvidesExplPackage{easybase}{2024/06/20}{2024cg} +\ProvidesExplPackage{easybase}{2024/06/22}{2024ci} {Easily typesetting Chinese theses or books} \cs_generate_variant:Nn \dim_set:Nn { NV } @@ -1023,7 +1024,7 @@ { \noindent \clist_if_in:NnT \l__eb_footnote_value_clist { flush } - { \dim_zero:N \fnfirstindent } + { \tl_set:Nn \fnfirstindent { 0pt } } \int_case:nn { \dim_sign:V \fnfirstindent } { { 1 } { \use_i:nnn } @@ -1771,8 +1772,7 @@ { \tl_if_exist:cF { tf@#1 } { \iow_new:c { tf@#1 }\iow_open:cn { tf@#1 } { \jobname.#1 } } - } - {} + }{} } \cs_set_eq:NN \eb@starttoc \@starttoc \cs_set:Npn \@starttoc #1 @@ -2625,7 +2625,7 @@ } %</package> %<*tcolorbox> -\ProvidesExplFile{eb-tcolorbox.cfg}{2024/06/20}{2024cg} +\ProvidesExplFile{eb-tcolorbox.cfg}{2024/06/22}{2024ci} {Customization of tcolorbox for easybook} \cs_set_protected:Npn \addtotcbstyle #1#2 |