[latex3-commits] [git/LaTeX3-latex3-latex2e] gh410: and one more (91a224e9)

Frank Mittelbach frank.mittelbach at latex-project.org
Thu Oct 15 23:36:35 CEST 2020


Repository : https://github.com/latex3/latex2e
On branch  : gh410
Link       : https://github.com/latex3/latex2e/commit/91a224e99f53e048241b3836acac5ddb7740c1b0

>---------------------------------------------------------------

commit 91a224e99f53e048241b3836acac5ddb7740c1b0
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Thu Oct 15 23:36:35 2020 +0200

    and one more


>---------------------------------------------------------------

91a224e99f53e048241b3836acac5ddb7740c1b0
 base/grep-familyhook.txt                        | 65 +++++++++++++++++++++++++
 base/roll.txt                                   | 25 ++++++++++
 base/testfiles-lthooks2/shipout2-emulations.tlg |  4 +-
 base/update-lthooks-tests.sh                    | 60 +++++++++++++++++++++++
 base/update-robust-tests.sh                     | 10 ++++
 5 files changed, 162 insertions(+), 2 deletions(-)

diff --git a/base/grep-familyhook.txt b/base/grep-familyhook.txt
new file mode 100644
index 00000000..33e884f4
--- /dev/null
+++ b/base/grep-familyhook.txt
@@ -0,0 +1,65 @@
+grep familyhook
+
+
+\ifx\@rmfamilyhook\@undefined  % old
+\g at addto@macro\@rmfamilyhook
+\g at addto@macro\@sffamilyhook
+\g at addto@macro\@ttfamilyhook
+./bxjscls/bxjsja-minimal.def
+
+
+\@ifundefined{@rmfamilyhook}{}{\g at addto@macro\@rmfamilyhook{\prepare at family@series at update@kanji{mc}\mcdefault}}
+\@ifundefined{@sffamilyhook}{}{\g at addto@macro\@sffamilyhook{\prepare at family@series at update@kanji{gt}\gtdefault}}
+\@ifundefined{@ttfamilyhook}{}{\g at addto@macro\@ttfamilyhook{\prepare at family@series at update@kanji{gt}\gtdefault}}
+./jlreq/jlreq.cls
+
+\cs_if_exist:NTF \@rmfamilyhook
+    \tl_put_right:Nn \@rmfamilyhook {\fontencoding \l__fontspec_rmfamily_encoding_tl}
+    \tl_put_right:Nn \@sffamilyhook {\fontencoding \l__fontspec_sffamily_encoding_tl}
+    \tl_put_right:Nn \@ttfamilyhook {\fontencoding \l__fontspec_ttfamily_encoding_tl}
+./fontspec/fontspec-luatex.sty
+
+\cs_if_exist:NTF \@rmfamilyhook
+    \tl_put_right:Nn \@rmfamilyhook {\fontencoding \l__fontspec_rmfamily_encoding_tl}
+    \tl_put_right:Nn \@sffamilyhook {\fontencoding \l__fontspec_sffamily_encoding_tl}
+    \tl_put_right:Nn \@ttfamilyhook {\fontencoding \l__fontspec_ttfamily_encoding_tl}
+./fontspec/fontspec-xetex.sty
+
+\ctex_provide_font_hook:NNN \rmfamily \@rmfamilyhook \selectfont
+\ctex_provide_font_hook:NNN \sffamily \@sffamilyhook \selectfont
+\ctex_provide_font_hook:NNN \ttfamily \@ttfamilyhook \selectfont
+\ctex_provide_font_hook:NNN \normalfont \@defaultfamilyhook \usefont
+\tl_gput_right:Nn \CTEX at rmfamilyhook { \CJKfamily { \CJKrmdefault } }
+\tl_gput_right:Nn \CTEX at sffamilyhook { \CJKfamily { \CJKsfdefault } }
+\tl_gput_right:Nn \CTEX at ttfamilyhook { \CJKfamily { \CJKttdefault } }
+\tl_gput_right:Nn \CTEX at defaultfamilyhook { \CJKfamily { \CJKfamilydefault } }
+./ctex/engine/ctex-engine-pdftex.def
+
+\ctex_provide_font_hook:NNN \rmfamily \@rmfamilyhook \selectfont
+\ctex_provide_font_hook:NNN \sffamily \@sffamilyhook \selectfont
+\ctex_provide_font_hook:NNN \ttfamily \@ttfamilyhook \selectfont
+\ctex_provide_font_hook:NNN \normalfont \@defaultfamilyhook \usefont
+\tl_gput_right:Nn \CTEX at rmfamilyhook { \CJKfamily { \CJKrmdefault } }
+\tl_gput_right:Nn \CTEX at sffamilyhook { \CJKfamily { \CJKsfdefault } }
+\tl_gput_right:Nn \CTEX at ttfamilyhook { \CJKfamily { \CJKttdefault } }
+\tl_gput_right:Nn \CTEX at defaultfamilyhook { \CJKfamily { \CJKfamilydefault } }
+./ctex/engine/ctex-engine-luatex.def
+
+\ctex_provide_font_hook:NNN \rmfamily \@rmfamilyhook \selectfont
+\ctex_provide_font_hook:NNN \sffamily \@sffamilyhook \selectfont
+\ctex_provide_font_hook:NNN \ttfamily \@ttfamilyhook \selectfont
+\tl_gput_right:Nn \CTEX at rmfamilyhook { \kanjifamily { \CJKrmdefault } }
+\tl_gput_right:Nn \CTEX at sffamilyhook { \kanjifamily { \CJKsfdefault } }
+\tl_gput_right:Nn \CTEX at ttfamilyhook { \kanjifamily { \CJKttdefault } }
+./ctex/engine/ctex-engine-aptex.def
+
+\ctex_provide_font_hook:NNN \rmfamily \@rmfamilyhook \selectfont
+\ctex_provide_font_hook:NNN \sffamily \@sffamilyhook \selectfont
+\ctex_provide_font_hook:NNN \ttfamily \@ttfamilyhook \selectfont
+\tl_gput_right:Nn \CTEX at rmfamilyhook { \kanjifamily { \CJKrmdefault } }
+\tl_gput_right:Nn \CTEX at sffamilyhook { \kanjifamily { \CJKsfdefault } }
+\tl_gput_right:Nn \CTEX at ttfamilyhook { \kanjifamily { \CJKttdefault } }
+./ctex/engine/ctex-engine-uptex.def
+
+
+
diff --git a/base/roll.txt b/base/roll.txt
new file mode 100644
index 00000000..8bf62ed6
--- /dev/null
+++ b/base/roll.txt
@@ -0,0 +1,25 @@
+
+
+\declare at file@substitution
+\undeclare at file@substitution
+
+
+\set at curr@file                 % from ltfiles
+\@filehook at set@CurrentFile     % used
+
+\@kernel at make@file at csname      - internal?
+\@set at curr@file at aux            - internal?
+
+\@filehook at set@curr at file       - internal?
+
+\@kernel at resolve@file at subst    - internal?
+\@kernel at normalise@file at name   - internal?
+
+
+\@Filehook at if@no at extensionTF
+\@filehook at drop@extension
+\@filehook at file@pop at assign
+
+
+\@filehook at file@push           \filehook_file_push:
+\@filehook at file@pop            \filehook_file_pop:
diff --git a/base/testfiles-lthooks2/shipout2-emulations.tlg b/base/testfiles-lthooks2/shipout2-emulations.tlg
index 2dc08e7d..ba3e47c4 100644
--- a/base/testfiles-lthooks2/shipout2-emulations.tlg
+++ b/base/testfiles-lthooks2/shipout2-emulations.tlg
@@ -1,8 +1,8 @@
 This is a generated file for the l3build validation system.
 Don't change this file in any respect.
 (everyshi-ltx.sty
-Package: everyshi-ltx ....-..-.. v... Emulation of the original everyshi package
-with kernel methods
+Package: everyshi-ltx ....-..-.. v... Emulation of the original everyshi
+package with kernel methods
 )
 Package atenddvi Warning: Functionality of this package is already
 (atenddvi)                provided by LaTeX.
