summaryrefslogtreecommitdiff
path: root/macros
diff options
context:
space:
mode:
Diffstat (limited to 'macros')
-rw-r--r--macros/latex/contrib/blowup/blowup-ex1.pdfbin33365 -> 33364 bytes
-rw-r--r--macros/latex/contrib/blowup/blowup-ex1.tex10
-rw-r--r--macros/latex/contrib/blowup/blowup-ex2.pdfbin33377 -> 33377 bytes
-rw-r--r--macros/latex/contrib/blowup/blowup-ex2.tex10
-rw-r--r--macros/latex/contrib/blowup/blowup-ex3.pdfbin34010 -> 34012 bytes
-rw-r--r--macros/latex/contrib/blowup/blowup-ex3.tex10
-rw-r--r--macros/latex/contrib/blowup/blowup-ex4.pdfbin12537 -> 12537 bytes
-rw-r--r--macros/latex/contrib/blowup/blowup-ex4.tex10
-rw-r--r--macros/latex/contrib/blowup/blowup-ex5.pdfbin20246 -> 20244 bytes
-rw-r--r--macros/latex/contrib/blowup/blowup-ex5.tex10
-rw-r--r--macros/latex/contrib/blowup/blowup-ex6.pdfbin33734 -> 33735 bytes
-rw-r--r--macros/latex/contrib/blowup/blowup-ex6.tex10
-rw-r--r--macros/latex/contrib/blowup/blowup.dtx30
-rw-r--r--macros/latex/contrib/blowup/blowup.pdfbin199133 -> 209753 bytes
-rw-r--r--macros/latex/required/babel/base/README.md15
-rw-r--r--macros/latex/required/babel/base/babel-code.pdfbin626873 -> 626956 bytes
-rw-r--r--macros/latex/required/babel/base/babel.dtx28
-rw-r--r--macros/latex/required/babel/base/babel.ins2
-rw-r--r--macros/latex/required/babel/base/babel.pdfbin404347 -> 404462 bytes
-rw-r--r--macros/latex/required/babel/base/bbcompat.dtx2
20 files changed, 74 insertions, 63 deletions
diff --git a/macros/latex/contrib/blowup/blowup-ex1.pdf b/macros/latex/contrib/blowup/blowup-ex1.pdf
index 6f1af02858..30fe2d329f 100644
--- a/macros/latex/contrib/blowup/blowup-ex1.pdf
+++ b/macros/latex/contrib/blowup/blowup-ex1.pdf
Binary files differ
diff --git a/macros/latex/contrib/blowup/blowup-ex1.tex b/macros/latex/contrib/blowup/blowup-ex1.tex
index eb58ff61ef..eef16d3ca6 100644
--- a/macros/latex/contrib/blowup/blowup-ex1.tex
+++ b/macros/latex/contrib/blowup/blowup-ex1.tex
@@ -1,4 +1,4 @@
-% Rolf Niepraschk, 2020-09-19
+% Rolf Niepraschk, 2023-07-15
%
% Translate to pdf with any TeX compiler and check the page size with
%
@@ -11,11 +11,9 @@
\usepackage{array,xcolor}
% Just to show the page size of the source.
-\usepackage{xcolor,atbegshi}
-\AtBeginShipout{%
- \AtBeginShipoutUpperLeft{%
- \textcolor{green!30}{\rule[-\paperheight]{\paperwidth}{\paperheight}}%
- }%
+\usepackage{xcolor}
+\AddToHook{shipout/background}{%
+ \put(0,0){\textcolor{green!30}{\rule[-\paperheight]{\paperwidth}{\paperheight}}}%
}
\renewcommand\familydefault{\sfdefault}
diff --git a/macros/latex/contrib/blowup/blowup-ex2.pdf b/macros/latex/contrib/blowup/blowup-ex2.pdf
index 88ca3eeef6..b5187fbc24 100644
--- a/macros/latex/contrib/blowup/blowup-ex2.pdf
+++ b/macros/latex/contrib/blowup/blowup-ex2.pdf
Binary files differ
diff --git a/macros/latex/contrib/blowup/blowup-ex2.tex b/macros/latex/contrib/blowup/blowup-ex2.tex
index bb9d839fc7..aba0371a69 100644
--- a/macros/latex/contrib/blowup/blowup-ex2.tex
+++ b/macros/latex/contrib/blowup/blowup-ex2.tex
@@ -1,4 +1,4 @@
-% Rolf Niepraschk, 2020-09-19
+% Rolf Niepraschk, 2023-07-15
%
% Translate to pdf with any TeX compiler and check the page size with
%
@@ -11,11 +11,9 @@
\usepackage{array}
% Just to show the page size of the source.
-\usepackage{xcolor,atbegshi}
-\AtBeginShipout{%
- \AtBeginShipoutUpperLeft{%
- \textcolor{green!30}{\rule[-\paperheight]{\paperwidth}{\paperheight}}%
- }%
+\usepackage{xcolor}
+\AddToHook{shipout/background}{%
+ \put(0,0){\textcolor{green!30}{\rule[-\paperheight]{\paperwidth}{\paperheight}}}%
}
\renewcommand\familydefault{\sfdefault}
diff --git a/macros/latex/contrib/blowup/blowup-ex3.pdf b/macros/latex/contrib/blowup/blowup-ex3.pdf
index d8bae71cf9..5384be1303 100644
--- a/macros/latex/contrib/blowup/blowup-ex3.pdf
+++ b/macros/latex/contrib/blowup/blowup-ex3.pdf
Binary files differ
diff --git a/macros/latex/contrib/blowup/blowup-ex3.tex b/macros/latex/contrib/blowup/blowup-ex3.tex
index 65cf7b8dc9..f443e566cf 100644
--- a/macros/latex/contrib/blowup/blowup-ex3.tex
+++ b/macros/latex/contrib/blowup/blowup-ex3.tex
@@ -1,4 +1,4 @@
-% Rolf Niepraschk, 2020-09-19
+% Rolf Niepraschk, 2023-07-15
%
% Translate to pdf with any TeX compiler and check the page size with
%
@@ -11,11 +11,9 @@
\usepackage{array}
% Just to show the page size of the source.
-\usepackage{xcolor,atbegshi}
-\AtBeginShipout{%
- \AtBeginShipoutUpperLeft{%
- \textcolor{green!30}{\rule[-\paperheight]{\paperwidth}{\paperheight}}%
- }%
+\usepackage{xcolor}
+\AddToHook{shipout/background}{%
+ \put(0,0){\textcolor{green!30}{\rule[-\paperheight]{\paperwidth}{\paperheight}}}%
}
\renewcommand\familydefault{\sfdefault}
diff --git a/macros/latex/contrib/blowup/blowup-ex4.pdf b/macros/latex/contrib/blowup/blowup-ex4.pdf
index fd00e54ac1..55b12d4415 100644
--- a/macros/latex/contrib/blowup/blowup-ex4.pdf
+++ b/macros/latex/contrib/blowup/blowup-ex4.pdf
Binary files differ
diff --git a/macros/latex/contrib/blowup/blowup-ex4.tex b/macros/latex/contrib/blowup/blowup-ex4.tex
index c68fb04777..2a41bc9836 100644
--- a/macros/latex/contrib/blowup/blowup-ex4.tex
+++ b/macros/latex/contrib/blowup/blowup-ex4.tex
@@ -1,4 +1,4 @@
-% Rolf Niepraschk, 2020-09-19
+% Rolf Niepraschk, 2023-07-15
%
% Translate to pdf with any TeX compiler and check the page size with
%
@@ -11,11 +11,9 @@
\usepackage{array}
% Just to show the page size of the source.
-\usepackage{xcolor,atbegshi}
-\AtBeginShipout{%
- \AtBeginShipoutUpperLeft{%
- \textcolor{green!30}{\rule[-\paperheight]{\paperwidth}{\paperheight}}%
- }%
+\usepackage{xcolor}
+\AddToHook{shipout/background}{%
+ \put(0,0){\textcolor{green!30}{\rule[-\paperheight]{\paperwidth}{\paperheight}}}%
}
\renewcommand\familydefault{\sfdefault}
diff --git a/macros/latex/contrib/blowup/blowup-ex5.pdf b/macros/latex/contrib/blowup/blowup-ex5.pdf
index f95c24b056..3587883699 100644
--- a/macros/latex/contrib/blowup/blowup-ex5.pdf
+++ b/macros/latex/contrib/blowup/blowup-ex5.pdf
Binary files differ
diff --git a/macros/latex/contrib/blowup/blowup-ex5.tex b/macros/latex/contrib/blowup/blowup-ex5.tex
index 435bc7ba27..da742eb153 100644
--- a/macros/latex/contrib/blowup/blowup-ex5.tex
+++ b/macros/latex/contrib/blowup/blowup-ex5.tex
@@ -1,4 +1,4 @@
-% Rolf Niepraschk, 2020-09-19
+% Rolf Niepraschk, 2023-07-15
%
% Translate to pdf with any TeX compiler and check the page size with
%
@@ -10,11 +10,9 @@
\documentclass[paper=b6,fontsize=11pt,twoside]{scrartcl}
% Just to show the page size of the source.
-\usepackage{xcolor,atbegshi}
-\AtBeginShipout{%
- \AtBeginShipoutUpperLeft{%
- \textcolor{green!30}{\rule[-\paperheight]{\paperwidth}{\paperheight}}%
- }%
+\usepackage{xcolor}
+\AddToHook{shipout/background}{%
+ \put(0,0){\textcolor{green!30}{\rule[-\paperheight]{\paperwidth}{\paperheight}}}%
}
\newcommand*\aPage{%
diff --git a/macros/latex/contrib/blowup/blowup-ex6.pdf b/macros/latex/contrib/blowup/blowup-ex6.pdf
index e03fb322a5..b3dcd5a871 100644
--- a/macros/latex/contrib/blowup/blowup-ex6.pdf
+++ b/macros/latex/contrib/blowup/blowup-ex6.pdf
Binary files differ
diff --git a/macros/latex/contrib/blowup/blowup-ex6.tex b/macros/latex/contrib/blowup/blowup-ex6.tex
index 4128a48b36..d970867219 100644
--- a/macros/latex/contrib/blowup/blowup-ex6.tex
+++ b/macros/latex/contrib/blowup/blowup-ex6.tex
@@ -1,4 +1,4 @@
-% Rolf Niepraschk, 2020-09-19
+% Rolf Niepraschk, 2023-07-15
%
% Translate to pdf with any TeX compiler and check the page size with
%
@@ -11,11 +11,9 @@
\usepackage{array,xcolor}
% Just to show the page size of the source.
-\usepackage{xcolor,atbegshi}
-\AtBeginShipout{%
- \AtBeginShipoutUpperLeft{%
- \textcolor{green!30}{\rule[-\paperheight]{\paperwidth}{\paperheight}}%
- }%
+\usepackage{xcolor}
+\AddToHook{shipout/background}{%
+ \put(0,0){\textcolor{green!30}{\rule[-\paperheight]{\paperwidth}{\paperheight}}}%
}
\renewcommand\familydefault{\sfdefault}
diff --git a/macros/latex/contrib/blowup/blowup.dtx b/macros/latex/contrib/blowup/blowup.dtx
index 3385861926..1781c1a6f5 100644
--- a/macros/latex/contrib/blowup/blowup.dtx
+++ b/macros/latex/contrib/blowup/blowup.dtx
@@ -24,7 +24,7 @@
\ProvidesFile{blowup.dtx}
%</driver>
%<package>\NeedsTeXFormat{LaTeX2e}[2020/10/01]
-%<package>\ProvidesPackage{blowup}[2022/09/22 2.1.0 Page scaling (RN)]
+%<package>\ProvidesPackage{blowup}[2023/07/15 2.2.0 Page scaling (RN)]
%
%<*driver>
\documentclass{ltxdoc}
@@ -152,7 +152,7 @@
%
% Load some packages for utility macros.
% \begin{macrocode}
-\RequirePackage{atbegshi,keyval,graphics}
+\RequirePackage{keyval,graphics}
\@ifpackageloaded{typearea}{}{%
\newcommand*\BL@save@dimen[1]{%
\@ifundefined{BL@#1}{%
@@ -225,24 +225,25 @@
% The whole scaling process of the the shipout box to the dimension of the
% new paper size.
% \changes{2.1.0}{2022/09/22}{New options `h-mirroring' and `v-mirroring' (RN)}
+% \changes{2.2.0}{2023/07/15}{Using \LaTeX's \cmd{\ShipoutBox} (RN)}
% \begin{macrocode}
\newcommand*\BL@scalePage{%
% \end{macrocode}
% Normalize the shipout box
% \begin{macrocode}
- \setbox\AtBeginShipoutBox=\vbox{%
- \vskip1in\moveright1in\box\AtBeginShipoutBox}%
- \setbox\AtBeginShipoutBox=\hb@xt@\paperwidth{%
- \box\AtBeginShipoutBox\hss}%
- \setbox\AtBeginShipoutBox=\vb@xt@\paperheight{%
- \box\AtBeginShipoutBox\vss}%
+ \setbox\ShipoutBox=\vbox{%
+ \vskip1in\moveright1in\box\ShipoutBox}%
+ \setbox\ShipoutBox=\hb@xt@\paperwidth{%
+ \box\ShipoutBox\hss}%
+ \setbox\ShipoutBox=\vb@xt@\paperheight{%
+ \box\ShipoutBox\vss}%
\ifBL@noscale\else
\ifdim\oPaperWidth>\z@
- \setbox\AtBeginShipoutBox=\hbox{\resizebox{\oPaperWidth}{\oPaperHeight}%
- {\box\AtBeginShipoutBox}}%
+ \setbox\ShipoutBox=\hbox{\resizebox{\oPaperWidth}{\oPaperHeight}%
+ {\box\ShipoutBox}}%
\else
\def\BL@resize##1{\resizebox{\tPaperWidth}{!}{##1}}%
- \setbox\@tempboxa=\hbox{\BL@resize{\copy\AtBeginShipoutBox}}%
+ \setbox\@tempboxa=\hbox{\BL@resize{\copy\ShipoutBox}}%
\ifdim\ht\@tempboxa>\tPaperHeight
\def\BL@resize##1{\resizebox{!}{\tPaperHeight}{##1}}%
\fi
@@ -250,7 +251,7 @@
\fi
\setbox\@tempboxa=\vb@xt@\tPaperHeight{%
\kern\z@\BL@t
- \hb@xt@\tPaperWidth{\BL@l\BL@resize{\box\AtBeginShipoutBox}\BL@r}%
+ \hb@xt@\tPaperWidth{\BL@l\BL@resize{\box\ShipoutBox}\BL@r}%
\BL@b\kern\z@
}%
\ifBL@mirroring
@@ -259,7 +260,7 @@
% \end{macrocode}
% Denormalize the shipout box
% \begin{macrocode}
- \setbox\AtBeginShipoutBox=\vbox{%
+ \setbox\ShipoutBox=\vbox{%
\vskip-1in\moveright-1in\box\@tempboxa}%
}
% \end{macrocode}
@@ -467,6 +468,7 @@
%
% \begin{macro}{\blowUp}
% The only user-level macro.
+% \changes{2.2.0}{2023/07/15}{Using \LaTeX's shipout hook instead of package `atbegshi'}
% \begin{macrocode}
\newcommand*\blowUp[1]{%
\global\tPaperWidth=\paperwidth
@@ -479,7 +481,7 @@
\fi
\AtBeginDocument{%
\AtBeginDvi{\BL@pagesize@code{\tPaperWidth}{\tPaperHeight}}%
- \AtBeginShipout{\BL@setup\BL@scalePage}
+ \AddToHook{shipout}{\BL@setup\BL@scalePage}%
}%
\gdef\blowUp##1{%
\PackageWarning{blowup}{Only the first call of `\string\blowUp'
diff --git a/macros/latex/contrib/blowup/blowup.pdf b/macros/latex/contrib/blowup/blowup.pdf
index 38b26ab049..c5d0c91fa5 100644
--- a/macros/latex/contrib/blowup/blowup.pdf
+++ b/macros/latex/contrib/blowup/blowup.pdf
Binary files differ
diff --git a/macros/latex/required/babel/base/README.md b/macros/latex/required/babel/base/README.md
index d9e620c5a6..f57a55cf41 100644
--- a/macros/latex/required/babel/base/README.md
+++ b/macros/latex/required/babel/base/README.md
@@ -1,6 +1,6 @@
-## Babel 3.91
+## Babel 3.92
-2023-07-09
+2023-07-15
This package manages culturally-determined typographical (and other)
rules, and hyphenation patterns for a wide range of languages. Many
@@ -10,9 +10,9 @@ is a set of ini files for about 250 languages.
The latest stable version is available on <https://ctan.org/pkg/babel>.
-Changes in version 3.91 are described in:
+Changes in version 3.92 are described in:
-https://latex3.github.io/babel/news/whats-new-in-babel-3.91.html
+https://latex3.github.io/babel/news/whats-new-in-babel-3.92.html
Apart from the manual, you can find information on some aspects of babel at:
@@ -48,6 +48,13 @@ respective authors.
### Summary of latest changes
```
+3.92 2023-07-15
+ * The fix for #240 in version 3.90, related to `\normalsfcodes`,
+ broke the `onchar` mechanism in some cases and some other
+ things. A different fix has been devised.
+ * Weird behavior when declaring the same font for two families
+ (#178).
+
3.91 2023-07-09
* Transform for transliterated Hebrew, based on cjhebrew.
* Fixes:
diff --git a/macros/latex/required/babel/base/babel-code.pdf b/macros/latex/required/babel/base/babel-code.pdf
index 3308a56ba7..2c8615ff4e 100644
--- a/macros/latex/required/babel/base/babel-code.pdf
+++ b/macros/latex/required/babel/base/babel-code.pdf
Binary files differ
diff --git a/macros/latex/required/babel/base/babel.dtx b/macros/latex/required/babel/base/babel.dtx
index 6f91f1141c..d7a77ac1de 100644
--- a/macros/latex/required/babel/base/babel.dtx
+++ b/macros/latex/required/babel/base/babel.dtx
@@ -32,7 +32,7 @@
%
% \iffalse
%<*filedriver>
-\ProvidesFile{babel.dtx}[2023/07/09 v3.91 The Babel package]
+\ProvidesFile{babel.dtx}[2023/07/15 v3.92 The Babel package]
\documentclass{ltxdoc}
\GetFileInfo{babel.dtx}
\usepackage{fontspec}
@@ -5466,8 +5466,8 @@ wouldn’t exist.
% \section{Tools}
%
% \begin{macrocode}
-%<<version=3.91>>
-%<<date=2023/07/09>>
+%<<version=3.92>>
+%<<date=2023/07/15>>
% \end{macrocode}
%
% \textbf{Do not use the following macros in \texttt{ldf} files. They
@@ -7678,9 +7678,18 @@ wouldn’t exist.
\string\providecommand\string\babel@aux[2]{}}%
\immediate\write\@mainaux{\string\@nameuse{bbl@beforestart}}%
\fi
-%<-package>
\expandafter\selectlanguage\expandafter{\bbl@main@language}%
-%<+package>
+%<-core>
+ \ifx\bbl@normalsf\@empty
+ \ifnum\sfcode`\.=\@m
+ \let\normalsfcodes\frenchspacing
+ \else
+ \let\normalsfcodes\nonfrenchspacing
+ \fi
+ \else
+ \let\normalsfcodes\bbl@normalsf
+ \fi
+%<+core>
\ifbbl@single % must go after the line above.
\renewcommand\selectlanguage[1]{}%
\renewcommand\foreignlanguage[2]{#2}%
@@ -7688,7 +7697,8 @@ wouldn’t exist.
\fi}
%<-core>
\AddToHook{begindocument/before}{%
- \expandafter\selectlanguage\expandafter{\bbl@main@language}}
+ \let\bbl@normalsf\normalsfcodes
+ \let\normalsfcodes\relax} % Hack, to delay the setting
%<+core>
\ifcase\bbl@engine\or
\AtBeginDocument{\pagedir\bodydir} % TODO - a better place
@@ -13432,6 +13442,8 @@ wouldn’t exist.
% still not sure -- must investigate:
\def\bbl@fontspec@set#1#2#3#4{% eg \bbl@rmdflt@lang fnt-opt fnt-nme \xxfamily
\let\bbl@tempe\bbl@mapselect
+ \edef\bbl@tempb{\bbl@stripslash#4/}% Catcodes hack (better pass it).
+ \bbl@exp{\\\bbl@replace\\\bbl@tempb{\bbl@stripslash\family/}{}}%
\let\bbl@mapselect\relax
\let\bbl@temp@fam#4% eg, '\rmfamily', to be restored below
\let#4\@empty % Make sure \renewfontfamily is valid
@@ -13446,7 +13458,9 @@ wouldn’t exist.
\let\\\bbl@tempfs@nxx\<__fontspec_warning:nxx>%
\let\<__fontspec_warning:nxx>\\\bbl@fs@warn@nxx
\\\renewfontfamily\\#4%
- [\bbl@cl{lsys},#2]}{#3}% ie \bbl@exp{..}{#3}
+ [\bbl@cl{lsys},%
+ \ifcase\bbl@engine\or RawFeature={family=\bbl@tempb},\fi
+ #2]}{#3}% ie \bbl@exp{..}{#3}
\bbl@exp{%
\let\<__fontspec_warning:nx>\\\bbl@tempfs@nx
\let\<__fontspec_warning:nxx>\\\bbl@tempfs@nxx}%
diff --git a/macros/latex/required/babel/base/babel.ins b/macros/latex/required/babel/base/babel.ins
index 0ecbabbcf5..0bd796ff02 100644
--- a/macros/latex/required/babel/base/babel.ins
+++ b/macros/latex/required/babel/base/babel.ins
@@ -26,7 +26,7 @@
%% and covered by LPPL is defined by the unpacking scripts (with
%% extension .ins) which are part of the distribution.
%%
-\def\filedate{2023/07/09}
+\def\filedate{2023/07/15}
\def\batchfile{babel.ins}
\input docstrip.tex
diff --git a/macros/latex/required/babel/base/babel.pdf b/macros/latex/required/babel/base/babel.pdf
index d6a75241db..39ea9b89e9 100644
--- a/macros/latex/required/babel/base/babel.pdf
+++ b/macros/latex/required/babel/base/babel.pdf
Binary files differ
diff --git a/macros/latex/required/babel/base/bbcompat.dtx b/macros/latex/required/babel/base/bbcompat.dtx
index 6aed1294ac..9f926505d5 100644
--- a/macros/latex/required/babel/base/bbcompat.dtx
+++ b/macros/latex/required/babel/base/bbcompat.dtx
@@ -30,7 +30,7 @@
%
% \iffalse
%<*dtx>
-\ProvidesFile{bbcompat.dtx}[2023/07/09 v3.91]
+\ProvidesFile{bbcompat.dtx}[2023/07/15 v3.92]
%</dtx>
%
%% File 'bbcompat.dtx'