From 876d640726265ada7e067f22dda368dd49ed9ad1 Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Thu, 27 Oct 2022 03:01:07 +0000
Subject: CTAN sync 202210270300

---
 macros/latex/contrib/easybook/easybook.tex | 53 ++++++++++++++----------------
 1 file changed, 25 insertions(+), 28 deletions(-)

(limited to 'macros/latex/contrib/easybook/easybook.tex')

diff --git a/macros/latex/contrib/easybook/easybook.tex b/macros/latex/contrib/easybook/easybook.tex
index e40bd1ed4c..c6b3f101cb 100644
--- a/macros/latex/contrib/easybook/easybook.tex
+++ b/macros/latex/contrib/easybook/easybook.tex
@@ -1,19 +1,18 @@
-\PassOptionsToPackage{dvipsnames}{xcolor}
 \documentclass[load-preamble+]{cnltx-doc}
 
 \usepackage[fontset = fandol]{ctex}
 \usepackage
   {
-    enumitem,newtxmath,indentfirst,tabularray,
+    enumitem,newtxmath,indentfirst,tabularray,ninecolors,
     fancyvrb,geometry,hologo,pifont,changelog
   }
 \definecolorscheme{blue}
   {
-    cs          => Plum,
-    option      => PineGreen,
-    cnltx       => RoyalBlue,
-    link        => OrangeRed,
-    module      => YellowOrange,
+    cs          => violet,
+    option      => olive6,
+    cnltx       => blue,
+    link        => purple5,
+    module      => orange,
     meta        => black,
     versionnote => black
   }
@@ -22,8 +21,8 @@
     name            = easybook,
     color-scheme    = blue,
     title           = EASYBOOK使用手册,
-    version         = v1.71,
-    date            = 2022/10/15,
+    version         = v1.71A,
+    date            = 2022/10/26,
     authors         = 瞿毅,
     info            = 简便地排版中文学位论文或书籍,
     email           = toquyi@163.com,
@@ -39,20 +38,20 @@
   }
 \KOMAoptions{numbers = noenddot}
 \setfootnoterule[0.5pt]{0.4\columnwidth}
