summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-03-06 21:59:48 +0000
committerKarl Berry <karl@freefriends.org>2021-03-06 21:59:48 +0000
commit412e15a916461924ffadb26dbc1b8d25a54a3caa (patch)
treea3e329d5ed5a3901fae9964fedeb03fce587ca27
parent57a9dbf66b68d9ca82f38bfd6115fdc284c30f5d (diff)
easybook (6mar21)
git-svn-id: svn://tug.org/texlive/trunk@58170 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/easybook/easybook-demo.pdfbin290315 -> 290313 bytes
-rw-r--r--Master/texmf-dist/doc/latex/easybook/easybook-demo.tex2
-rw-r--r--Master/texmf-dist/doc/latex/easybook/easybook.pdfbin232988 -> 233131 bytes
-rw-r--r--Master/texmf-dist/doc/latex/easybook/easybook.tex16
-rw-r--r--Master/texmf-dist/tex/latex/easybook/easybook.cls18
5 files changed, 18 insertions, 18 deletions
diff --git a/Master/texmf-dist/doc/latex/easybook/easybook-demo.pdf b/Master/texmf-dist/doc/latex/easybook/easybook-demo.pdf
index de4a50f6f7e..e844013e3c0 100644
--- a/Master/texmf-dist/doc/latex/easybook/easybook-demo.pdf
+++ b/Master/texmf-dist/doc/latex/easybook/easybook-demo.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/easybook/easybook-demo.tex b/Master/texmf-dist/doc/latex/easybook/easybook-demo.tex
index d8e06d9ee11..f98cbd19076 100644
--- a/Master/texmf-dist/doc/latex/easybook/easybook-demo.tex
+++ b/Master/texmf-dist/doc/latex/easybook/easybook-demo.tex
@@ -95,7 +95,7 @@
\github~\url{https://github.com/texl3/easybook} \\
\edge~\url{https://latexstudio.net}
}
-\date{2021/02/28\hskip\ccwd\relax v1.23i}
+\date{2021/03/06\hskip\ccwd\relax v1.23j}
\frontmatter[roman]
\maketitle
diff --git a/Master/texmf-dist/doc/latex/easybook/easybook.pdf b/Master/texmf-dist/doc/latex/easybook/easybook.pdf
index 81448f5cd07..7d3e9a99dbd 100644
--- a/Master/texmf-dist/doc/latex/easybook/easybook.pdf
+++ b/Master/texmf-dist/doc/latex/easybook/easybook.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/easybook/easybook.tex b/Master/texmf-dist/doc/latex/easybook/easybook.tex
index 2816153ca06..caa87380f76 100644
--- a/Master/texmf-dist/doc/latex/easybook/easybook.tex
+++ b/Master/texmf-dist/doc/latex/easybook/easybook.tex
@@ -3,7 +3,7 @@
\title{\sffamily easybook书籍文档类}
\author{瞿毅}
-\date{2021/02/28\hskip\ccwd\relax v1.23i\thanks{\url{https://gitee.com/texl3/easybook}}}
+\date{2021/03/06\hskip\ccwd\relax v1.23j\thanks{\url{https://gitee.com/texl3/easybook}}}
\begin{document}
\maketitle
@@ -98,7 +98,7 @@
\tn{frontmatter}\oarg{编号格式|(Roman)}
\tn{printindex}\oarg{索引名}
\end{syntax}
-\changes{v1.23i}{2021/02/20}{重新定义文档结构划分命令。}
+\changes{v1.23j}{2021/02/20}{重新定义文档结构划分命令。}
\tn{frontmatter} 为前言区命令,章标题不编号,页码可设置为例如 \opt{roman}、\opt{Alph} 等格式,带有星号的命令 \tn{frontmatter*} 不使用 \tn{cleardoublepage}。\tn{mainmatter} 为主文区命令,章标题正常编号且页码为从1开始计数的阿拉伯数字,\tn{mainmatter*} 命令不使用 \tn{cleardoublepage}。\tn{backmatter} 为后记区命令,页码格式与编号保持不变,章标题不编号。\tn{listoffigures} 命令输出图片目录,\tn{listoftables} 命令输出表格目录,\tn{listoflistings} 命令输出代码目录。
\end{function}
@@ -132,8 +132,8 @@
uppercase = <(true)|false>
\end{syntax}
\changes{v1.10}{2021/01/08}{更改颜色实现方式与选项名。}
-\changes{v1.23i}{2021/02/02}{noto风格的数学字体独立出来,可自定义设置。}
-\changes{v1.23i}{2021/02/09}{增加控制页面横线粗细的选项。}
+\changes{v1.23j}{2021/02/02}{noto风格的数学字体独立出来,可自定义设置。}
+\changes{v1.23j}{2021/02/09}{增加控制页面横线粗细的选项。}
\opt{style} 选项控制文章的风格。
\end{function}
@@ -190,7 +190,7 @@
footnote = <(1)>
\end{syntax}
\changes{v1.21}{2021/01/12}{增加脚注线间的距离选项。}
-\changes{v1.23i}{2021/02/09}{取消使用 \pkg{zhlineskip} 宏包设置数学间距。}
+\changes{v1.23j}{2021/02/09}{取消使用 \pkg{zhlineskip} 宏包设置数学间距。}
行距因子用于设置各种行距倍数,只能是浮点数,不能带有长度单位。\tn{ctexset} 原有的行距选项\opt{linespread}失效。各行距既可在导言区全局设置也可正文中设置对后面生效,行距的意义为
\end{function}
@@ -212,7 +212,7 @@
marginpart = <\tn{rmfamily}\tn{footnotesize}>
\end{syntax}
\changes{v1.10}{2021/01/08}{加入自定义非正文字体选项。}
-\changes{v1.23i}{2021/02/08}{修复使用 \tn{zihao} 命令设置字体失效的问题。}
+\changes{v1.23j}{2021/02/08}{修复使用 \tn{zihao} 命令设置字体失效的问题。}
\end{function}
\begin{optdesc}
@@ -233,7 +233,7 @@
\tn{printbibliography}\oarg{选项列表}
\end{syntax}
\changes{v1.21}{2021/01/11}{增加 \opt{bibset} 选项,可以使用 \hologo{BibTeX} 或 \hologo{biber} 编译参考文献。}
-\changes{v1.23i}{2021/02/23}{使用 \opt{bibset} 选项时可设置标注风格。}
+\changes{v1.23j}{2021/02/23}{使用 \opt{bibset} 选项时可设置标注风格。}
\end{function}
\begin{optdesc}
@@ -432,7 +432,7 @@
\tn{item} <习题内容>
\tn{end}\marg{exercise}
\end{syntax}
-\changes{v1.23i}{2021/02/08}{增加准确的习题盒子标题目录锚点。}
+\changes{v1.23j}{2021/02/08}{增加准确的习题盒子标题目录锚点。}
习题环境 \opt{exercise} 的标题紧接上一节编号并加入目录与页眉,当使用星号环境时不进行编号。三个可选参数中颜色为自定义或 \pkg{xcolor} 包含的颜色名称,正文编号格式与小节 \ref{sort list} 排序列表相同,标题名默认为摘要,参数只能\textbf{从右往左}省略。
\begin{ctexexam}
\begin{exercise}[LightYellow][1.][习题]
diff --git a/Master/texmf-dist/tex/latex/easybook/easybook.cls b/Master/texmf-dist/tex/latex/easybook/easybook.cls
index ab8310e6a37..29fce05d8af 100644
--- a/Master/texmf-dist/tex/latex/easybook/easybook.cls
+++ b/Master/texmf-dist/tex/latex/easybook/easybook.cls
@@ -9,7 +9,7 @@
%% https://creativecommons.org/licenses/by/4.0/legalcode
\NeedsTeXFormat{LaTeX2e}
\RequirePackage{l3keys2e}
-\ProvidesExplClass{easybook}{2021/02/28}{1.23i}{}
+\ProvidesExplClass{easybook}{2021/03/06}{1.23j}{}
\cs_generate_variant:Nn \keys_define:nn {nx}
\cs_generate_variant:Nn \int_to_arabic:n {v}
@@ -213,22 +213,22 @@
\cs_new_protected:Npn \__set_zhfont_fangsong:nn #1#2
{\__set_family:nnn {fangsong}{#2}{#1}}
-\tl_const:Nn \__option_zhfont:
+\tl_const:Nn \__option_zhfont_tl
{UprightFont = *,AutoFakeBold = 1.5,ItalicFont = *}
\cs_new_protected:Npx \__setCJKmainfont:n #1
- {\__setCJKmainfont:nn {#1}{\__option_zhfont:}}
+ {\__setCJKmainfont:nn {#1}{\__option_zhfont_tl}}
\cs_new_protected:Npx \__setCJKsansfont:n #1
- {\__setCJKsansfont:nn {#1}{\__option_zhfont:}}
+ {\__setCJKsansfont:nn {#1}{\__option_zhfont_tl}}
\cs_new_protected:Npx \__setCJKmonofont:n #1
- {\__setCJKmonofont:nn {#1}{\__option_zhfont:}}
+ {\__setCJKmonofont:nn {#1}{\__option_zhfont_tl}}
\cs_new_protected:Npx \__set_zhfont_songti:n #1
- {\__set_zhfont_songti:nn {#1}{\__option_zhfont:}}
+ {\__set_zhfont_songti:nn {#1}{\__option_zhfont_tl}}
\cs_new_protected:Npx \__set_zhfont_heiti:n #1
- {\__set_zhfont_heiti:nn {#1}{\__option_zhfont:}}
+ {\__set_zhfont_heiti:nn {#1}{\__option_zhfont_tl}}
\cs_new_protected:Npx \__set_zhfont_kaishu:n #1
- {\__set_zhfont_kaishu:nn {#1}{\__option_zhfont:}}
+ {\__set_zhfont_kaishu:nn {#1}{\__option_zhfont_tl}}
\cs_new_protected:Npx \__set_zhfont_fangsong:n #1
- {\__set_zhfont_fangsong:nn {#1}{\__option_zhfont:}}
+ {\__set_zhfont_fangsong:nn {#1}{\__option_zhfont_tl}}
\bool_if:NT \l__font_noto_bool
{