From b229ca426d9d7fee0e3c48c58a00ffcf3da66cb0 Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Sat, 13 Aug 2022 03:01:44 +0000
Subject: CTAN sync 202208130301

---
 macros/latex/contrib/easybook/easybook.tex | 23 ++++++++++++++---------
 1 file changed, 14 insertions(+), 9 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 ef0b16e0ba..e20dc7f0ab 100644
--- a/macros/latex/contrib/easybook/easybook.tex
+++ b/macros/latex/contrib/easybook/easybook.tex
@@ -21,8 +21,8 @@
     name            = easybook,
     color-scheme    = blue,
     title           = EASYBOOK使用手册,
-    version         = v1.69,
-    date            = 2022/08/03,
+    version         = v1.70,
+    date            = 2022/08/12,
     authors         = 瞿毅,
     info            = 简便地排版中文学位论文或书籍,
     email           = toquyi@163.com,
@@ -132,11 +132,19 @@
 \newcounter{ctexexam}
 \define@key{FV}{labelref}{\def\ctexexamlabelref{\label{#1}}}
 \let\ctexexamlabelref\empty
+\fvset
+  {
+    formatcom       = \xeCJKVerbAddon,
+    baselinestretch = 1.2,
+    gobble          = 2,
+    fontsize        = \small,
+    rulecolor       = \color{Blue},
+    framerule       = 0.5pt,
+    frame           = single,
+    framesep        = 10pt
+  }
 \DefineVerbatimEnvironment{frameverb}{Verbatim}
   {
-    baselinestretch = 1.2,gobble = 2,fontsize = \small,
-    rulecolor = \color{Blue},framerule = 0.5pt,
-    frame = single,framesep = 10pt,
     listparameters =
       {
         \setlength{\topsep}{\bigskipamount}
@@ -145,15 +153,12 @@
   }
 \DefineVerbatimEnvironment{ctexexam}{Verbatim}
   {
-    baselinestretch = 1.2,gobble = 2,fontsize = \small,
-    rulecolor = \color{Blue},framerule = 0.5pt,
-    frame = single,framesep = 10pt,
     label = \rule{0pt}{12pt}\textnormal{\bfseries 例 \arabic{ctexexam}},
     listparameters =
       {
         \setlength{\topsep}{\bigskipamount}
-        \refstepcounter{ctexexam}\ctexexamlabelref
         \appto\FV@EndList{\nointerlineskip}
+        \refstepcounter{ctexexam}\ctexexamlabelref
       }
   }
 \makeatother\ExplSyntaxOff
-- 
cgit v1.2.3

