diff options
author | Karl Berry <karl@freefriends.org> | 2020-02-03 22:29:17 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-02-03 22:29:17 +0000 |
commit | ca44d57bbfaa45d580f466e5dff1b3a9cccd49f6 (patch) | |
tree | 70648594f45670fbca5dd6a8841809d6781a3a56 /Master/texmf-dist/source/latex-dev/base/ltfssdcl.dtx | |
parent | ab7df394be9df85dae10db6d1e49584d0abfece2 (diff) |
latex-dev (3feb20)
git-svn-id: svn://tug.org/texlive/trunk@53651 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex-dev/base/ltfssdcl.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex-dev/base/ltfssdcl.dtx | 81 |
1 files changed, 11 insertions, 70 deletions
diff --git a/Master/texmf-dist/source/latex-dev/base/ltfssdcl.dtx b/Master/texmf-dist/source/latex-dev/base/ltfssdcl.dtx index 1c546e921c7..951c6de2e5a 100644 --- a/Master/texmf-dist/source/latex-dev/base/ltfssdcl.dtx +++ b/Master/texmf-dist/source/latex-dev/base/ltfssdcl.dtx @@ -36,7 +36,7 @@ % % \ProvidesFile{ltfssdcl.dtx} - [2019/08/27 v3.0s LaTeX Kernel (NFSS Declarative Interface)] + [2020/01/20 v3.0t LaTeX Kernel (NFSS Declarative Interface)] % \iffalse \documentclass{ltxdoc} \begin{document} @@ -1104,7 +1104,7 @@ \edef\reserved@a{\noexpand\in@ {\expandafter\@gobble\string\mathaccent} {\expandafter\meaning - \csname\expandafter\@gobble\string#1\space\endcsname}}% + \csname\expandafter\@gobble\string#1\space\endcsname}}% \reserved@a \ifin@ \expandafter\let @@ -1367,12 +1367,7 @@ % \begin{macro}{\@DeclareMathDelimiter} % \changes{v3.0r}{2016/02/18} % {Check for delimiter not \cs{delimiter}} -% \changes{v3.0s}{2019/08/27}{Make math delimiters robust} % \begin{macrocode} -%</2ekernel> -%<*2ekernel|latexrelease> -%<latexrelease>\IncludeInRelease{2019/10/01}% -%<latexrelease> {\@DeclareMathDelimiter}{Make math delimiters robust}% \def\@DeclareMathDelimiter#1#2#3#4#5#6{% \expandafter\in@\csname sym#3\expandafter\endcsname \expandafter{\group@list}% @@ -1398,11 +1393,9 @@ \edef\reserved@d{\hexnumber@{\count\z@}\hexnumber@{\count\tw@}}% % \edef\reserved@a{\noexpand\in@ - {\expandafter\@gobble\string\delimiter}% - {\expandafter\meaning\csname\expandafter\@gobble\string#1\space\endcsname}}% + {\expandafter\@gobble\string\delimiter}{\meaning#1}}% \reserved@a \ifin@ - \expandafter\let\csname\expandafter\@gobble\string#1\space\endcsname\@undefined \expandafter\set@mathdelimiter \csname sym#3\expandafter\endcsname \csname sym#5\endcsname#1#2% @@ -1428,65 +1421,6 @@ \@latex@error{Symbol font `#3' is not defined}\@eha \fi } -%</2ekernel|latexrelease> -%<latexrelease>\EndIncludeInRelease -%<latexrelease>\IncludeInRelease{0000/00/00}% -%<latexrelease> {\@DeclareMathDelimiter}{Make math delimiters robust}% -%<latexrelease>\def\@DeclareMathDelimiter#1#2#3#4#5#6{% -%<latexrelease> \expandafter\in@\csname sym#3\expandafter\endcsname -%<latexrelease> \expandafter{\group@list}% -%<latexrelease> \ifin@ -%<latexrelease> \expandafter\in@\csname sym#5\expandafter\endcsname -%<latexrelease> \expandafter{\group@list}% -%<latexrelease> \ifin@ -%<latexrelease> \begingroup -%<latexrelease> \count\z@=#4\relax -%<latexrelease> \count\tw@\count\z@ -%<latexrelease> \divide\count\z@\sixt@@n -%<latexrelease> \count@\count\z@ -%<latexrelease> \multiply\count@\sixt@@n -%<latexrelease> \advance\count\tw@-\count@ -%<latexrelease> \edef\reserved@c{\hexnumber@{\count\z@}\hexnumber@{\count\tw@}}% -%<latexrelease> % -%<latexrelease> \count\z@=#6\relax -%<latexrelease> \count\tw@\count\z@ -%<latexrelease> \divide\count\z@\sixt@@n -%<latexrelease> \count@\count\z@ -%<latexrelease> \multiply\count@\sixt@@n -%<latexrelease> \advance\count\tw@-\count@ -%<latexrelease> \edef\reserved@d{\hexnumber@{\count\z@}\hexnumber@{\count\tw@}}% -%<latexrelease> % -%<latexrelease> \edef\reserved@a{\noexpand\in@ -%<latexrelease> {\expandafter\@gobble\string\delimiter}{\meaning#1}}% -%<latexrelease> \reserved@a -%<latexrelease> \ifin@ -%<latexrelease> \expandafter\set@mathdelimiter -%<latexrelease> \csname sym#3\expandafter\endcsname -%<latexrelease> \csname sym#5\endcsname#1#2% -%<latexrelease> \reserved@c\reserved@d -%<latexrelease> \@font@info{Redeclaring math delimiter \string#1}% -%<latexrelease> \else -%<latexrelease> \expandafter\ifx -%<latexrelease> \csname\expandafter\@gobble\string#1\endcsname -%<latexrelease> \relax -%<latexrelease> \expandafter\set@mathdelimiter -%<latexrelease> \csname sym#3\expandafter\endcsname -%<latexrelease> \csname sym#5\endcsname#1#2% -%<latexrelease> \reserved@c\reserved@d -%<latexrelease> \else -%<latexrelease> \@latex@error{Command `\string#1' already defined}\@eha -%<latexrelease> \fi -%<latexrelease> \fi -%<latexrelease> \endgroup -%<latexrelease> \else -%<latexrelease> \@latex@error{Symbol font `#5' is not defined}\@eha -%<latexrelease> \fi -%<latexrelease> \else -%<latexrelease> \@latex@error{Symbol font `#3' is not defined}\@eha -%<latexrelease> \fi -%<latexrelease>} -%<latexrelease>\EndIncludeInRelease -%<*2ekernel> % \end{macrocode} % % \begin{macrocode} @@ -1547,9 +1481,16 @@ %<latexrelease>\IncludeInRelease{2019/10/01}% %<latexrelease> {\set@mathdelimiter}{make delimiters robust}% \def\set@mathdelimiter#1#2#3#4#5#6{% +% \end{macrocode} +% We use \cs{protected} not \cs{MakeRobust} so that +% \verb=\bigl\lfoor= etc.\ works inside \cs{protected@edef}. +% \changes{v3.0s}{2019/08/27}{Make math delimiters robust} +% \changes{v3.0t}{2020/01/20}{fix for gh/251} +% \begin{macrocode} + \protected \xdef#3{\delimiter"\mathchar@type#4\hexnumber@#1#5% \hexnumber@#2#6 }% - \MakeRobust#3% +% \MakeRobust#3% } \@onlypreamble\set@mathdelimiter %</2ekernel|latexrelease> |