-\addtokomafont{headsepline}{\color{RoyalBlue}}
-\addtokomafont{footnoterule}{\color{RoyalBlue}}
+\addtokomafont{headsepline}{\color{blue}}
+\addtokomafont{footnoterule}{\color{blue}}
 \addtokomafont{section}{\normalfont\sffamily}
 \addtokomafont{subsection}{\normalfont\sffamily}
 \addtokomafont{subsubsection}{\normalfont\sffamily}
 \DeclareTOCStyleEntry[entryformat = \sffamily]{default}{section}
 \DeclareFieldFormat[book]{title}{\textsf{#1}}
 \geometry{margin = 1in,marginparwidth = 0.6in}
-\SetEnumitemValue{label}{smallbullet}{\small\color{RoyalBlue}\textbullet}
+\SetEnumitemValue{label}{smallbullet}{\small\color{blue}\textbullet}
 \setlist{nosep,topsep = \smallskipamount,labelsep = 0.5em}
 \setlist[1]{labelindent = \parindent}
 \setlist[itemize,1]{label = smallbullet,leftmargin = *}
 \setcounter{tocdepth}{2}
-\SetTblrInner{hline{1,Z} = {0.8pt,RoyalBlue}}
+\SetTblrInner{hline{1,Z} = {0.8pt,blue}}
 
 \ExplSyntaxOn\makeatletter
 % * Do not add entries to the index
@@ -139,10 +138,10 @@
     baselinestretch = 1.2,
     gobble          = 2,
     fontsize        = \small,
-    rulecolor       = \color{RoyalBlue},
+    rulecolor       = \color{blue},
     framerule       = 0.5pt,
     frame           = single,
-    framesep        = 10pt
+    framesep        = 6pt
   }
 \DefineVerbatimEnvironment{frameverb}{Verbatim}
   {
@@ -228,15 +227,15 @@
   {
     colspec       = @{}*{5}{c}@{},
     cells = {cmd  = \pkg*},
-    cell{1}{3,4}  = brown8,
-    cell{2}{5}    = brown8,
-    cell{3}{2,4}  = brown8,
-    cell{5}{1}    = brown8,
-    cell{1}{2}    = cyan8,
-    cell{3}{1,4}  = cyan8,
-    cell{5}{2}    = cyan8
+    cell{1}{3,4}  = yellow8,
+    cell{2}{5}    = yellow8,
+    cell{3}{2,4}  = yellow8,
+    cell{5}{1}    = yellow8,
+    cell{1}{2}    = green8,
+    cell{3}{1,4}  = green8,
+    cell{5}{2}    = green8
   }{
-    amsthm & bicaption & ctex & caption & chemformula \\
+    amsthm & bicaption & ctexbook & caption & chemformula \\
     enumitem & etoolbox & fancyhdr & geometry & hyperref \\
     imakeidx & listings & marginnote & mathtools & multicol \\
     pifont & pdfpages & siunitx & spbmark & thmtools \\
@@ -287,7 +286,7 @@
   \insertblr
   {
     colspec   = @{}*{4}{c}@{},
-    hline{2}  = {0.5pt,RoyalBlue},
+    hline{2}  = {0.5pt,blue},
     row{1}    = {font = \sffamily},
     column{1} = {cmd = \code}
   }{
@@ -324,7 +323,7 @@
   \insertblr
   {
     colspec   = @{}*{5}{c}@{},
-    hline{3}  = {0.5pt,RoyalBlue},
+    hline{3}  = {0.5pt,blue},
     row{1,3}  = {font = \sffamily,belowsep = 0pt},
     row{2,4}  = {cmd = \module*}
   }{
@@ -1170,9 +1169,7 @@
 \begin{commands}\noitemsep
   \command{newcounter}[\marg{计数器}\oarg{父计数器}]\default{}
   \command{counteruse}[\sarg\oarg{编号}\darg{分隔符}\marg{计数器}\oarg{父计数器}]
-  命令 \cs{newcounter} 是 \LaTeX 自带的创建计数器命令，计数器值输出命令 \cs{counteruse} 将会以 \cs*{the}\meta{父计数器}\meta{分隔符}\cs*{the}\meta{计数器} 形式输出这种计数器的值。命令 \cs{counteruse} 仅具有\textbf{输出功能}，并不会改变计数器原有的绑定关系。默认每使用一次命令 \meta{计数器} 的值增加1，带有星号参数的命令使 \meta{计数器} 的值保持不变。计数器的 \meta{编号} 为 \code{arabic} 或 \code{alph} 等计数形式。
-
-  在一定的场合下可能用到 \cs{counteruse} 命令，比如通过新建快捷命令在一些位置使用定理环境的计数器。使用 \cs{labelformat} 设置计数器的标签引用时需添加 \code{eb-} 前缀：
+  命令 \cs{newcounter} 是 \LaTeX 自带的创建计数器命令。命令 \cs{counteruse} 可以在当前位置输出这种计数器的值，它仅具有\textbf{输出功能}，并不会改变计数器原有的绑定关系。默认每使用一次输出命令 \meta{计数器} 的值增加1，带有星号参数的命令使 \meta{计数器} 的值保持不变。计数器的 \meta{编号} 为 \code{arabic} 或 \code{alph} 等计数形式。在一定的场合下可能用到 \cs{counteruse} 命令，比如通过新建快捷命令在一些位置使用定理环境的计数器。使用 \cs{labelformat} 设置计数器的标签引用时需添加 \code{eb-} 前缀：
   \begin{ctexexam}
   \labelformat{eb-theorem}{定理#1}
   \newcommand{\theoremhead}[1]{定理\counteruse{theorem}[chapter]\hspace{1em}#1}
-- 
cgit v1.2.3

