summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/easybook/easybase.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-03-13 20:47:37 +0000
committerKarl Berry <karl@freefriends.org>2022-03-13 20:47:37 +0000
commit39292ad9c4659dad3650f9181e340b0c4016551a (patch)
treea80b78a3ed463610016d41a53acc41509f3f62ab /Master/texmf-dist/tex/latex/easybook/easybase.sty
parent9b832a90d248d52eb19c196550eb2809cb04975d (diff)
easybook (13mar22)
git-svn-id: svn://tug.org/texlive/trunk@62682 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/easybook/easybase.sty')
-rw-r--r--Master/texmf-dist/tex/latex/easybook/easybase.sty13
1 files changed, 6 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/easybook/easybase.sty b/Master/texmf-dist/tex/latex/easybook/easybase.sty
index 0f3a998a38e..9046bcebb73 100644
--- a/Master/texmf-dist/tex/latex/easybook/easybase.sty
+++ b/Master/texmf-dist/tex/latex/easybook/easybase.sty
@@ -20,7 +20,7 @@
%% This work has the LPPL maintenance status `maintained'.
\NeedsTeXFormat{LaTeX2e}[2020/10/01]
\RequirePackage{l3keys2e,etoolbox}
-\ProvidesExplPackage{easybase}{2022/03/11}{1.645}
+\ProvidesExplPackage{easybase}{2022/03/13}{1.648}
{Easily typesetting Chinese theses or books}
\cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -147,7 +147,6 @@
}
\PassOptionsToPackage{list = off}{bicaption}
-\PassOptionsToPackage{nonewpage}{imakeidx}
\PassOptionsToPackage{upint}{newtxmath}
\PassOptionsToPackage{svgnames}{xcolor}
\PassOptionsToPackage{many}{tcolorbox}
@@ -191,6 +190,7 @@
\newcounter{chapter}
\providebool{@mainmatter}
\bool_set_false:N \l__eb_class_mode_book_bool
+ \ctex_define:n { chapter .meta:nn = { ctex/chapter } {#1} }
\ctex_define:n { chapter/tocline .code:n = { } }
}
\bool_if:NF \l__eb_class_mode_book_bool
@@ -350,8 +350,6 @@
{ \use:c { eb@mark@#1@label@layout }{##1} }
}
}
-\cs_gset_eq:NN \easyhead \fancyhead
-\cs_gset_eq:NN \easyfoot \fancyfoot
\NewDocumentCommand{\markrule}
{O{\textwidth}D(){ctex@frame}m>{\SplitArgument{1}{|}}O{}}
{\eb_draw_markrule:nnnnn {#1} {#2} {#3} #4}
@@ -605,6 +603,7 @@
{ plain,hang,bottom,para,flush }
{ \eb_footnote_value_handle:n {#1} },
footnotetype .value_required:n = true,
+ footnotetype/default .meta:n = footnotetype/plain,
footnotetype .initial:n = hang,
fnmark-vmove .code:n = \eb_fnmate_move_set:nnn {#1} { mark } { v },
fnmark-hmove .code:n = \eb_fnmate_move_set:nnn {#1} { mark } { h },
@@ -939,13 +938,13 @@
\NewDocumentCommand{\counteruse}{sO{arabic}D(){.}mod()}
{
\IfBooleanF{#1}{\stepcounter{#4}}
- \tl_set:cn { theeb@#4 }
+ \tl_set:cn { theeb-#4 }
{
\IfValueT{#5}{\use:c { the#5 }#3}
\use:c {#2}{#4}
}
- \tl_use:c { theeb@#4 }
- \eb_current_label:n { eb@#4 }
+ \tl_use:c { theeb-#4 }
+ \eb_current_label:n { eb-#4 }
}
\cs_new:Npn \eb_section_counter_prefix:n #1
{