diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/easybook/easybook.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/easybook/easybook.cls | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/easybook/easybook.cls b/Master/texmf-dist/tex/latex/easybook/easybook.cls index 60d3163cc03..637ec260f2c 100644 --- a/Master/texmf-dist/tex/latex/easybook/easybook.cls +++ b/Master/texmf-dist/tex/latex/easybook/easybook.cls @@ -19,13 +19,13 @@ %% %% This work has the LPPL maintenance status `maintained'. \NeedsTeXFormat{LaTeX2e}[2021/11/15] -\ProvidesExplClass{easybook}{2024/06/18}{2024cf} +\ProvidesExplClass{easybook}{2024/06/24}{2024cm} {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 } @@ -71,10 +71,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 } |