summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/base/latexrelease.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/base/latexrelease.sty')
-rw-r--r--Master/texmf-dist/tex/latex/base/latexrelease.sty182
1 files changed, 167 insertions, 15 deletions
diff --git a/Master/texmf-dist/tex/latex/base/latexrelease.sty b/Master/texmf-dist/tex/latex/base/latexrelease.sty
index 6daa5e56346..f964e99f970 100644
--- a/Master/texmf-dist/tex/latex/base/latexrelease.sty
+++ b/Master/texmf-dist/tex/latex/base/latexrelease.sty
@@ -31,7 +31,7 @@
%% (but please observe conditions on bug reports sent to that address!)
%%
%%
-%% Copyright 1993-2015
+%% Copyright 1993-2016
%% The LaTeX3 Project and any individual authors listed elsewhere
%% in this file.
%%
@@ -61,7 +61,7 @@
%% extension .ins) which are part of the distribution.
%%% From File: ltvers.dtx
\edef\latexreleaseversion
- {2015/10/01}
+ {2016/02/01}
\def\IncludeInRelease#1{\kernel@ifnextchar[%
{\@IncludeInRelease{#1}}
{\@IncludeInRelease{#1}[#1]}}
@@ -349,6 +349,23 @@ of this package available from CTAN}
\IncludeInRelease{0000/00/00}{\textcommabelow}{comma accent}%
\let\textcommabelow\@undefined
\EndIncludeInRelease
+\IncludeInRelease{2016/02/01}{\textcommaabove}{comma above}%
+\DeclareTextCommandDefault\textcommaabove[1]{%
+ \hmode@bgroup
+ \ooalign{%
+ \hidewidth
+ \raise.7ex\hbox{%
+ \check@mathfonts\fontsize\ssf@size\z@\math@fontsfalse\selectfont`%
+ }%
+ \hidewidth\crcr
+ \null#1\crcr
+ }%
+ \egroup
+}
+\EndIncludeInRelease
+\IncludeInRelease{0000/00/00}{\textcommaabove}{comma above}%
+\let\textcommaabove\@undefined
+\EndIncludeInRelease
%%% From File: ltcounts.dtx
\IncludeInRelease{2015/01/01}{\@stpelt}
{Reset nested counters}%
@@ -1207,6 +1224,20 @@ of this package available from CTAN}
\ifhmode
\spacefactor\@savsf
\ifdim\@savsk>\z@
+ \ifdim\lastskip=\z@
+ \nobreak \hskip\z@skip
+ \fi
+ \ignorespaces
+ \fi
+ \fi}%
+\EndIncludeInRelease
+\IncludeInRelease{2015/01/01}%
+ {\@esphack}{hyphenation after space hack}%
+\def\@esphack{%
+ \relax
+ \ifhmode
+ \spacefactor\@savsf
+ \ifdim\@savsk>\z@
\nobreak \hskip\z@skip
\ignorespaces
\fi
@@ -1328,8 +1359,17 @@ of this package available from CTAN}
\fi}
{\count14}\insc@unt\float@count}
\def\newtoks {\e@alloc\toks \toksdef{\count15}\m@ne\e@alloc@top}
-\def\newread {\e@alloc\read \chardef{\count16}\m@ne\sixt@@n}
-\def\newwrite {\e@alloc\write \chardef{\count17}\m@ne\sixt@@n}
+\def\newread {\e@alloc\read \chardef{\count16}\m@ne\sixt@@n}
+\ifx\directlua\@undefined
+ \def\newwrite {\e@alloc\write \chardef{\count17}\m@ne\sixt@@n}
+\else
+ \def\newwrite {\e@alloc\write
+ {\ifnum\allocationnumber=18 \allocationnumber19\fi
+ \global\chardef}%
+ {\count17}%
+ \m@ne
+ {128}}
+\fi
\def\new@mathgroup
{\e@alloc\mathgroup\chardef{\count18}\m@ne\e@mathgroup@top}
\def\newlanguage {\e@alloc\language \chardef{\count19}\m@ne\@cclvi}
@@ -2048,13 +2088,49 @@ of this package available from CTAN}
\newcatcodetable\catcodetable@latex
\newcatcodetable\catcodetable@atletter
\begingroup
- \let\ENDGROUP\endgroup
- \let\begingroup\relax
- \let\endgroup\relax
- \let\global\relax
- \let\gdef\def
- \input{unicode-letters.def}%
- \let\endgroup\ENDGROUP
+ \def\parseunicodedataI#1;#2;#3;#4\relax{%
+ \parseunicodedataII#1;#3;#2 First>\relax
+ }%
+ \def\parseunicodedataII#1;#2;#3 First>#4\relax{%
+ \ifx\relax#4\relax
+ \expandafter\parseunicodedataIII
+ \else
+ \expandafter\parseunicodedataIV
+ \fi
+ {#1}#2\relax%
+ }%
+ \def\parseunicodedataIII#1#2#3\relax{%
+ \ifnum 0%
+ \if L#21\fi
+ \if M#21\fi
+ >0 %
+ \catcode"#1=11 %
+ \fi
+ }%
+ \def\parseunicodedataIV#1#2#3\relax{%
+ \read\unicoderead to \unicodedataline
+ \if L#2%
+ \count0="#1 %
+ \expandafter\parseunicodedataV\unicodedataline\relax
+ \fi
+ }%
+ \def\parseunicodedataV#1;#2\relax{%
+ \loop
+ \unless\ifnum\count0>"#1 %
+ \catcode\count0=11 %
+ \advance\count0 by 1 %
+ \repeat
+ }%
+ \def\storedpar{\par}%
+ \chardef\unicoderead=\numexpr\count16 + 1\relax
+ \openin\unicoderead=UnicodeData.txt %
+ \loop\unless\ifeof\unicoderead %
+ \read\unicoderead to \unicodedataline
+ \unless\ifx\unicodedataline\storedpar
+ \expandafter\parseunicodedataI\unicodedataline\relax
+ \fi
+ \repeat
+ \closein\unicoderead
\@firstofone{%
\catcode64=12 %
\savecatcodetable\catcodetable@latex
@@ -2149,8 +2225,6 @@ of this package available from CTAN}
{\newXeTeXintercharclass}{Extended Allocation}%
\ifx\XeTeXcharclass\@undefined
\else
-\countdef\xe@alloc@intercharclass=257
-\xe@alloc@intercharclass=\thr@@
\def\newXeTeXintercharclass{%
\e@alloc\XeTeXcharclass\chardef\xe@alloc@intercharclass\m@ne\@cclv}
\fi
@@ -2159,8 +2233,6 @@ of this package available from CTAN}
{\newXeTeXintercharclass}{Extended Allocation}%
\ifx\XeTeXcharclass\@undefined
\else
- \newcount\xe@alloc@intercharclass
- \xe@alloc@intercharclass=\thr@@
\def\xe@alloc@#1#2#3#4#5{\global\advance#1\@ne
\xe@ch@ck#1#4#2%
\allocationnumber#1%
@@ -2175,6 +2247,86 @@ of this package available from CTAN}
\XeTeXcharclass\chardef\@cclv}
\fi
\EndIncludeInRelease
+\IncludeInRelease{2016/02/01}%
+ {\xe@alloc@intercharclass}{Start of XeTeX class allocator}%
+\ifx\XeTeXcharclass\@undefined
+\else
+ \countdef\xe@alloc@intercharclass=257
+ \xe@alloc@intercharclass=\z@
+\fi
+\EndIncludeInRelease
+\IncludeInRelease{2015/01/01}%
+ {\xe@alloc@intercharclass}{Start of XeTeX class allocator}%
+ \ifx\XeTeXcharclass\@undefined
+ \else
+ \xe@alloc@intercharclass=\thr@@
+ \fi
+\EndIncludeInRelease
+\IncludeInRelease{0000/00/00}%
+ {\xe@alloc@intercharclass}{Start of XeTeX class allocator}%
+ \ifx\XeTeXcharclass\@undefined
+ \else
+ \newcount\xe@alloc@intercharclass
+ \xe@alloc@intercharclass=\thr@@
+ \fi
+\EndIncludeInRelease
+\IncludeInRelease{2016/02/01}%
+ {\XeTeXintercharclasses}{XeTeX character classes}%
+ \ifx\XeTeXinterchartoks\undefined
+ \else
+ \begingroup
+ \chardef\XeTeXcharclassID = 0 %
+ \chardef\XeTeXcharclassOP = 0 %
+ \chardef\XeTeXcharclassCL = 0 %
+ \chardef\XeTeXcharclassEX = 0 %
+ \chardef\XeTeXcharclassIS = 0 %
+ \chardef\XeTeXcharclassNS = 0 %
+ \chardef\XeTeXcharclassCM = 0 %
+ \input{load-unicode-xetex-classes}
+ \endgroup
+ \global\let\xtxHanGlue\undefined
+ \global\let\xtxHanSpace\undefined
+ \global\XeTeXinterchartoks 0 1 = {}
+ \global\XeTeXinterchartoks 0 2 = {}
+ \global\XeTeXinterchartoks 0 3 = {}
+ \global\XeTeXinterchartoks 1 0 = {}
+ \global\XeTeXinterchartoks 2 0 = {}
+ \global\XeTeXinterchartoks 3 0 = {}
+ \global\XeTeXinterchartoks 1 1 = {}
+ \global\XeTeXinterchartoks 1 2 = {}
+ \global\XeTeXinterchartoks 1 3 = {}
+ \global\XeTeXinterchartoks 2 1 = {}
+ \global\XeTeXinterchartoks 2 2 = {}
+ \global\XeTeXinterchartoks 2 3 = {}
+ \global\XeTeXinterchartoks 3 1 = {}
+ \global\XeTeXinterchartoks 3 2 = {}
+ \global\XeTeXinterchartoks 3 3 = {}
+ \fi
+\EndIncludeInRelease
+\IncludeInRelease{0000/00/00}%
+ {\XeTeXintercharclasses}{XeTeX character classes}%
+ \ifx\XeTeXinterchartoks\undefined
+ \else
+ \input{load-unicode-xetex-classes}
+ \gdef\xtxHanGlue{\hskip0pt plus 0.1em\relax}
+ \gdef\xtxHanSpace{\hskip0.2em plus 0.2em minus 0.1em\relax}
+ \global\XeTeXinterchartoks 0 1 = {\xtxHanSpace}
+ \global\XeTeXinterchartoks 0 2 = {\xtxHanSpace}
+ \global\XeTeXinterchartoks 0 3 = {\nobreak\xtxHanSpace}
+ \global\XeTeXinterchartoks 1 0 = {\xtxHanSpace}
+ \global\XeTeXinterchartoks 2 0 = {\nobreak\xtxHanSpace}
+ \global\XeTeXinterchartoks 3 0 = {\xtxHanSpace}
+ \global\XeTeXinterchartoks 1 1 = {\xtxHanGlue}
+ \global\XeTeXinterchartoks 1 2 = {\xtxHanGlue}
+ \global\XeTeXinterchartoks 1 3 = {\nobreak\xtxHanGlue}
+ \global\XeTeXinterchartoks 2 1 = {\nobreak\xtxHanGlue}
+ \global\XeTeXinterchartoks 2 2 = {\nobreak\xtxHanGlue}
+ \global\XeTeXinterchartoks 2 3 = {\xtxHanGlue}
+ \global\XeTeXinterchartoks 3 1 = {\xtxHanGlue}
+ \global\XeTeXinterchartoks 3 2 = {\xtxHanGlue}
+ \global\XeTeXinterchartoks 3 3 = {\nobreak\xtxHanGlue}
+ \fi
+\EndIncludeInRelease
\endinput
%%
%% End of file `latexrelease.sty'.