summaryrefslogtreecommitdiff
path: root/macros/latex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-03-19 03:00:55 +0000
committerNorbert Preining <norbert@preining.info>2022-03-19 03:00:55 +0000
commit964a2d4f61e066388beb5d776bf9c163a3f4fd98 (patch)
tree6038242fee2902936fc1254617240ecddf9142dc /macros/latex
parenta892f739b50b6ddc5321c834017cdcbc42a3f056 (diff)
CTAN sync 202203190300
Diffstat (limited to 'macros/latex')
-rw-r--r--macros/latex/contrib/create-theorem/create-theorem-doc.pdfbin117260 -> 117509 bytes
-rw-r--r--macros/latex/contrib/create-theorem/create-theorem-doc.tex9
-rw-r--r--macros/latex/contrib/create-theorem/create-theorem.sty78
-rw-r--r--macros/latex/contrib/easybook/easybook.dtx24
-rw-r--r--macros/latex/contrib/easybook/easybook.pdfbin591500 -> 591566 bytes
-rw-r--r--macros/latex/contrib/easybook/easybook.tex6
-rw-r--r--macros/latex/contrib/gzt/doc/french/gzt-fr.pdfbin541777 -> 546057 bytes
-rw-r--r--macros/latex/contrib/gzt/source/gzt.dtx18
-rw-r--r--macros/latex/contrib/media9/ChangeLog5
-rw-r--r--macros/latex/contrib/media9/doc/media9.pdfbin3748609 -> 3747996 bytes
-rw-r--r--macros/latex/contrib/media9/media9.sty8
-rw-r--r--macros/latex/contrib/media9/pdfbase.sty25
12 files changed, 100 insertions, 73 deletions
diff --git a/macros/latex/contrib/create-theorem/create-theorem-doc.pdf b/macros/latex/contrib/create-theorem/create-theorem-doc.pdf
index c61567791b..4f64d0b5d5 100644
--- a/macros/latex/contrib/create-theorem/create-theorem-doc.pdf
+++ b/macros/latex/contrib/create-theorem/create-theorem-doc.pdf
Binary files differ
diff --git a/macros/latex/contrib/create-theorem/create-theorem-doc.tex b/macros/latex/contrib/create-theorem/create-theorem-doc.tex
index 3a726e50e1..526eb15385 100644
--- a/macros/latex/contrib/create-theorem/create-theorem-doc.tex
+++ b/macros/latex/contrib/create-theorem/create-theorem-doc.tex
@@ -85,7 +85,7 @@
\begin{document}
-\def\PackageVersion{2022/03/11}
+\def\PackageVersion{2022/03/18}
\title{\createtheorempackage{}\\\smallskip\itshape Initializing theorem-like environments with multilingual support}
\author{Jinwen XU}
@@ -311,7 +311,7 @@ The previous two commands are especially useful for package or class writers, wh
Supported keys are:
\vspace{-.2\baselineskip}
\begin{itemize}
- \item \commandoption{name style}\lstinline| = |\meta{configuration}
+ \item \commandoption{name}\lstinline| = |\meta{configuration} and \commandoption{name style}\lstinline| = |\meta{configuration}
\begin{itemize}
\item Same as \lstinline|\NameTheorem{|\meta{name of environment}\lstinline|}{|\meta{configuration}\lstinline|}|.
\item Note that this configuration can overwrite those already specified in \lstinline|\NameTheorem|.
@@ -435,12 +435,11 @@ In each case, the two environments \texttt{idea} and \texttt{idea*} share the sa
\section{Known issues}
\begin{itemize}
- \item The current mechanism does not work well for German, a problem originated in the package \textsf{crefthe}. The author plans to adopt a more refined approach in later versions so as to support the various situations in German.
- \item If the option ``\packageoption{name in link}'' is enabled, the ``\packageoption{name as is}'' mode shall take longer time to produce the final result, for the current implementation uses \lstinline|\regexpatchcmd| to patch some of the referencing formats, which is not very efficient.
+ \item The current mechanism does not work well for German, a problem originated in the package \textsf{crefthe}. The author plans to adopt a more refined approach in a later version so as to support the various grammatical situations in German.
\item There may be inaccuracies in the translation of those preset names.
\end{itemize}
-% \medskip
+\medskip
If you run into any issues or have ideas for improvement, feel free to discuss on:
\begin{center}
\url{https://github.com/Jinwen-XU/create-theorem/issues}
diff --git a/macros/latex/contrib/create-theorem/create-theorem.sty b/macros/latex/contrib/create-theorem/create-theorem.sty
index b0371749b8..b86af841ee 100644
--- a/macros/latex/contrib/create-theorem/create-theorem.sty
+++ b/macros/latex/contrib/create-theorem/create-theorem.sty
@@ -13,7 +13,7 @@
\RequirePackage{l3keys2e}
\ProvidesExplPackage
{create-theorem}
- {2022/03/11} {}
+ {2022/03/18} {}
{Initializing theorem-like environments with multilingual support}
\keys_define:nn { create-theorem }
@@ -605,6 +605,10 @@
{ env-not-created }
{ The~theorem-like~environment~"#1"~cannot~be~created,~an~environment~with~the~same~name~has~already~existed. }
+\msg_new:nnn { create-theorem }
+ { env-not-named }
+ { The~theorem-like~environment~"#1"~cannot~be~created,~you~have~to~name~it~before~initialization. }
+
\cs_new:Nn \crthm_create_theorem:nn
{
\cs_if_exist:cTF { #1 }
@@ -636,44 +640,56 @@
}
}
{
- \group_begin:
- \bool_if:NT \l__crthm_creating_apply_style_bool
- {
- \exp_after:wN \theoremstyle \exp_after:wN { \l__crthm_creating_apply_style_tl }
- }
- \bool_if:NTF \l__crthm_creating_numberless_bool
- {
- \newtheorem*{ #1 _crthm_regional } { \tl_use:c { g_crthm_name_heading_ #1 _ \languagename _tl } }
- }
- {
- \newtheorem { #1 _crthm_regional } [#1] { \tl_use:c { g_crthm_name_heading_ #1 _ \languagename _tl } }
- }
- \group_end:
- \NewDocumentEnvironment { #1 } { O{} }
- % In "regionalref" mode, the counter received by the referencing system is "#1 _crthm_regional"
- % while in "originalref" mode, the counter received is "#1 _crthm_original_\languagename"
+ \cs_if_exist:cTF { c@ #1 }
{
- \tl_if_blank:eTF { ##1 }
+ \group_begin:
+ \bool_if:NTF \l__crthm_creating_apply_style_bool
{
- \begin{ #1 _crthm_regional }
+ \exp_args:No \theoremstyle { \l__crthm_creating_apply_style_tl }
}
{
- \begin{ #1 _crthm_regional }[##1]
+ \tl_if_exist:cT { c_crthm_theorem_style_preset_ #1 _tl }
+ {
+ \exp_args:Nv \theoremstyle { c_crthm_theorem_style_preset_ #1 _tl }
+ }
}
- \bool_if:NF \l__crthm_regionalref_bool
- {
- \addtocounter { #1 _crthm_original_\languagename } { -1 }
- \refstepcounter { #1 _crthm_original_\languagename }
- }
- }
- {
- \end{ #1 _crthm_regional }
+ \bool_if:NTF \l__crthm_creating_numberless_bool
+ {
+ \newtheorem*{ #1 _crthm_regional } { \tl_use:c { g_crthm_name_heading_ #1 _ \languagename _tl } }
+ }
+ {
+ \newtheorem { #1 _crthm_regional } [#1] { \tl_use:c { g_crthm_name_heading_ #1 _ \languagename _tl } }
+ }
+ \group_end:
+ \NewDocumentEnvironment { #1 } { O{} }
+ % In "regionalref" mode, the counter received by the referencing system is "#1 _crthm_regional"
+ % while in "originalref" mode, the counter received is "#1 _crthm_original_\languagename"
+ {
+ \tl_if_blank:eTF { ##1 }
+ {
+ \begin{ #1 _crthm_regional }
+ }
+ {
+ \begin{ #1 _crthm_regional }[##1]
+ }
+ \bool_if:NF \l__crthm_regionalref_bool
+ {
+ \addtocounter { #1 _crthm_original_\languagename } { -1 }
+ \refstepcounter { #1 _crthm_original_\languagename }
+ }
+ }
+ {
+ \end{ #1 _crthm_regional }
+ }
+ \bool_if:NT \l__crthm_creating_create_starred_bool
+ {
+ \newtheorem*{ #1 * } { \tl_use:c { g_crthm_name_heading_ #1 _ \languagename _tl } }
+ }
+ \keys_set:nn { create-theorem-creating / counter-management } { #2 }
}
- \bool_if:NT \l__crthm_creating_create_starred_bool
{
- \newtheorem*{ #1 * } { \tl_use:c { g_crthm_name_heading_ #1 _ \languagename _tl } }
+ \msg_error:nnn { create-theorem } { env-not-named } { #1 }
}
- \keys_set:nn { create-theorem-creating / counter-management } { #2 }
}
}
diff --git a/macros/latex/contrib/easybook/easybook.dtx b/macros/latex/contrib/easybook/easybook.dtx
index 023419294b..bae091e2c1 100644
--- a/macros/latex/contrib/easybook/easybook.dtx
+++ b/macros/latex/contrib/easybook/easybook.dtx
@@ -15,7 +15,7 @@
%<*class>
\NeedsTeXFormat{LaTeX2e}[2020/10/01]
\RequirePackage{l3keys2e}
-\ProvidesExplClass{easybook}{2022/03/13}{1.648}
+\ProvidesExplClass{easybook}{2022/03/18}{1.65}
{Easily typesetting Chinese theses or books}
\bool_set_false:N \l__eb_compile_draft_bool
@@ -303,7 +303,7 @@
%<*package>
\NeedsTeXFormat{LaTeX2e}[2020/10/01]
\RequirePackage{l3keys2e,etoolbox}
-\ProvidesExplPackage{easybase}{2022/03/13}{1.648}
+\ProvidesExplPackage{easybase}{2022/03/18}{1.65}
{Easily typesetting Chinese theses or books}
\cs_generate_variant:Nn \dim_set:Nn { NV }
@@ -2322,7 +2322,7 @@
}
%</package>
%<*tcolorbox>
-\ProvidesExplFile{eb-tcolorbox.cfg}{2022/03/13}{1.648}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2022/03/18}{1.65}
{Customization of tcolorbox for easybook}
\cs_set_protected:Npn \addtotcbstyle #1#2
@@ -2377,22 +2377,24 @@
colback = #2,colbacktitle = #2,
tc-easybox,#4
}
-\DeclareTColorBox{ebparbox}{sO{RoyalBlue}d()O{}}
+\DeclareTColorBox{ebparbox}{sO{RoyalBlue}D(){}O{}}
{
borderline~west = {3pt}{0pt}{#2},
IfBooleanTF = {#1}
{
+ colback = white,
+ top = 0pt,bottom = 0pt,right = 0pt,
+ pad~at~break* = 0pt
+ }{
colback = #2,colbacktitle = #2,
opacityback = 0.2,opacitybacktitle = 0.2,
- IfValueTF = {#3}{title = #3,top = 0pt}{top = 0.5\baselineskip},
- bottom = 0.5\baselineskip,toptitle = 0.5\baselineskip,
+ top = \tl_if_blank:nTF {#3} { 0.5\baselineskip } { 0pt },
+ bottom = 0.5\baselineskip,
+ toptitle = 0.5\baselineskip,
right = 8pt
- }{
- colback = white,
- IfValueT = {#3}{title = #3},
- top = 0pt,bottom = 0pt,right = 0pt
},
- coltitle = #2,tc-ebparbox,#4
+ title = #3,coltitle = #2,
+ tc-ebparbox,#4
}
\DeclareTotalTCBox{\ebfbox}{O{Green}mO{}}
{
diff --git a/macros/latex/contrib/easybook/easybook.pdf b/macros/latex/contrib/easybook/easybook.pdf
index 47bef555cf..0df829c25a 100644
--- a/macros/latex/contrib/easybook/easybook.pdf
+++ b/macros/latex/contrib/easybook/easybook.pdf
Binary files differ
diff --git a/macros/latex/contrib/easybook/easybook.tex b/macros/latex/contrib/easybook/easybook.tex
index af3aed2162..b147f94983 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.648,
- date = 2022/03/13,
+ version = v1.65,
+ date = 2022/03/18,
authors = 瞿毅,
info = 简便地排版中文学位论文或书籍,
email = q1jx@foxmail.com,
@@ -1121,7 +1121,7 @@
\end{easybox}
\end{ctexexam}
\environment{ebparbox}[\sarg\oarg{颜色名}\darg{段落标题}\oarg{配置选项}]
- 环境 \env{ebparbox} 用法与 \env{easybox} 类似,同样带有三个可选参数。盒子的左边带有一条粗竖线,\meta{颜色名} 选项可以自定义这条竖线颜色,使用星号参数则盒子带有竖线颜色的浅色背景。
+ 环境 \env{ebparbox} 用法与 \env{easybox} 类似,同样带有三个可选参数。盒子的左边带有一条粗竖线,背景颜色为竖线颜色的浅色。\meta{颜色名} 选项可以设置竖线的颜色。使用星号参数则盒子无背景颜色。
\end{environments}
\begin{commands}
diff --git a/macros/latex/contrib/gzt/doc/french/gzt-fr.pdf b/macros/latex/contrib/gzt/doc/french/gzt-fr.pdf
index 53f04a5010..3b85f1192e 100644
--- a/macros/latex/contrib/gzt/doc/french/gzt-fr.pdf
+++ b/macros/latex/contrib/gzt/doc/french/gzt-fr.pdf
Binary files differ
diff --git a/macros/latex/contrib/gzt/source/gzt.dtx b/macros/latex/contrib/gzt/source/gzt.dtx
index ce19443f14..7cad88ccd7 100644
--- a/macros/latex/contrib/gzt/source/gzt.dtx
+++ b/macros/latex/contrib/gzt/source/gzt.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% File: gzt.dtx Copyright (C) 2014-2021 by
+% File: gzt.dtx Copyright (C) 2014-2022 by
% Denis Bitouzé <denis.bitouze@univ-littoral.fr>
%
% It may be distributed and/or modified under the conditions of the
@@ -94,7 +94,7 @@ $quote_filenames = 0;
% This field contains the version of the package.
% The value is optional.
% The value is restricted to 32 characters.
-\version{1.1.1 2021-12-16}
+\version{1.1.2 2022-03-18}
% -------------------------------------------------------------------------
% This field contains the name of the author(s).
% The value is optional.
@@ -154,7 +154,7 @@ $quote_filenames = 0;
% The value is a URL.
% The value is restricted to 255 characters.
% Multiple values are allowed.
-\development{}
+\development{https://github.com/dbitouze/gzt/}
% -------------------------------------------------------------------------
% This field contains the update indicator; true for update.
% The value is optional.
@@ -214,6 +214,11 @@ France”](https://smf.emath.fr/les-publications/la-gazette):
% \end{macrocode}
# [Unreleased]
+# [1.1.2] - 2022-03-18
+
+## Changed
+Feminization added in a string.
+
# [1.1.1] - 2021-12-16
## Fixed
@@ -325,8 +330,8 @@ Gazette de la Société Mathématique de France”](https://smf.emath.fr/les-pub
\fi
%</internal>
%<*class|class-article|install>
-\def\gztfileversion{1.1.1}
-\def\gztfiledate{2021-12-16}
+\def\gztfileversion{1.1.2}
+\def\gztfiledate{2022-03-18}
%</class|class-article|install>
%<*install>
\input l3docstrip.tex
@@ -466,6 +471,7 @@ Running "make install" installs the files in the local TeX tree.
% \changes{v1.0.1}{2021-02-14}{Nineth CTAN version.}
% \changes{v1.1.0}{2021-11-30}{Tenth CTAN version.}
% \changes{v1.1.1}{2021-12-16}{Eleventh CTAN version.}
+% \changes{v1.1.2}{2022-03-18}{Twelfth CTAN version.}
%
% \begin{abstract}
% This bundle provides two classes and \Pkg{biblatex} styles for the French journal
@@ -1891,7 +1897,7 @@ Running "make install" installs the files in the local TeX tree.
% \end{macrocode}
% For the authors instructions.
% \begin{macrocode}
-\tl_const:Nn \c_@@_authors_instructions_string_tl {Instructions~ aux~ auteurs}
+\tl_const:Nn \c_@@_authors_instructions_string_tl {Instructions~ aux~ autrices~ et~ auteurs}
% \end{macrocode}
% For the preliminary versions sent to authors for checking.
% \begin{macrocode}
diff --git a/macros/latex/contrib/media9/ChangeLog b/macros/latex/contrib/media9/ChangeLog
index 075328178d..455df93cc4 100644
--- a/macros/latex/contrib/media9/ChangeLog
+++ b/macros/latex/contrib/media9/ChangeLog
@@ -1,3 +1,8 @@
+2022-03-18
+ * v1.24 : media9.sty
+ * v0.54 : pdfbase.sty
+ * fix : pdftex primitive replacements for luatex fixed (pdfbase.sty)
+
2021-10-18
* v1.23 : media9.sty
* new : SHOWTRANSPARENT and SECTIONCAPPING entries for 3D cross sections
diff --git a/macros/latex/contrib/media9/doc/media9.pdf b/macros/latex/contrib/media9/doc/media9.pdf
index 79ef9c35a2..9f4ede4536 100644
--- a/macros/latex/contrib/media9/doc/media9.pdf
+++ b/macros/latex/contrib/media9/doc/media9.pdf
Binary files differ
diff --git a/macros/latex/contrib/media9/media9.sty b/macros/latex/contrib/media9/media9.sty
index a40d6fbe52..2c4db16dc2 100644
--- a/macros/latex/contrib/media9/media9.sty
+++ b/macros/latex/contrib/media9/media9.sty
@@ -41,8 +41,8 @@
\RequirePackage{l3keys2e}
-\def\g@mix@date@tl{2021/10/18}
-\def\g@mix@version@tl{1.23}
+\def\g@mix@date@tl{2022/03/18}
+\def\g@mix@version@tl{1.24}
\NeedsTeXFormat{LaTeX2e}[2020-10-01]
\ProvidesExplPackage{media9}{\g@mix@date@tl}{\g@mix@version@tl}
@@ -2431,8 +2431,8 @@
\RequirePackage{l3keys2e}
-\def\g@mix@date@tl{2021/10/18}
-\def\g@mix@version@tl{1.23}
+\def\g@mix@date@tl{2022/03/18}
+\def\g@mix@version@tl{1.24}
\NeedsTeXFormat{LaTeX2e}[2020-10-01]
\ProvidesExplPackage{media9}{\g@mix@date@tl}{\g@mix@version@tl}
diff --git a/macros/latex/contrib/media9/pdfbase.sty b/macros/latex/contrib/media9/pdfbase.sty
index e0783c2c17..a5cc1dcb44 100644
--- a/macros/latex/contrib/media9/pdfbase.sty
+++ b/macros/latex/contrib/media9/pdfbase.sty
@@ -158,8 +158,8 @@
\RequirePackage{l3keys2e}
-\def\g@pbs@date@tl{2021/09/12}
-\def\g@pbs@version@tl{0.53}
+\def\g@pbs@date@tl{2022/03/18}
+\def\g@pbs@version@tl{0.54}
\NeedsTeXFormat{LaTeX2e}[2020-10-01]
\ProvidesExplPackage{pdfbase}{\g@pbs@date@tl}{\g@pbs@version@tl}
@@ -277,10 +277,10 @@
\cs_set_protected:Npn\pdfdest{\pdfextension~dest~}
\cs_set_protected:Npn\pdfliteral{\pdfextension~literal~}
\cs_set_protected:Npn\pdfcatalog{\pdfextension~catalog~}
- \cs_set:Npn\pdflastlink{\numexpr\pdffeedback~lastlink\relax}
- \cs_set:Npn\pdflastobj{\numexpr\pdffeedback~lastobj\relax}
- \cs_set:Npn\pdflastannot{\numexpr\pdffeedback~lastannot\relax}
- \cs_set:Npn\pdfpageref{\numexpr\pdffeedback~pageref\relax}
+ \cs_set_protected:Npn\pdflastlink{\numexpr\pdffeedback~lastlink\relax}
+ \cs_set_protected:Npn\pdflastobj{\numexpr\pdffeedback~lastobj\relax}
+ \cs_set_protected:Npn\pdflastannot{\numexpr\pdffeedback~lastannot\relax}
+ \cs_set:Npn\pdfpageref{\pdffeedback~pageref}
\cs_set:Npx\pdfpageresources{\pdfvariable~pageresources}
\cs_set_eq:NN\pdfximage\saveimageresource
\cs_set_eq:NN\pdfrefximage\useimageresource
@@ -1515,8 +1515,8 @@
\RequirePackage{l3keys2e}
-\def\g@pbs@date@tl{2021/09/12}
-\def\g@pbs@version@tl{0.53}
+\def\g@pbs@date@tl{2022/03/18}
+\def\g@pbs@version@tl{0.54}
\NeedsTeXFormat{LaTeX2e}[2020-10-01]
\ProvidesExplPackage{pdfbase}{\g@pbs@date@tl}{\g@pbs@version@tl}
@@ -1622,7 +1622,6 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%commands for creating PDF objects, annots etc.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
\sys_if_output_pdf:TF{
%in LuaTeX-0.95.0, pdfTeX primitives got new names
\bool_lazy_and:nnT{
@@ -1638,10 +1637,10 @@
\cs_set_protected:Npn\pdfendlink{\pdfextension~endlink\relax}
\cs_set_protected:Npn\pdfdest{\pdfextension~dest~}
\cs_set_protected:Npn\pdfliteral{\pdfextension~literal~}
- \cs_set:Npn\pdflastlink{\numexpr\pdffeedback~lastlink\relax}
- \cs_set:Npn\pdflastobj{\numexpr\pdffeedback~lastobj\relax}
- \cs_set:Npn\pdflastannot{\numexpr\pdffeedback~lastannot\relax}
- \cs_set:Npn\pdfpageref{\numexpr\pdffeedback~pageref\relax}
+ \cs_set_protected:Npn\pdflastlink{\numexpr\pdffeedback~lastlink\relax}
+ \cs_set_protected:Npn\pdflastobj{\numexpr\pdffeedback~lastobj\relax}
+ \cs_set_protected:Npn\pdflastannot{\numexpr\pdffeedback~lastannot\relax}
+ \cs_set:Npn\pdfpageref{\pdffeedback~pageref}
\cs_set_eq:NN\pdfximage\saveimageresource
\cs_set_eq:NN\pdfrefximage\useimageresource
\cs_set_eq:NN\pdflastximage\lastsavedimageresourceindex