diff --git a/base/update-lthooks-tests.sh b/base/update-lthooks-tests.sh
new file mode 100644
index 00000000..001ba76d
--- /dev/null
+++ b/base/update-lthooks-tests.sh
@@ -0,0 +1,60 @@
+l3build save -cconfig-lthooks2 \
+   lthooks2-002 \
+   lthooks2-004 \
+   lthooks2-005 \
+   lthooks2-006 \
+   shipout2-emulations \
+   shipout2-004 \
+   shipout2-006 \
+   shipout2-007 \
+   github-0360
+
+
+
+l3build save -cconfig-lthooks \
+   filehook-001 \
+   filehook-002 \
+   filehook-003 \
+   filehook-004 \
+   filehook-005 \
+   filehook-006 \
+   filehook-007 \
+   filehook-008 \
+   filehook-009 \
+   filehook-bug-140 \
+   lthooks-000 \
+   lthooks-001 \
+   lthooks-002 \
+   lthooks-003 \
+   lthooks-004 \
+   lthooks-005 \
+   lthooks-006 \
+   lthooks-007 \
+   lthooks-008 \
+   lthooks-009 \
+   lthooks-010 \
+   lthooks-011 \
+   lthooks-012 \
+   lthooks-013 \
+   lthooks-016 \
+   lthooks-017 \
+   lthooks-018 \
+   lthooks-019 \
+   lthooks-020 \
+   lthooks-021 \
+   lthooks-022 \
+   lthooks-023 \
+   lthooks-024 \
+   lthooks-025 \
+   lthooks-026 \
+   lthooks-errors \
+   lthooks-etoolbox \
+   lthooks-legacy \
+   shipout-000 \
+   shipout-002 \
+   shipout-004 \
+   shipout-005
+
+exit
+
+
diff --git a/base/update-robust-tests.sh b/base/update-robust-tests.sh
new file mode 100644
index 00000000..e0bf93a1
--- /dev/null
+++ b/base/update-robust-tests.sh
@@ -0,0 +1,10 @@
+l3build save -eetex,xetex,luatex \
+	github-robust-0123
+
+
+( cd ../required/amsmath/
+
+l3build save -eetex \
+	github-amsrobust-0123
+)
+





More information about the latex3-commits mailing list.