diff options
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/everysel/README.md | 26 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/everysel/everysel.pdf | bin | 0 -> 442773 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/everysel/everysel.dtx | 441 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/everysel/everysel.ins | 49 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/everysel/everysel-2011-10-28.sty | 126 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/everysel/everysel.sty | 53 | ||||
-rwxr-xr-x | Master/tlpkg/bin/tlpkg-ctan-check | 2 | ||||
-rwxr-xr-x | Master/tlpkg/libexec/ctan2tds | 1 | ||||
-rw-r--r-- | Master/tlpkg/tlpsrc/collection-latexrecommended.tlpsrc | 1 | ||||
-rw-r--r-- | Master/tlpkg/tlpsrc/everysel.tlpsrc | 0 |
10 files changed, 697 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/latex/everysel/README.md b/Master/texmf-dist/doc/latex/everysel/README.md new file mode 100644 index 00000000000..900fac86efa --- /dev/null +++ b/Master/texmf-dist/doc/latex/everysel/README.md @@ -0,0 +1,26 @@ +# The obsolete LaTeX package `everysel` + +Copyright (C) 1995–2011 Martin Schröder, 2021 Marei Peischl (peiTeX) <marei@peitex.de> + +everysel 2021/01/18 v2.0 EverySelectfont Package + +The current maintainer of this package is Marei Peischl <marei@peitex.de> + +*************************************************************************** + + This material is subject to the LaTeX Project Public License version 1.3c + or later. See http://www.latex-project.org/lppl.txt for details. + +*************************************************************************** + +## Provided files + +* README.md +* everysel.dtx +* everysel.ins + +The files +* everysel.sty +* everysel-2011-10-28.sty +can be generated from the everysel.dtx by processing the everysel.ins-file. + diff --git a/Master/texmf-dist/doc/latex/everysel/everysel.pdf b/Master/texmf-dist/doc/latex/everysel/everysel.pdf Binary files differnew file mode 100644 index 00000000000..90dbd90b633 --- /dev/null +++ b/Master/texmf-dist/doc/latex/everysel/everysel.pdf diff --git a/Master/texmf-dist/source/latex/everysel/everysel.dtx b/Master/texmf-dist/source/latex/everysel/everysel.dtx new file mode 100644 index 00000000000..9a4c702f83b --- /dev/null +++ b/Master/texmf-dist/source/latex/everysel/everysel.dtx @@ -0,0 +1,441 @@ +% \iffalse meta-comment +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% Copyright (C) Martin Schröder, 1994–2001 +% Marei Peischl (peiTeX) <marei@peitex.de>, 2021 +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.3c +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.3c or later is part of all distributions of LaTeX +% version 2005/12/01 or later. +% +% This work has the LPPL maintenance status `maintained'. +% +% The Current Maintainer of this work is +% Marei Peischl <marei@peitex.de>. +% +% This work consists of the files +% README.md +% everysel.dtx +% everysel.ins +% and the derived files +% everysel.sty +% everysel-2011/10/28.sty +% everysel.pdf +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% \fi +% \iffalse +%<package|fallback>\NeedsTeXFormat{LaTeX2e}[1995/12/01] +%<package>\ProvidesPackage{everysel} +%<package> [2021/01/18 v2.0 EverySelectfont Package (MS)] +% +%<*driver> +\documentclass[a4paper]{ltxdoc} +\usepackage[T1]{fontenc} +\usepackage{url} +\usepackage[toc]{multitoc} +\usepackage{lmodern,microtype} +\usepackage{geometry} +\usepackage{everysel} +\GetFileInfo{everysel.sty} +\RecordChanges % Gather update information +\EnableCrossrefs +%%\DisableCrossrefs% Say \DisableCrossrefs if index is ready +\CodelineIndex % Index code by line number +%\OnlyDescription % comment out for implementation details +%%\OldMakeIndex % use if your MakeIndex is pre-v2.9 +\setcounter{IndexColumns}{1} +% onecolumn glossary +%% \makeatletter +%% \renewenvironment{theglossary}{% +%% \glossary@prologue +%% \setlength\emergencystretch{5em} +%% \GlossaryParms \let\item\@idxitem \ignorespaces}{} +%% \makeatother +\setlength{\IndexMin}{40ex} +\setlength{\columnseprule}{.4pt} +\addtolength{\oddsidemargin}{2cm} +\addtolength{\textwidth}{-2cm} +\raggedright % otherwise we get over/underfull hboxes +\begin{document} + \DocInput{everysel.dtx} + \PrintChanges + % Make sure that the index is not printed twice + % (ltxdoc.cfg might have a second \PrintIndex command) + \let\PrintChanges\relax +\end{document} +%</driver> +% \fi +% \CheckSum{172} +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +% +% \changes{v1.00}{1996-05-24}{New} +% \changes{v1.02}{1998-04-11}{Minor documentation enhancements} +% \changes{v1.02}{1998-08-09}{Minor documentation enhancements} +% \changes{v1.03}{1999/06/08}{Moved to LPPL} +% \changes{v1.1}{2009/05/30}{New address, LPPL 1.3} +% +% +% ^^A ----------------------------- +% +% \pagestyle{headings} +% +% \newcommand*{\file}[1]{\texttt{#1}} +% \newcommand*{\package}[1]{\textsf{#1}} +% \hyphenation{every-select-font} +% +% +% ^^A ----------------------------- +% +% \changes{v1.01}{1997-03-09}{Fixed use of \cs{newline} in title.} +% \title{\unskip +% The obsolete \package{EverySel} package^^A +% \thanks{^^A +% The version umber of this file is \fileversion.\protect\newline +% The name \textsf{EverySel} is a tribute to the $8+3$ file-naming +% convention of certain ``operating systems'' and their ``file systems''; +% strictly speaking it should be \textsf{EverySelectfont}.}^^A +% } +% \author{Martin Schröder\thanks{maintained by Marei Peischl}} +% \maketitle +% +% +% ^^A ----------------------------- +% \changes{v2.0}{2021/01/17}{Information on new kernel methods} +% \renewcommand*{\abstractname}{Why you should no longer use this package:} +% \begin{abstract} +% This packages provides hooks into the NFSS-command +% \cs{selectfont} called \cs{EverySelectfont} and +% \cs{AtNextSelectfont} analogous to \cs{AtBeginDocument}. +% In January 2021 the hook management \LaTeX{} provides since autumn 2020 the kernel directly contains these hooks. Information on their usage can be found in the the corresponding documentation for +% \package{lthooks}\cite{lthooks-doc} and look for Hooks provided in NFSS command. +% We only provide this package to allow backwards compatibility. +% For current versions of \LaTeX{} it's only mapping the hooks to the original \package{everysel} macros. +% In case you use an older \LaTeX{} format, \package{everysel} will automatically fallback to its' old implementation by loading \package{everysel-2011/10/28.sty}. +% \end{abstract} +% +% \pagestyle{headings} +% +% +% ^^A ----------------------------- +% +% \tableofcontents +% +% +% ^^A ----------------------------- +% +% \section{Introduction} +% ^^A +% This package provides the hooks \cs{EverySelectfont} and +% \cs{AtNextSelectfont} whose arguments are executed just after +% \LaTeX{} has loaded a new font using \cs{selectfont} (which means +% that it will be executed after \emph{every} font loaded via NFSS). +% +% An example application would be a package for setting ragged text +% which needs to distiguinsh between monospaced and proportional +% fonts. +% Such a package exists: \package{ragged2e}\cite{package:ragged2e}. +% +% +% ^^A ----------------------------- +% +% \section{Usage} +% ^^A +% \DescribeMacro{\EverySelectfont} +% \cs{EverySelectfont}\marg{code} declares +% \mbox{$\langle$\emph{code}$\rangle$} that is saved internally +% and executed just after \emph{each} \cs{selectfont}. +% +% \emph{Warning:} The \mbox{$\langle$\emph{code}$\rangle$} is saved +% globally; there is currently no way to remove it. +% +% \DescribeMacro{\AtNextSelectfont} +% \cs{AtNextSelectfont}\marg{code} declares +% \mbox{$\langle$\emph{code}$\rangle$} that is saved internally +% and executed just after \emph{and only the next} \cs{selectfont}. +% +% Repeated use of the commands is permitted: the code in their +% argument is stored (and executed) in the order of their +% declarations. +% +% The argument of \cs{AtNextSelectfont} is executed \emph{after} +% the argument of \cs{EverySelectfont}. +% +% +% ^^A ----------------------------- +% +% \section{Options} +% ^^A +% The package has no options. +% +% +% ^^A ----------------------------- +% +% \section{Required packages} +% ^^A +% The package requires no further packages. +% +% +% ^^A ----------------------------- +% +% \StopEventually{^^A +% +% +% ^^A ----------------------------- +% +% \section{Acknowledgements} +% ^^A +% David Carlisle provided the solution for my problems with \cs{CheckCommand}. +% +% Thanks to the \LaTeX-Project-Team for creating solutions which made this an obsolete package. Special thanks to Ulrike Fischer to keep the maintainer up to date. +% +% +% ^^A ----------------------------- +% +% \begin{thebibliography}{1} +% \raggedright +% \bibitem{lthooks-doc} +% Frank Mittelbach. +% \newblock The \package{ltshipout} package. +% \newblock \url{http://mirrors.ctan.org/macros/latex/base/lthooks-doc.pdf} +% \bibitem{package:tracefnt} +% Frank Mittelbach and Rainer Sch\"opf. +% \newblock The \package{tracefnt} package for use with the new +% font selection scheme. +% \newblock \url{http://mirrors.ctan.org/macros/latex/base/ltfsstrc.dtx}. +% \newblock \LaTeXe{} package. +% \bibitem{package:ragged2e} +% Martin Schr\"oder. +% \newblock The \package{ragged2e} package. +% \newblock \url{http://mirrors.ctan.org/macros/latex/contrib/supported/ms/ragged2e.dtx}. +% \newblock \LaTeXe{} package. +% \end{thebibliography} +% +% } +% +% +% ^^A ----------------------------- +% +% \section{The implementation} +% ^^A +% \changes{v2.0}{2021/01/17}{Emulate everysel if the kernel is new enough.} +% \begin{macrocode} +%<*package> +% \raggedright +% \begin{macrocode} +\providecommand\IfFormatAtLeastTF{\@ifl@t@r\fmtversion} +\IfFormatAtLeastTF{2021/01/05}{}{\input{everysel-2011-10-28.sty}} +\IfFormatAtLeastTF{2021/01/05}{}{\endinput} +\newcommand*{\EverySelectfont}[1]{\AddToHook{selectfont}{#1}} +\newcommand*{\AtNextSelectfont}[1]{\AddToHookNext{selectfont}{#1}} +%</package> +% \end{macrocode} +% ^^A ----------------------------- +% \subsection{The original implementation by Martin Schröder} +% To provide compatibility for older \LaTeX{} formats we wrap the +% original implementation of \package{everysel} version 1.2 into +% the fallback package \package{everyshi-2011-01-10}. +% \subsubsection{Allocations} +% ^^A +% First we allocate the hooks +% \begin{macro}{\@EverySelectfont@EveryHook} +% The code to be executed just after the normal \cs{selectfont}. +% \begin{macrocode} +%<*fallback> +\newcommand{\@EverySelectfont@EveryHook}{} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\@EverySelectfont@AtNextHook} +% The code to be executed just after the normal \cs{selectfont} +% and \cs{@EverySelectfont@EveryHook}. +% \begin{macrocode} +\newcommand{\@EverySelectfont@AtNextHook}{} +% \end{macrocode} +% \end{macro} +% +% +% ^^A ----------------------------- +% +% \subsubsection{The user-visible commands} +% ^^A +% \begin{macro}{\EverySelectfont} +% \begin{macro}{\AtNextSelectfont} +% These commands are modeled after \cs{AtBeginDocument}. +% \begin{macrocode} +\newcommand*{\EverySelectfont}[1] + {\g@addto@macro\@EverySelectfont@EveryHook{#1}} +\newcommand*{\AtNextSelectfont}[1] + {\g@addto@macro\@EverySelectfont@AtNextHook{#1}} +% \end{macrocode} +% \end{macro} +% \end{macro} +% +% +% ^^A ----------------------------- +% +% \subsubsection{Inserting the hooks} +% ^^A +% The hooks are placed \emph{inside} \cs{selectfont}. +% Unfortunately for us there are \emph{two} versions of +% \cs{selectfont} in normal \LaTeX: One is defined in the kernel and +% the other by the package \package{tracefnt}\cite{package:tracefnt}. +% The \package{CJK} also redefines \cs{selectfont}. +% +% So we have to check for three versions. +% \begin{macro}{\@EverySelectfont@Init} +% We do this in the macro \cs{@EverySelectfont@Init}, which is +% executed just after \cs{begin\{document\}} (with the aid of +% \cs{AtBeginDocument}), when we know for sure which version of +% \cs{selectfont} we have to overload. +% \begin{macrocode} +\newcommand*{\@EverySelectfont@Init}{% + \message{ABD: EverySelectfont initializing macros}% +% \end{macrocode} +% We have to distinguish three cases: \package{tracefnt}, +% \package{CJK} and everything else. +% \begin{macrocode} + \@ifpackageloaded{tracefnt}{% +% \end{macrocode} +% And we have a problem: \cs{selectfont} is defined using +% \cs{DeclareRobustCommand}, which really defines +% \cs{selectfont\textvisiblespace}. +% So instead of simply using \cs{CheckCommand} we also have to use +% \cs{expandafter} and \cs{csname}\ldots\cs{endcsname}. +% \begin{macrocode} + \expandafter\CheckCommand\csname selectfont \endcsname{% + \ifx\f@linespread\baselinestretch \else + \set@fontsize\baselinestretch\f@size\f@baselineskip \fi + \xdef\font@name{% + \csname\curr@fontshape/\f@size\endcsname}% + \pickup@font + \font@name + \ifnum \tracingfonts>\tw@ + \@font@info{Switching to \font@name}\fi + \size@update + \enc@update + }% + }{% +% \end{macrocode} +% The case with \package{CJK} +% \changes{v1.2}{2011-10-27}{Check for \package{CJK}.} +% \begin{macrocode} + \@ifpackageloaded{CJK}{% + \expandafter\CheckCommand\csname selectfont \endcsname{% + \ifx\f@linespread\baselinestretch \else + \set@fontsize\baselinestretch\f@size\f@baselineskip \fi + \xdef\font@name{% + \csname\curr@fontshape/\f@size\endcsname}% + \pickup@font + \font@name + \expandafter\ifx\csname CJK@\curr@fontshape\endcsname \relax + \else + \CJK@bold@false + \csname CJK@\curr@fontshape\endcsname + \fi + \size@update + \enc@update}% + }{% +% \end{macrocode} +% Now the default (no \package{tracefnt} and no \package{CJK}). +% \begin{macrocode} + \expandafter\CheckCommand\csname selectfont \endcsname{% + \ifx\f@linespread\baselinestretch \else + \set@fontsize\baselinestretch\f@size\f@baselineskip \fi + \xdef\font@name{% + \csname\curr@fontshape/\f@size\endcsname}% + \pickup@font + \font@name + \size@update + \enc@update + }% + }% + }% +% \end{macrocode} +% After the checks we can be sure we have the correct version of +% \cs{selectfont}, so we redefine it with our hooks. +% \begin{macrocode} + \DeclareRobustCommand{\selectfont}% + {% + \ifx\f@linespread\baselinestretch \else + \set@fontsize\baselinestretch\f@size\f@baselineskip \fi + \xdef\font@name{% + \csname\curr@fontshape/\f@size\endcsname}% + \pickup@font + \font@name + \@EverySelectfont@EveryHook + \@EverySelectfont@AtNextHook +% \end{macrocode} +% We have to reset \cs{@EverySelectfont@AtNextHook} after each use. +% \begin{macrocode} + \gdef\@EverySelectfont@AtNextHook{}% + \size@update + \enc@update + }% +% \end{macrocode} +% The additions of \package{tracefnt} to \cs{selectfont} can be +% implemented using \cs{EverySelectfont}. +% \begin{macrocode} + \@ifpackageloaded{tracefnt}{% + \EverySelectfont{% + \ifnum \tracingfonts>\tw@ + \@font@info{Switching to \font@name}\fi}% + }{}% +% \end{macrocode} +% The additions of \package{CJK} to \cs{selectfont} can be +% implemented using \cs{EverySelectfont}. +% \changes{v1.2}{2011-10-27}{Check for \package{CJK}.} +% \begin{macrocode} + \@ifpackageloaded{CJK}{% + \EverySelectfont{% + \expandafter\ifx\csname CJK@\curr@fontshape\endcsname \relax + \else + \CJK@bold@false + \csname CJK@\curr@fontshape\endcsname + \fi}% + }{}% +% \end{macrocode} +% Since \cs{@EverySelectfont@Init} should only be used once it is +% self-destructing. +% \begin{macrocode} + \let\@EverySelectfont@Init\undefined + } +% \end{macrocode} +% Finally we insert \cs{EverySelectfont@Init} into \cs{begin\{document\}}. +% \begin{macrocode} +\AtBeginDocument{\@EverySelectfont@Init} +% \end{macrocode} +% \end{macro} +% +% +% ^^A ----------------------------- +% +% \begin{macrocode} +%</fallback> +% \end{macrocode} +% +% +% ^^A ----------------------------- +% +% \Finale +% ^^A diff --git a/Master/texmf-dist/source/latex/everysel/everysel.ins b/Master/texmf-dist/source/latex/everysel/everysel.ins new file mode 100644 index 00000000000..9d53007e290 --- /dev/null +++ b/Master/texmf-dist/source/latex/everysel/everysel.ins @@ -0,0 +1,49 @@ +\input docstrip.tex + +\NeedsTeXFormat{LaTeX2e} +\ProvidesFile{everysel.ins} + [2020/01/17 v2,0 Installation script for EverySelectfont Package] + +\preamble +Copyright (C) 1996–2009 Martin Schröder, 2020 Marei Peischl (peiTeX) <marei@peitex.de> + +This work may be distributed and/or modified under the +conditions of the LaTeX Project Public License, either version 1.3c +of this license or (at your option) any later version. +The latest version of this license is in +http://www.latex-project.org/lppl.txt +and version 1.3c or later is part of all distributions of LaTeX +version 2005/12/01 or later. + +This work has the LPPL maintenance status `maintained'. + +The Current Maintainer of this work is + Marei Peischl <marei@peitex.de>. + +This work consists of the files everysel.dtx and everysel.ins +and the derived files everysel.sty and everysel-2011-10-28.sty. + +\endpreamble +\keepsilent +\askforoverwritefalse +\generate{% + \file{everysel.sty}{\from{everysel.dtx}{package}} + \file{everysel-2011-10-28.sty}{\from{everysel.dtx}{fallback,origpackage}} +} + +\Msg{***********************************************************} +\Msg{*} +\Msg{* To finish the installation you have to move the following} +\Msg{* style files into a directory searched by TeX:} +\Msg{*} +\Msg{* \space\space everysel.sty} +\Msg{* \space\space everysel-2011-10-28.sty} +\Msg{*} +\Msg{* To produce the documentation run the file everysel.dtx} +\Msg{* through LaTeX.} +\Msg{*} +\Msg{* Happy TeXing} +\Msg{***********************************************************} +\endbatchfile +%% +%% End of file `everysel.ins'. diff --git a/Master/texmf-dist/tex/latex/everysel/everysel-2011-10-28.sty b/Master/texmf-dist/tex/latex/everysel/everysel-2011-10-28.sty new file mode 100644 index 00000000000..41a9bc53673 --- /dev/null +++ b/Master/texmf-dist/tex/latex/everysel/everysel-2011-10-28.sty @@ -0,0 +1,126 @@ +%% +%% This is file `everysel-2011-10-28.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% everysel.dtx (with options: `fallback,origpackage') +%% Copyright (C) 1996–2009 Martin Schröder, 2020 Marei Peischl (peiTeX) <marei@peitex.de> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3c +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3c or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is +%% Marei Peischl <marei@peitex.de>. +%% +%% This work consists of the files everysel.dtx and everysel.ins +%% and the derived files everysel.sty and everysel-2011-10-28.sty. +%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\newcommand{\@EverySelectfont@EveryHook}{} +\newcommand{\@EverySelectfont@AtNextHook}{} +\newcommand*{\EverySelectfont}[1] + {\g@addto@macro\@EverySelectfont@EveryHook{#1}} +\newcommand*{\AtNextSelectfont}[1] + {\g@addto@macro\@EverySelectfont@AtNextHook{#1}} +\newcommand*{\@EverySelectfont@Init}{% + \message{ABD: EverySelectfont initializing macros}% + \@ifpackageloaded{tracefnt}{% + \expandafter\CheckCommand\csname selectfont \endcsname{% + \ifx\f@linespread\baselinestretch \else + \set@fontsize\baselinestretch\f@size\f@baselineskip \fi + \xdef\font@name{% + \csname\curr@fontshape/\f@size\endcsname}% + \pickup@font + \font@name + \ifnum \tracingfonts>\tw@ + \@font@info{Switching to \font@name}\fi + \size@update + \enc@update + }% + }{% + \@ifpackageloaded{CJK}{% + \expandafter\CheckCommand\csname selectfont \endcsname{% + \ifx\f@linespread\baselinestretch \else + \set@fontsize\baselinestretch\f@size\f@baselineskip \fi + \xdef\font@name{% + \csname\curr@fontshape/\f@size\endcsname}% + \pickup@font + \font@name + \expandafter\ifx\csname CJK@\curr@fontshape\endcsname \relax + \else + \CJK@bold@false + \csname CJK@\curr@fontshape\endcsname + \fi + \size@update + \enc@update}% + }{% + \expandafter\CheckCommand\csname selectfont \endcsname{% + \ifx\f@linespread\baselinestretch \else + \set@fontsize\baselinestretch\f@size\f@baselineskip \fi + \xdef\font@name{% + \csname\curr@fontshape/\f@size\endcsname}% + \pickup@font + \font@name + \size@update + \enc@update + }% + }% + }% + \DeclareRobustCommand{\selectfont}% + {% + \ifx\f@linespread\baselinestretch \else + \set@fontsize\baselinestretch\f@size\f@baselineskip \fi + \xdef\font@name{% + \csname\curr@fontshape/\f@size\endcsname}% + \pickup@font + \font@name + \@EverySelectfont@EveryHook + \@EverySelectfont@AtNextHook + \gdef\@EverySelectfont@AtNextHook{}% + \size@update + \enc@update + }% + \@ifpackageloaded{tracefnt}{% + \EverySelectfont{% + \ifnum \tracingfonts>\tw@ + \@font@info{Switching to \font@name}\fi}% + }{}% + \@ifpackageloaded{CJK}{% + \EverySelectfont{% + \expandafter\ifx\csname CJK@\curr@fontshape\endcsname \relax + \else + \CJK@bold@false + \csname CJK@\curr@fontshape\endcsname + \fi}% + }{}% + \let\@EverySelectfont@Init\undefined + } +\AtBeginDocument{\@EverySelectfont@Init} +\endinput +%% +%% End of file `everysel-2011-10-28.sty'. diff --git a/Master/texmf-dist/tex/latex/everysel/everysel.sty b/Master/texmf-dist/tex/latex/everysel/everysel.sty new file mode 100644 index 00000000000..f4c26206ac3 --- /dev/null +++ b/Master/texmf-dist/tex/latex/everysel/everysel.sty @@ -0,0 +1,53 @@ +%% +%% This is file `everysel.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% everysel.dtx (with options: `package') +%% Copyright (C) 1996–2009 Martin Schröder, 2020 Marei Peischl (peiTeX) <marei@peitex.de> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3c +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3c or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is +%% Marei Peischl <marei@peitex.de>. +%% +%% This work consists of the files everysel.dtx and everysel.ins +%% and the derived files everysel.sty and everysel-2011-10-28.sty. +%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesPackage{everysel} + [2021/01/18 v2.0 EverySelectfont Package (MS)] +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\providecommand\IfFormatAtLeastTF{\@ifl@t@r\fmtversion} +\IfFormatAtLeastTF{2021/01/05}{}{\input{everysel-2011-10-28.sty}} +\IfFormatAtLeastTF{2021/01/05}{}{\endinput} +\newcommand*{\EverySelectfont}[1]{\AddToHook{selectfont}{#1}} +\newcommand*{\AtNextSelectfont}[1]{\AddToHookNext{selectfont}{#1}} +\endinput +%% +%% End of file `everysel.sty'. diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check index 8cef87f9b5e..aa94a4b52be 100755 --- a/Master/tlpkg/bin/tlpkg-ctan-check +++ b/Master/tlpkg/bin/tlpkg-ctan-check @@ -289,7 +289,7 @@ my @TLP_working = qw( etoc etoolbox etoolbox-de etsvthor euclideangeometry euenc euflag eukdate euler eulerpx eulervm euro euro-ce europasscv europecv eurosym - everyhook everypage everyshi + everyhook everypage everysel everyshi exam exam-n exam-randomizechoices examdesign example examplep exceltex excludeonly exercise exercisebank exercisepoints exercises exesheet exframe exp-testopt diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index 10232131732..d10e2dcd026 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -473,7 +473,6 @@ chomp (my $ctan_root = `tlpkginfo --ctan-root`); 'europs', "die 'skipping, support for nonfree fonts'", 'eurosans', "die 'skipping, support for nonfree fonts'", 'eurosym', "&MAKEflatten", - 'everysel', "die 'skipping, use ms'", 'excel2latex', "die 'skipping, only supports excel?'", 'expl3', "die 'skipping, now l3kernel, etc.'", 'expressgx', "&MAKEexpressg", diff --git a/Master/tlpkg/tlpsrc/collection-latexrecommended.tlpsrc b/Master/tlpkg/tlpsrc/collection-latexrecommended.tlpsrc index eb6bf3af661..f2510c4b04f 100644 --- a/Master/tlpkg/tlpsrc/collection-latexrecommended.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-latexrecommended.tlpsrc @@ -21,6 +21,7 @@ depend eso-pic depend euenc depend euler depend etoolbox +depend everysel depend everyshi depend extsizes depend fancybox diff --git a/Master/tlpkg/tlpsrc/everysel.tlpsrc b/Master/tlpkg/tlpsrc/everysel.tlpsrc new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/Master/tlpkg/tlpsrc/everysel.tlpsrc |