summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/base
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-01-31 23:48:08 +0000
committerKarl Berry <karl@freefriends.org>2016-01-31 23:48:08 +0000
commit07aaa313db3abb8f932308307c9ca78bb1c3054d (patch)
treede018a29452c3b2131a23c228458012b15686e79 /Master/texmf-dist/source/latex/base
parent326c162a7ec8088d104101b4739c727d824ae5f7 (diff)
latex2e 2016/02/01
git-svn-id: svn://tug.org/texlive/trunk@39528 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/base')
-rw-r--r--Master/texmf-dist/source/latex/base/alltt.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/alltt.ins2
-rw-r--r--Master/texmf-dist/source/latex/base/classes.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/classes.ins4
-rw-r--r--Master/texmf-dist/source/latex/base/cmextra.ins4
-rw-r--r--Master/texmf-dist/source/latex/base/cmfonts.fdd2
-rw-r--r--Master/texmf-dist/source/latex/base/cmfonts.ins4
-rw-r--r--Master/texmf-dist/source/latex/base/doc.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/docstrip.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/docstrip.ins4
-rw-r--r--Master/texmf-dist/source/latex/base/ec.ins4
-rw-r--r--Master/texmf-dist/source/latex/base/exscale.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/exscale.ins4
-rw-r--r--Master/texmf-dist/source/latex/base/fix-cm.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/fix-cm.ins4
-rw-r--r--Master/texmf-dist/source/latex/base/fontdef.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/format.ins6
-rw-r--r--Master/texmf-dist/source/latex/base/graphpap.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/graphpap.ins4
-rw-r--r--Master/texmf-dist/source/latex/base/ifthen.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/ifthen.ins4
-rw-r--r--Master/texmf-dist/source/latex/base/inputenc.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/inputenc.ins4
-rw-r--r--Master/texmf-dist/source/latex/base/latex209.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/latex209.ins4
-rw-r--r--Master/texmf-dist/source/latex/base/latexrelease.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/latexrelease.ins4
-rw-r--r--Master/texmf-dist/source/latex/base/latexsym.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/latexsym.ins6
-rw-r--r--Master/texmf-dist/source/latex/base/letter.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/letter.ins4
-rw-r--r--Master/texmf-dist/source/latex/base/ltalloc.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/ltbibl.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/ltboxes.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/ltclass.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/ltcntrl.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/ltcounts.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/ltdefns.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/ltdirchk.dtx4
-rw-r--r--Master/texmf-dist/source/latex/base/lterror.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/ltfiles.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/ltfinal.dtx123
-rw-r--r--Master/texmf-dist/source/latex/base/ltfloat.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/ltfntcmd.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/ltfssbas.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/ltfsscmp.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/ltfssdcl.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/ltfssini.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/ltfsstrc.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/lthyphen.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/ltidxglo.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/ltlength.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/ltlists.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/ltlogos.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/ltluatex.dtx210
-rw-r--r--Master/texmf-dist/source/latex/base/ltmath.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/ltnews24.tex262
-rw-r--r--Master/texmf-dist/source/latex/base/ltoutenc.dtx50
-rw-r--r--Master/texmf-dist/source/latex/base/ltoutenc.ins4
-rw-r--r--Master/texmf-dist/source/latex/base/ltoutput.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/ltpage.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/ltpageno.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/ltpar.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/ltpictur.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/ltplain.dtx30
-rw-r--r--Master/texmf-dist/source/latex/base/ltsect.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/ltspace.dtx26
-rw-r--r--Master/texmf-dist/source/latex/base/lttab.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/ltthm.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/ltunicode.dtx860
-rw-r--r--Master/texmf-dist/source/latex/base/ltvers.dtx6
-rw-r--r--Master/texmf-dist/source/latex/base/ltxdoc.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/ltxref.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/makeindx.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/makeindx.ins4
-rw-r--r--Master/texmf-dist/source/latex/base/newdc.ins4
-rw-r--r--Master/texmf-dist/source/latex/base/newlfont.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/nfssfont.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/nfssfont.ins4
-rw-r--r--Master/texmf-dist/source/latex/base/olddc.ins4
-rw-r--r--Master/texmf-dist/source/latex/base/oldlfont.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/preload.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/proc.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/proc.ins4
-rw-r--r--Master/texmf-dist/source/latex/base/slides.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/slides.ins8
-rw-r--r--Master/texmf-dist/source/latex/base/slifonts.fdd2
-rw-r--r--Master/texmf-dist/source/latex/base/syntonly.dtx2
-rw-r--r--Master/texmf-dist/source/latex/base/syntonly.ins4
-rw-r--r--Master/texmf-dist/source/latex/base/utf8ienc.dtx95
90 files changed, 798 insertions, 1082 deletions
diff --git a/Master/texmf-dist/source/latex/base/alltt.dtx b/Master/texmf-dist/source/latex/base/alltt.dtx
index 92461034c7d..097919f01ae 100644
--- a/Master/texmf-dist/source/latex/base/alltt.dtx
+++ b/Master/texmf-dist/source/latex/base/alltt.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/alltt.ins b/Master/texmf-dist/source/latex/base/alltt.ins
index 1995a9d13f4..da0b7e830eb 100644
--- a/Master/texmf-dist/source/latex/base/alltt.ins
+++ b/Master/texmf-dist/source/latex/base/alltt.ins
@@ -45,7 +45,7 @@ reports for it can be opened at http://latex-project.org/bugs.html
(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.
diff --git a/Master/texmf-dist/source/latex/base/classes.dtx b/Master/texmf-dist/source/latex/base/classes.dtx
index da03be2cf7a..a6a31d52465 100644
--- a/Master/texmf-dist/source/latex/base/classes.dtx
+++ b/Master/texmf-dist/source/latex/base/classes.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/classes.ins b/Master/texmf-dist/source/latex/base/classes.ins
index 31170114b9a..e7ffc375bc5 100644
--- a/Master/texmf-dist/source/latex/base/classes.ins
+++ b/Master/texmf-dist/source/latex/base/classes.ins
@@ -3,7 +3,7 @@
%% driver files from the doc files in this package when run through
%% LaTeX or TeX.
%%
-%% Copyright 1993-2015
+%% Copyright 1993-2016
%% The LaTeX3 Project and any individual authors listed elsewhere
%% in this file.
%%
@@ -45,7 +45,7 @@ reports for it can be opened at http://latex-project.org/bugs.html
(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.
diff --git a/Master/texmf-dist/source/latex/base/cmextra.ins b/Master/texmf-dist/source/latex/base/cmextra.ins
index 606519e4e68..5a5f7522972 100644
--- a/Master/texmf-dist/source/latex/base/cmextra.ins
+++ b/Master/texmf-dist/source/latex/base/cmextra.ins
@@ -3,7 +3,7 @@
%% driver files from the doc files in this package when run through
%% LaTeX or TeX.
%%
-%% Copyright 1993-2015
+%% Copyright 1993-2016
%% The LaTeX3 Project and any individual authors listed elsewhere
%% in this file.
%%
@@ -45,7 +45,7 @@ reports for it can be opened at http://latex-project.org/bugs.html
(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.
diff --git a/Master/texmf-dist/source/latex/base/cmfonts.fdd b/Master/texmf-dist/source/latex/base/cmfonts.fdd
index 3f9f355ab58..925cb070570 100644
--- a/Master/texmf-dist/source/latex/base/cmfonts.fdd
+++ b/Master/texmf-dist/source/latex/base/cmfonts.fdd
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/cmfonts.ins b/Master/texmf-dist/source/latex/base/cmfonts.ins
index f708b02f940..a6616f93d80 100644
--- a/Master/texmf-dist/source/latex/base/cmfonts.ins
+++ b/Master/texmf-dist/source/latex/base/cmfonts.ins
@@ -3,7 +3,7 @@
%% driver files from the doc files in this package when run through
%% LaTeX or TeX.
%%
-%% Copyright 1993-2015
+%% Copyright 1993-2016
%% The LaTeX3 Project and any individual authors listed elsewhere
%% in this file.
%%
@@ -45,7 +45,7 @@ reports for it can be opened at http://latex-project.org/bugs.html
(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.
diff --git a/Master/texmf-dist/source/latex/base/doc.dtx b/Master/texmf-dist/source/latex/base/doc.dtx
index be0539c461f..d17bf9fd758 100644
--- a/Master/texmf-dist/source/latex/base/doc.dtx
+++ b/Master/texmf-dist/source/latex/base/doc.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/docstrip.dtx b/Master/texmf-dist/source/latex/base/docstrip.dtx
index f91d3e965f6..2ca9bd3cca2 100644
--- a/Master/texmf-dist/source/latex/base/docstrip.dtx
+++ b/Master/texmf-dist/source/latex/base/docstrip.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/docstrip.ins b/Master/texmf-dist/source/latex/base/docstrip.ins
index 6ca81545ea0..6a840fd0d3f 100644
--- a/Master/texmf-dist/source/latex/base/docstrip.ins
+++ b/Master/texmf-dist/source/latex/base/docstrip.ins
@@ -3,7 +3,7 @@
%% driver files from the doc files in this package when run through
%% LaTeX or TeX.
%%
-%% Copyright 1993-2015
+%% Copyright 1993-2016
%% The LaTeX3 Project and any individual authors listed elsewhere
%% in this file.
%%
@@ -49,7 +49,7 @@ reports for it can be opened at http://latex-project.org/bugs.html
(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.
diff --git a/Master/texmf-dist/source/latex/base/ec.ins b/Master/texmf-dist/source/latex/base/ec.ins
index 4b714155404..d5015d43874 100644
--- a/Master/texmf-dist/source/latex/base/ec.ins
+++ b/Master/texmf-dist/source/latex/base/ec.ins
@@ -3,7 +3,7 @@
%% driver files from the doc files in this package when run through
%% LaTeX or TeX.
%%
-%% Copyright 1993-2015
+%% Copyright 1993-2016
%% The LaTeX3 Project and any individual authors listed elsewhere
%% in this file.
%%
@@ -45,7 +45,7 @@ reports for it can be opened at http://latex-project.org/bugs.html
(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.
diff --git a/Master/texmf-dist/source/latex/base/exscale.dtx b/Master/texmf-dist/source/latex/base/exscale.dtx
index 856aef09a6b..91abcb7e904 100644
--- a/Master/texmf-dist/source/latex/base/exscale.dtx
+++ b/Master/texmf-dist/source/latex/base/exscale.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/exscale.ins b/Master/texmf-dist/source/latex/base/exscale.ins
index 7670ca1176f..f8eb34c3d4d 100644
--- a/Master/texmf-dist/source/latex/base/exscale.ins
+++ b/Master/texmf-dist/source/latex/base/exscale.ins
@@ -3,7 +3,7 @@
%% driver files from the doc files in this package when run through
%% LaTeX or TeX.
%%
-%% Copyright 1993-2015
+%% Copyright 1993-2016
%% The LaTeX3 Project and any individual authors listed elsewhere
%% in this file.
%%
@@ -45,7 +45,7 @@ reports for it can be opened at http://latex-project.org/bugs.html
(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.
diff --git a/Master/texmf-dist/source/latex/base/fix-cm.dtx b/Master/texmf-dist/source/latex/base/fix-cm.dtx
index 5bb9b956223..db02d07f317 100644
--- a/Master/texmf-dist/source/latex/base/fix-cm.dtx
+++ b/Master/texmf-dist/source/latex/base/fix-cm.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/fix-cm.ins b/Master/texmf-dist/source/latex/base/fix-cm.ins
index db6b3cc0075..9cfac3a5d56 100644
--- a/Master/texmf-dist/source/latex/base/fix-cm.ins
+++ b/Master/texmf-dist/source/latex/base/fix-cm.ins
@@ -3,7 +3,7 @@
%% driver files from the doc files in this package when run through
%% LaTeX or TeX.
%%
-%% Copyright 1993-2015
+%% Copyright 1993-2016
%% The LaTeX3 Project and any individual authors listed elsewhere
%% in this file.
%%
@@ -45,7 +45,7 @@ reports for it can be opened at http://latex-project.org/bugs.html
(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.
diff --git a/Master/texmf-dist/source/latex/base/fontdef.dtx b/Master/texmf-dist/source/latex/base/fontdef.dtx
index 0767c5a736b..bca35aeb2ae 100644
--- a/Master/texmf-dist/source/latex/base/fontdef.dtx
+++ b/Master/texmf-dist/source/latex/base/fontdef.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/format.ins b/Master/texmf-dist/source/latex/base/format.ins
index 22ad59ef232..b39a8b14d80 100644
--- a/Master/texmf-dist/source/latex/base/format.ins
+++ b/Master/texmf-dist/source/latex/base/format.ins
@@ -3,7 +3,7 @@
%% driver files from the doc files in this package when run through
%% LaTeX or TeX.
%%
-%% Copyright 1993-2015
+%% Copyright 1993-2016
%% The LaTeX3 Project and any individual authors listed elsewhere
%% in this file.
%%
@@ -45,7 +45,7 @@ reports for it can be opened at http://latex-project.org/bugs.html
(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.
@@ -120,7 +120,7 @@ extension .ins) which are part of the distribution.
This is a generated file.
-Copyright 1993-2015
+Copyright 1993-2016
The LaTeX3 Project and any individual authors listed elsewhere
in this file.
diff --git a/Master/texmf-dist/source/latex/base/graphpap.dtx b/Master/texmf-dist/source/latex/base/graphpap.dtx
index 9517e90c6f8..2610471fd3f 100644
--- a/Master/texmf-dist/source/latex/base/graphpap.dtx
+++ b/Master/texmf-dist/source/latex/base/graphpap.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/graphpap.ins b/Master/texmf-dist/source/latex/base/graphpap.ins
index 88eab739f9c..a86c916ac80 100644
--- a/Master/texmf-dist/source/latex/base/graphpap.ins
+++ b/Master/texmf-dist/source/latex/base/graphpap.ins
@@ -3,7 +3,7 @@
%% driver files from the doc files in this package when run through
%% LaTeX or TeX.
%%
-%% Copyright 1993-2015
+%% Copyright 1993-2016
%% The LaTeX3 Project and any individual authors listed elsewhere
%% in this file.
%%
@@ -45,7 +45,7 @@ reports for it can be opened at http://latex-project.org/bugs.html
(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.
diff --git a/Master/texmf-dist/source/latex/base/ifthen.dtx b/Master/texmf-dist/source/latex/base/ifthen.dtx
index 3f513a315c2..c8d0c1f894c 100644
--- a/Master/texmf-dist/source/latex/base/ifthen.dtx
+++ b/Master/texmf-dist/source/latex/base/ifthen.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/ifthen.ins b/Master/texmf-dist/source/latex/base/ifthen.ins
index eda8abfe026..c90afcffc3c 100644
--- a/Master/texmf-dist/source/latex/base/ifthen.ins
+++ b/Master/texmf-dist/source/latex/base/ifthen.ins
@@ -3,7 +3,7 @@
%% driver files from the doc files in this package when run through
%% LaTeX or TeX.
%%
-%% Copyright 1993-2015
+%% Copyright 1993-2016
%% The LaTeX3 Project and any individual authors listed elsewhere
%% in this file.
%%
@@ -45,7 +45,7 @@ reports for it can be opened at http://latex-project.org/bugs.html
(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.
diff --git a/Master/texmf-dist/source/latex/base/inputenc.dtx b/Master/texmf-dist/source/latex/base/inputenc.dtx
index 67308bf244c..3a939a855b6 100644
--- a/Master/texmf-dist/source/latex/base/inputenc.dtx
+++ b/Master/texmf-dist/source/latex/base/inputenc.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/inputenc.ins b/Master/texmf-dist/source/latex/base/inputenc.ins
index 64ca417eb1c..2a5fdfbe983 100644
--- a/Master/texmf-dist/source/latex/base/inputenc.ins
+++ b/Master/texmf-dist/source/latex/base/inputenc.ins
@@ -3,7 +3,7 @@
%% driver files from the doc files in this package when run through
%% LaTeX or TeX.
%%
-%% Copyright 1993-2015
+%% Copyright 1993-2016
%% The LaTeX3 Project and any individual authors listed elsewhere
%% in this file.
%%
@@ -45,7 +45,7 @@ reports for it can be opened at http://latex-project.org/bugs.html
(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.
diff --git a/Master/texmf-dist/source/latex/base/latex209.dtx b/Master/texmf-dist/source/latex/base/latex209.dtx
index 1d8f986873c..fe2eac7f6ce 100644
--- a/Master/texmf-dist/source/latex/base/latex209.dtx
+++ b/Master/texmf-dist/source/latex/base/latex209.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/latex209.ins b/Master/texmf-dist/source/latex/base/latex209.ins
index 217827e2bb8..b5c975d9f1b 100644
--- a/Master/texmf-dist/source/latex/base/latex209.ins
+++ b/Master/texmf-dist/source/latex/base/latex209.ins
@@ -3,7 +3,7 @@
%% driver files from the doc files in this package when run through
%% LaTeX or TeX.
%%
-%% Copyright 1993-2015
+%% Copyright 1993-2016
%% The LaTeX3 Project and any individual authors listed elsewhere
%% in this file.
%%
@@ -45,7 +45,7 @@ reports for it can be opened at http://latex-project.org/bugs.html
(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.
diff --git a/Master/texmf-dist/source/latex/base/latexrelease.dtx b/Master/texmf-dist/source/latex/base/latexrelease.dtx
index 12c2c0854e1..99bc37deb96 100644
--- a/Master/texmf-dist/source/latex/base/latexrelease.dtx
+++ b/Master/texmf-dist/source/latex/base/latexrelease.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/latexrelease.ins b/Master/texmf-dist/source/latex/base/latexrelease.ins
index 6d7e28c779f..2b511a54418 100644
--- a/Master/texmf-dist/source/latex/base/latexrelease.ins
+++ b/Master/texmf-dist/source/latex/base/latexrelease.ins
@@ -3,7 +3,7 @@
%% driver files from the doc files in this package when run through
%% LaTeX or TeX.
%%
-%% Copyright 1993-2015
+%% Copyright 1993-2016
%% The LaTeX3 Project and any individual authors listed elsewhere
%% in this file.
%%
@@ -45,7 +45,7 @@ reports for it can be opened at http://latex-project.org/bugs.html
(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.
diff --git a/Master/texmf-dist/source/latex/base/latexsym.dtx b/Master/texmf-dist/source/latex/base/latexsym.dtx
index bea067171e3..dc45b2c9bd1 100644
--- a/Master/texmf-dist/source/latex/base/latexsym.dtx
+++ b/Master/texmf-dist/source/latex/base/latexsym.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/latexsym.ins b/Master/texmf-dist/source/latex/base/latexsym.ins
index bce5ff544e9..a2a34218a0b 100644
--- a/Master/texmf-dist/source/latex/base/latexsym.ins
+++ b/Master/texmf-dist/source/latex/base/latexsym.ins
@@ -3,7 +3,7 @@
%% driver files from the doc files in this package when run through
%% LaTeX or TeX.
%%
-%% Copyright 1993-2015
+%% Copyright 1993-2016
%% The LaTeX3 Project and any individual authors listed elsewhere
%% in this file.
%%
@@ -45,7 +45,7 @@ reports for it can be opened at http://latex-project.org/bugs.html
(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.
@@ -84,7 +84,7 @@ reports for it can be opened at http://latex-project.org/bugs.html
(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.
diff --git a/Master/texmf-dist/source/latex/base/letter.dtx b/Master/texmf-dist/source/latex/base/letter.dtx
index f96c693a6fa..e6aeee23969 100644
--- a/Master/texmf-dist/source/latex/base/letter.dtx
+++ b/Master/texmf-dist/source/latex/base/letter.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/letter.ins b/Master/texmf-dist/source/latex/base/letter.ins
index 91a69fd1dc4..990a53b4f1c 100644
--- a/Master/texmf-dist/source/latex/base/letter.ins
+++ b/Master/texmf-dist/source/latex/base/letter.ins
@@ -3,7 +3,7 @@
%% driver files from the doc files in this package when run through
%% LaTeX or TeX.
%%
-%% Copyright 1993-2015
+%% Copyright 1993-2016
%% The LaTeX3 Project and any individual authors listed elsewhere
%% in this file.
%%
@@ -45,7 +45,7 @@ reports for it can be opened at http://latex-project.org/bugs.html
(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.
diff --git a/Master/texmf-dist/source/latex/base/ltalloc.dtx b/Master/texmf-dist/source/latex/base/ltalloc.dtx
index 46cbd111593..5e6999edcb0 100644
--- a/Master/texmf-dist/source/latex/base/ltalloc.dtx
+++ b/Master/texmf-dist/source/latex/base/ltalloc.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/ltbibl.dtx b/Master/texmf-dist/source/latex/base/ltbibl.dtx
index f6e9bbf365d..2a8a5484499 100644
--- a/Master/texmf-dist/source/latex/base/ltbibl.dtx
+++ b/Master/texmf-dist/source/latex/base/ltbibl.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/ltboxes.dtx b/Master/texmf-dist/source/latex/base/ltboxes.dtx
index 5f17cc31df7..6000232da08 100644
--- a/Master/texmf-dist/source/latex/base/ltboxes.dtx
+++ b/Master/texmf-dist/source/latex/base/ltboxes.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/ltclass.dtx b/Master/texmf-dist/source/latex/base/ltclass.dtx
index d9b2b9423c2..e633f038d8e 100644
--- a/Master/texmf-dist/source/latex/base/ltclass.dtx
+++ b/Master/texmf-dist/source/latex/base/ltclass.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/ltcntrl.dtx b/Master/texmf-dist/source/latex/base/ltcntrl.dtx
index bb803bf3478..c2a2029296a 100644
--- a/Master/texmf-dist/source/latex/base/ltcntrl.dtx
+++ b/Master/texmf-dist/source/latex/base/ltcntrl.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/ltcounts.dtx b/Master/texmf-dist/source/latex/base/ltcounts.dtx
index 1d7a9f68322..ffd7d8625cd 100644
--- a/Master/texmf-dist/source/latex/base/ltcounts.dtx
+++ b/Master/texmf-dist/source/latex/base/ltcounts.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/ltdefns.dtx b/Master/texmf-dist/source/latex/base/ltdefns.dtx
index e759ae73058..a88cabc5b18 100644
--- a/Master/texmf-dist/source/latex/base/ltdefns.dtx
+++ b/Master/texmf-dist/source/latex/base/ltdefns.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/ltdirchk.dtx b/Master/texmf-dist/source/latex/base/ltdirchk.dtx
index a041fd18ae2..ba1bca9c006 100644
--- a/Master/texmf-dist/source/latex/base/ltdirchk.dtx
+++ b/Master/texmf-dist/source/latex/base/ltdirchk.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
@@ -28,7 +28,7 @@
% \fi
%
% \ProvidesFile{ltdirchk.dtx}
-% [2015/81/33 v1.2 LaTeX Kernel (System Dependent Parts)]
+% [2015/10/02 v1.2a LaTeX Kernel (System Dependent Parts)]
%
% \iffalse
%%% From File: ltdirchk.dtx
diff --git a/Master/texmf-dist/source/latex/base/lterror.dtx b/Master/texmf-dist/source/latex/base/lterror.dtx
index 01fb44575ab..eb83fc28131 100644
--- a/Master/texmf-dist/source/latex/base/lterror.dtx
+++ b/Master/texmf-dist/source/latex/base/lterror.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/ltfiles.dtx b/Master/texmf-dist/source/latex/base/ltfiles.dtx
index 375fb273212..2ed69887131 100644
--- a/Master/texmf-dist/source/latex/base/ltfiles.dtx
+++ b/Master/texmf-dist/source/latex/base/ltfiles.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/ltfinal.dtx b/Master/texmf-dist/source/latex/base/ltfinal.dtx
index 13c3a748177..a237fb8560d 100644
--- a/Master/texmf-dist/source/latex/base/ltfinal.dtx
+++ b/Master/texmf-dist/source/latex/base/ltfinal.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
@@ -33,7 +33,7 @@
%<*driver>
% \fi
\ProvidesFile{ltfinal.dtx}
- [2015/06/23 v2.0h LaTeX Kernel (Final Settings)]
+ [2016/01/05 v2.0p LaTeX Kernel (Final Settings)]
% \iffalse
\documentclass{ltxdoc}
\GetFileInfo{ltfinal.dtx}
@@ -55,7 +55,7 @@
%</driver>
% \fi
%
-% \CheckSum{593}
+% \CheckSum{750}
%
% \section{Final settings}
% This section contains the final settings for \LaTeX. It initialises
@@ -149,6 +149,9 @@
% \changes{v2.0a}{2014/12/30}{macro added}
% \changes{v2.0b}{2015/01/23}{use reserved count 257}
% \changes{v2.0f}{2015/04/28}{define \cs{xe@alloc@intercharclass} for compatibility with older xelatex initilisation}
+%\begin{macro}{\xe@alloc@intercharclass}
+% \changes{v2.0j}{2016/01/04}{Start allocation at one not three}
+% \changes{v2.0k}{2016/01/05}{Remove duplicated code}
% Allocate |\XeTeXintercharclass| types if xetex is active.
% previously defined in |xetex.ini|.
%
@@ -159,13 +162,11 @@
%<latexrelease> {\newXeTeXintercharclass}{Extended Allocation}%
% \end{macrocode}
%
-% Classes allocatedfrom 4 (1,2 and 3 are used by CJK), up to 254.
+% Classes allocated 1 to 254 (early 1, 2 and 3 were pre-set for CJK).
% \changes{v2.0g}{2015/06/19}{Use $-1$ for first range to get contiguous allocation}
% \begin{macrocode}
\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
@@ -178,8 +179,6 @@
%<latexrelease> {\newXeTeXintercharclass}{Extended Allocation}%
%<latexrelease> \ifx\XeTeXcharclass\@undefined
%<latexrelease> \else
-%<latexrelease> \newcount\xe@alloc@intercharclass
-%<latexrelease> \xe@alloc@intercharclass=\thr@@
%<latexrelease> \def\xe@alloc@#1#2#3#4#5{\global\advance#1\@ne
%<latexrelease> \xe@ch@ck#1#4#2%
%<latexrelease> \allocationnumber#1%
@@ -194,9 +193,36 @@
%<latexrelease> \XeTeXcharclass\chardef\@cclv}
%<latexrelease> \fi
%<latexrelease>\EndIncludeInRelease
+%<*2ekernel|latexrelease>
+%<latexrelease>\IncludeInRelease{2016/02/01}%
+%<latexrelease> {\xe@alloc@intercharclass}{Start of XeTeX class allocator}%
+\ifx\XeTeXcharclass\@undefined
+\else
+ \countdef\xe@alloc@intercharclass=257
+ \xe@alloc@intercharclass=\z@
+\fi
+%</2ekernel|latexrelease>
+%<latexrelease>\EndIncludeInRelease
+%<latexrelease>\IncludeInRelease{2015/01/01}%
+%<latexrelease> {\xe@alloc@intercharclass}{Start of XeTeX class allocator}%
+%<latexrelease> \ifx\XeTeXcharclass\@undefined
+%<latexrelease> \else
+%<latexrelease> \xe@alloc@intercharclass=\thr@@
+%<latexrelease> \fi
+%<latexrelease>\EndIncludeInRelease
+%<latexrelease>\IncludeInRelease{0000/00/00}%
+%<latexrelease> {\xe@alloc@intercharclass}{Start of XeTeX class allocator}%
+%<latexrelease> \ifx\XeTeXcharclass\@undefined
+%<latexrelease> \else
+%<latexrelease> \newcount\xe@alloc@intercharclass
+%<latexrelease> \xe@alloc@intercharclass=\thr@@
+%<latexrelease> \fi
+%<latexrelease>\EndIncludeInRelease
%<*2ekernel>
% \end{macrocode}
% \end{macro}
+% \end{macro}
+%
%
%
% The default values of the picture and |\fbox| parameters:
@@ -235,27 +261,94 @@
% \changes{v2.0c}{2015/01/24}{Skip T1-code entirely with Unicode engines}
% \changes{v2.0d}{2015/03/26}{Use renamed
% \texttt{unicode-letters.def}}
+% \changes{v2.0i}{2015/12/10}{Use new common Unicode data loaders}
+% \changes{v2.0j}{2016/01/04}{Do not set up inter character classes for
+% XeTeX}
+% \changes{v2.0l}{2016/01/05}{Correct \textsf{latexrelease} guards}
+% \changes{v2.0l}{2016/01/05}{Ensure old definitions for inter-character
+% class toks are available using \textsf{latexrelease}}
+% \changes{v2.0m}{2016/01/05}{Undefine XeTeX classes when using patching
+% an older kernel}
+% \changes{v2.0l}{2016/01/05}{Missing brace}
+% \changes{v2.0p}{2016/01/05}{Only apply XeTeX change if XeTeX is in use}
% For $7$- and $8$-bit engines the assumption of T1 encodings is the
% basis for the hyphenation patterns. That's not the case for the Unicode
-% engines, where the assumption is engine-native working. The file
-% |unicode-letters.def| contains data extracted from the
-% master Unicode Consortium
-% information covering not only |\lccode| but also other related data. The
+% engines, where the assumption is engine-native working. The common
+% loader system provides access to data from the Unicode Consortium
+% covering not only |\lccode| but also other related data. The
% |\lccode| part of that at least needs to be loaded before hyphenation is
% tackled: Xe\TeX{} follows the standard \TeX{} route of building patterns
% into the format. Lua\TeX{} doesn't require this data be loaded \emph{here}
% but it does need to be loaded somewhere. Rather than test for the Unicode
% engines by name, the approach here is to look for the extended math mode
% handling both provide: any other engine developed in this area will
-% presumably also provide |\Umathcode| (older Xe\TeX{} versions use
-% |\XeTeXmathcode| so that is covered too).
+% presumably also provide |\Umathcode|.
% \begin{macrocode}
\ifnum 0%
\ifx\Umathcode\@undefined\else 1\fi
\ifx\XeTeXmathcode\@undefined\else 1\fi
>\z@
\message{ Unicode character data,}
- \input{unicode-letters.def}
+ \input{load-unicode-data}
+%</2ekernel>
+%<latexrelease>\IncludeInRelease{2016/02/01}%
+%<latexrelease> {\XeTeXintercharclasses}{XeTeX character classes}%
+%<latexrelease> \ifx\XeTeXinterchartoks\undefined
+%<latexrelease> \else
+%<latexrelease> \begingroup
+%<latexrelease> \chardef\XeTeXcharclassID = 0 %
+%<latexrelease> \chardef\XeTeXcharclassOP = 0 %
+%<latexrelease> \chardef\XeTeXcharclassCL = 0 %
+%<latexrelease> \chardef\XeTeXcharclassEX = 0 %
+%<latexrelease> \chardef\XeTeXcharclassIS = 0 %
+%<latexrelease> \chardef\XeTeXcharclassNS = 0 %
+%<latexrelease> \chardef\XeTeXcharclassCM = 0 %
+%<latexrelease> \input{load-unicode-xetex-classes}
+%<latexrelease> \endgroup
+%<latexrelease> \global\let\xtxHanGlue\undefined
+%<latexrelease> \global\let\xtxHanSpace\undefined
+%<latexrelease> \global\XeTeXinterchartoks 0 1 = {}
+%<latexrelease> \global\XeTeXinterchartoks 0 2 = {}
+%<latexrelease> \global\XeTeXinterchartoks 0 3 = {}
+%<latexrelease> \global\XeTeXinterchartoks 1 0 = {}
+%<latexrelease> \global\XeTeXinterchartoks 2 0 = {}
+%<latexrelease> \global\XeTeXinterchartoks 3 0 = {}
+%<latexrelease> \global\XeTeXinterchartoks 1 1 = {}
+%<latexrelease> \global\XeTeXinterchartoks 1 2 = {}
+%<latexrelease> \global\XeTeXinterchartoks 1 3 = {}
+%<latexrelease> \global\XeTeXinterchartoks 2 1 = {}
+%<latexrelease> \global\XeTeXinterchartoks 2 2 = {}
+%<latexrelease> \global\XeTeXinterchartoks 2 3 = {}
+%<latexrelease> \global\XeTeXinterchartoks 3 1 = {}
+%<latexrelease> \global\XeTeXinterchartoks 3 2 = {}
+%<latexrelease> \global\XeTeXinterchartoks 3 3 = {}
+%<latexrelease> \fi
+%<latexrelease>\EndIncludeInRelease
+%<latexrelease>\IncludeInRelease{0000/00/00}%
+%<latexrelease> {\XeTeXintercharclasses}{XeTeX character classes}%
+%<latexrelease> \ifx\XeTeXinterchartoks\undefined
+%<latexrelease> \else
+%<latexrelease> \input{load-unicode-xetex-classes}
+%<latexrelease> \gdef\xtxHanGlue{\hskip0pt plus 0.1em\relax}
+%<latexrelease> \gdef\xtxHanSpace{\hskip0.2em plus 0.2em minus 0.1em\relax}
+%<latexrelease> \global\XeTeXinterchartoks 0 1 = {\xtxHanSpace}
+%<latexrelease> \global\XeTeXinterchartoks 0 2 = {\xtxHanSpace}
+%<latexrelease> \global\XeTeXinterchartoks 0 3 = {\nobreak\xtxHanSpace}
+%<latexrelease> \global\XeTeXinterchartoks 1 0 = {\xtxHanSpace}
+%<latexrelease> \global\XeTeXinterchartoks 2 0 = {\nobreak\xtxHanSpace}
+%<latexrelease> \global\XeTeXinterchartoks 3 0 = {\xtxHanSpace}
+%<latexrelease> \global\XeTeXinterchartoks 1 1 = {\xtxHanGlue}
+%<latexrelease> \global\XeTeXinterchartoks 1 2 = {\xtxHanGlue}
+%<latexrelease> \global\XeTeXinterchartoks 1 3 = {\nobreak\xtxHanGlue}
+%<latexrelease> \global\XeTeXinterchartoks 2 1 = {\nobreak\xtxHanGlue}
+%<latexrelease> \global\XeTeXinterchartoks 2 2 = {\nobreak\xtxHanGlue}
+%<latexrelease> \global\XeTeXinterchartoks 2 3 = {\xtxHanGlue}
+%<latexrelease> \global\XeTeXinterchartoks 3 1 = {\xtxHanGlue}
+%<latexrelease> \global\XeTeXinterchartoks 3 2 = {\xtxHanGlue}
+%<latexrelease> \global\XeTeXinterchartoks 3 3 = {\nobreak\xtxHanGlue}
+%<latexrelease> \fi
+%<latexrelease>\EndIncludeInRelease
+%<*2ekernel>
% \end{macrocode}
% \changes{v2.0d}{2015/02/03}{Set \cs{lccode} for \texttt{-} with Unicode
% engines}
diff --git a/Master/texmf-dist/source/latex/base/ltfloat.dtx b/Master/texmf-dist/source/latex/base/ltfloat.dtx
index 88ed6cba08e..f2c0f781666 100644
--- a/Master/texmf-dist/source/latex/base/ltfloat.dtx
+++ b/Master/texmf-dist/source/latex/base/ltfloat.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/ltfntcmd.dtx b/Master/texmf-dist/source/latex/base/ltfntcmd.dtx
index de612e00dc7..d5f06170a63 100644
--- a/Master/texmf-dist/source/latex/base/ltfntcmd.dtx
+++ b/Master/texmf-dist/source/latex/base/ltfntcmd.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/ltfssbas.dtx b/Master/texmf-dist/source/latex/base/ltfssbas.dtx
index 16bfa18cf2f..4dad6f695f3 100644
--- a/Master/texmf-dist/source/latex/base/ltfssbas.dtx
+++ b/Master/texmf-dist/source/latex/base/ltfssbas.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/ltfsscmp.dtx b/Master/texmf-dist/source/latex/base/ltfsscmp.dtx
index 6bcbe95eb31..38bc95e160b 100644
--- a/Master/texmf-dist/source/latex/base/ltfsscmp.dtx
+++ b/Master/texmf-dist/source/latex/base/ltfsscmp.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/ltfssdcl.dtx b/Master/texmf-dist/source/latex/base/ltfssdcl.dtx
index e10734b6dad..dbb779d0519 100644
--- a/Master/texmf-dist/source/latex/base/ltfssdcl.dtx
+++ b/Master/texmf-dist/source/latex/base/ltfssdcl.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/ltfssini.dtx b/Master/texmf-dist/source/latex/base/ltfssini.dtx
index 9db6199988c..ba9909be237 100644
--- a/Master/texmf-dist/source/latex/base/ltfssini.dtx
+++ b/Master/texmf-dist/source/latex/base/ltfssini.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/ltfsstrc.dtx b/Master/texmf-dist/source/latex/base/ltfsstrc.dtx
index 69fa94a34ff..ed37d7e786c 100644
--- a/Master/texmf-dist/source/latex/base/ltfsstrc.dtx
+++ b/Master/texmf-dist/source/latex/base/ltfsstrc.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/lthyphen.dtx b/Master/texmf-dist/source/latex/base/lthyphen.dtx
index a6cbd3d4a43..ad6b64acc93 100644
--- a/Master/texmf-dist/source/latex/base/lthyphen.dtx
+++ b/Master/texmf-dist/source/latex/base/lthyphen.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/ltidxglo.dtx b/Master/texmf-dist/source/latex/base/ltidxglo.dtx
index 48683ca46f2..c36297ea603 100644
--- a/Master/texmf-dist/source/latex/base/ltidxglo.dtx
+++ b/Master/texmf-dist/source/latex/base/ltidxglo.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/ltlength.dtx b/Master/texmf-dist/source/latex/base/ltlength.dtx
index bec13a60875..1238154a5c5 100644
--- a/Master/texmf-dist/source/latex/base/ltlength.dtx
+++ b/Master/texmf-dist/source/latex/base/ltlength.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/ltlists.dtx b/Master/texmf-dist/source/latex/base/ltlists.dtx
index b120870433c..26064aedb37 100644
--- a/Master/texmf-dist/source/latex/base/ltlists.dtx
+++ b/Master/texmf-dist/source/latex/base/ltlists.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/ltlogos.dtx b/Master/texmf-dist/source/latex/base/ltlogos.dtx
index 1d9614a7bd5..82052c51df9 100644
--- a/Master/texmf-dist/source/latex/base/ltlogos.dtx
+++ b/Master/texmf-dist/source/latex/base/ltlogos.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/ltluatex.dtx b/Master/texmf-dist/source/latex/base/ltluatex.dtx
index 62d663c8d3f..49e75c856cc 100644
--- a/Master/texmf-dist/source/latex/base/ltluatex.dtx
+++ b/Master/texmf-dist/source/latex/base/ltluatex.dtx
@@ -24,7 +24,7 @@
\ProvidesFile{ltluatex.dtx}
%</driver>
%<*tex>
-[2015/10/03 v1.0f
+[2015/12/18 v1.0l
%</tex>
%<plain> LuaTeX support for plain TeX (core)
%<*tex>
@@ -119,12 +119,12 @@
% \noindent
% \DescribeMacro{\newluabytecode}
% |\newluabytecode{|\meta{bytecode}|}|\\
-% Allocates a number for lua bytecode register, indexed from~$1$.
+% Allocates a number for Lua bytecode register, indexed from~$1$.
%
% \noindent
% \DescribeMacro{\newluachunkname}
% |newluachunkname{|\meta{chunkname}|}|\\
-% Allocates a number for lua chunk register, indexed from~$1$.
+% Allocates a number for Lua chunk register, indexed from~$1$.
% Also enters the name of the regiser (without backslash) into the
% \verb|lua.name| table to be used in stack traces.
%
@@ -149,7 +149,7 @@
% \section{Plain \TeX\ interface}
%
% The \textsf{ltluatex} interface may be used with plain \TeX\ using
-% |\input{ltluatex}| this inputs |ltluatex.tex| which inputs
+% |\input{ltluatex}|. This inputs |ltluatex.tex| which inputs
% |etex.src| (or |etex.sty| if used with \LaTeX)
% if it is not already input, and then defines some internal commands to
% allow the \textsf{ltluatex} interface to be defined.
@@ -179,7 +179,7 @@
% |\attributedef|.
% The attribute name is recorded in the |attributes| table. A
% metatable is provided so that the table syntax can be used
-% consistently for attributes declared in \TeX\ or lua.
+% consistently for attributes declared in \TeX\ or Lua.
%
% \noindent
% \DescribeMacro{new_whatsit}
@@ -195,7 +195,7 @@
% \noindent
% \DescribeMacro{new_chunkname}
% |luatexbase.new_chunkname(|\meta{chunkname}|)|\\
-% Returns an allocation number for a lua chunk name for use with
+% Returns an allocation number for a Lua chunk name for use with
% |\directlua| and |\latelua|, indexed from~$1$.
% The number is returned and also \meta{name} argument is added to the
% |lua.name| array at that index.
@@ -342,7 +342,7 @@
% \DescribeMacro{create_callback}
% |luatexbase.create_callback(|\meta{name},meta{type},\meta{default}|)|
% Defines a user defined callback. The last argument is a default
-% functtion of |false|.
+% function or |false|.
%
% \noindent
% \DescribeMacro{call_callback}
@@ -351,7 +351,7 @@
%
% \endgroup
%
-% \CheckSum{491}
+% \CheckSum{558}
% \StopEventually{}
%
% \section{Implementation}
@@ -362,6 +362,9 @@
% \end{macrocode}
%
%
+% \changes{v1.0j}{2015/12/02}{Remove nonlocal iteration variables (PHG)}
+% \changes{v1.0j}{2015/12/02}{Assorted typos fixed (PHG)}
+% \changes{v1.0j}{2015/12/02}{Remove unreachable code after calls to error() (PHG)}
% \subsection{Minimum Lua\TeX{} version}
%
% Lua\TeX{} has changed a lot over time. In the kernel support for ancient
@@ -417,8 +420,8 @@
% \subsubsection{Fixes to \texttt{etex.src}/\texttt{etex.sty}}
%
% These could and probably should be made directly in an
-% update to etex.src which already has some luatex-specific
-% code, but does not define the correct range for luatex.
+% update to |etex.src| which already has some Lua\TeX-specific
+% code, but does not define the correct range for Lua\TeX.
%
% \begin{macrocode}
% 2015-07-13 higher range in luatex
@@ -570,6 +573,7 @@
% \end{macrocode}
% \end{macro}
%
+% \changes{v1.0l}{2015/12/18}{Load Unicode data from source}
% \begin{macro}{\catcodetable@initex}
% \changes{v1.0a}{2015/09/24}{Macro added}
% \begin{macro}{\catcodetable@string}
@@ -579,9 +583,8 @@
% \begin{macro}{\catcodetable@atletter}
% \changes{v1.0a}{2015/09/24}{Macro added}
% Save a small set of standard tables. The Unicode data is read
-% here in a group avoiding any global definitions: that needs a bit
-% of effort so that in package/plain mode there is no effect on any
-% settings already in force.
+% here in using a parser simplified from that in |load-unicode-data|:
+% only the nature of letters needs to be detected.
% \begin{macrocode}
\newcatcodetable\catcodetable@initex
\newcatcodetable\catcodetable@string
@@ -613,13 +616,49 @@
\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
@@ -638,8 +677,8 @@
% \begin{macro}{\newluafunction}
% \changes{v1.0a}{2015/09/24}{Macro added}
% Much the same story for allocating Lua\TeX{} functions except here they are
-% just numbers so are allocated in the same way as boxes. Lua index from~$1$
-% so once again slot~$0$ is skipped.
+% just numbers so they are allocated in the same way as boxes.
+% Lua indexes from~$1$ so once again slot~$0$ is skipped.
% \begin{macrocode}
\ifx\e@alloc@luafunction@count\@undefined
\countdef\e@alloc@luafunction@count=260
@@ -802,6 +841,11 @@ local tex_setattribute = tex.setattribute
local tex_setcount = tex.setcount
local texio_write_nl = texio.write_nl
% \end{macrocode}
+% \changes{v1.0i}{2015/11/29}{Declare this as local before used in the module error definitions (PHG)}
+% \begin{macrocode}
+local luatexbase_warning
+local luatexbase_error
+% \end{macrocode}
%
% \subsection{Lua module utilities}
%
@@ -824,15 +868,14 @@ local modules = modules or { }
local function luatexbase_log(text)
texio_write_nl("log", text)
end
-% \begin{macrocode}
+% \end{macrocode}
%
% Modelled on |\ProvidesPackage|, we store much the same information but
% with a little more structure.
% \begin{macrocode}
local function provides_module(info)
if not (info and info.name) then
- luatexbase_error("Missing module name for provides_modules")
- return
+ luatexbase_error("Missing module name for provides_module")
end
local function spaced(text)
return text and (" " .. text) or ""
@@ -859,13 +902,15 @@ luatexbase.provides_module = provides_module
%
% First an auxiliary for the formatting: this measures up the message
% leader so we always get the correct indent.
+% \changes{v1.0j}{2015/12/02}{Declaration/use of first\_head fixed (PHG)}
% \begin{macrocode}
local function msg_format(mod, msg_type, text)
local leader = ""
local cont
+ local first_head
if mod == "LaTeX" then
cont = string_gsub(leader, ".", " ")
- leader = leader .. "LaTeX: "
+ first_head = leader .. "LaTeX: "
else
first_head = leader .. "Module " .. msg_type
cont = "(" .. mod .. ")"
@@ -915,10 +960,10 @@ luatexbase.module_error = module_error
%
% Dedicated versions for the rest of the code here.
% \begin{macrocode}
-local function luatexbase_warning(text)
+function luatexbase_warning(text)
module_warning("luatexbase", text)
end
-local function luatexbase_error(text)
+function luatexbase_error(text)
module_error("luatexbase", text)
end
% \end{macrocode}
@@ -926,8 +971,11 @@ end
%
% \subsection{Accessing register numbers from Lua}
%
+% \changes{v1.0g}{2015/11/14}{Track Lua\TeX{} changes for
+% \texttt{(new)token.create}}
% Collect up the data from the \TeX{} level into a Lua table: from
% version~0.80, Lua\TeX{} makes that easy.
+% \changes{v1.0j}{2015/12/02}{Adjust hashtokens to store the result of tex.hashtokens()), not the function (PHG)}
% \begin{macrocode}
local luaregisterbasetable = { }
local registermap = {
@@ -940,17 +988,18 @@ local registermap = {
skipzero = "assign_skip" ,
tokszero = "assign_toks" ,
}
-local i, j
local createtoken
-if tex.luatexversion >79 then
- createtoken = newtoken.create
+if tex.luatexversion > 81 then
+ createtoken = token.create
+elseif tex.luatexversion > 79 then
+ createtoken = newtoken.create
end
-local hashtokens = tex.hashtokens
+local hashtokens = tex.hashtokens()
local luatexversion = tex.luatexversion
for i,j in pairs (registermap) do
if luatexversion < 80 then
- luaregisterbasetable[hashtokens()[i][1]] =
- hashtokens()[i][2]
+ luaregisterbasetable[hashtokens[i][1]] =
+ hashtokens[i][2]
else
luaregisterbasetable[j] = createtoken(i).mode
end
@@ -967,7 +1016,7 @@ end
local registernumber
if luatexversion < 80 then
function registernumber(name)
- local nt = hashtokens()[name]
+ local nt = hashtokens[name]
if(nt and luaregisterbasetable[nt[1]]) then
return nt[2] - luaregisterbasetable[nt[1]]
else
@@ -1011,7 +1060,6 @@ local function new_attribute(name)
tex_count["e@alloc@attribute@count"] + 1)
if tex_count["e@alloc@attribute@count"] > 65534 then
luatexbase_error("No room for a new \\attribute")
- return -1
end
attributes[name]= tex_count["e@alloc@attribute@count"]
luatexbase_log("Lua-only attribute " .. name .. " = " ..
@@ -1025,14 +1073,13 @@ luatexbase.new_attribute = new_attribute
% \subsection{Custom whatsit allocation}
%
% \begin{macro}{new_whatsit}
-% Much the same as for attribute allocation in Lua
+% Much the same as for attribute allocation in Lua.
% \begin{macrocode}
local function new_whatsit(name)
tex_setcount("global", "e@alloc@whatsit@count",
tex_count["e@alloc@whatsit@count"] + 1)
if tex_count["e@alloc@whatsit@count"] > 65534 then
luatexbase_error("No room for a new custom whatsit")
- return -1
end
luatexbase_log("Custom whatsit " .. (name or "") .. " = " ..
tex_count["e@alloc@whatsit@count"])
@@ -1053,7 +1100,6 @@ local function new_bytecode(name)
tex_count["e@alloc@bytecode@count"] + 1)
if tex_count["e@alloc@bytecode@count"] > 65534 then
luatexbase_error("No room for a new bytecode register")
- return -1
end
luatexbase_log("Lua bytecode " .. (name or "") .. " = " ..
tex_count["e@alloc@bytecode@count"])
@@ -1076,7 +1122,6 @@ local function new_chunkname(name)
chunkname_count = chunkname_count + 1
if chunkname_count > 65534 then
luatexbase_error("No room for a new chunkname")
- return -1
end
lua.name[chunkname_count]=name
luatexbase_log("Lua chunkname " .. (name or "") .. " = " ..
@@ -1089,7 +1134,7 @@ luatexbase.new_chunkname = new_chunkname
%
% \subsection{Lua callback management}
%
-% The native mechanism for callbacks in Lua allows only one per function.
+% The native mechanism for callbacks in Lua\TeX\ allows only one per function.
% That is extremely restrictive and so a mechanism is needed to add and
% remove callbacks from the appropriate hooks.
%
@@ -1233,7 +1278,7 @@ end
%
% The handler function is registered into the callback when the
% first function is added to this callback's list. Then, when the callback
-% is called, then handler takes care of running all functions in the list.
+% is called, the handler takes care of running all functions in the list.
% When the last function is removed from the callback's list, the handler
% is unregistered.
%
@@ -1244,7 +1289,6 @@ end
% \begin{macrocode}
local function data_handler(name)
return function(data, ...)
- local i
for _,i in ipairs(callbacklist[name]) do
data = i.func(data,...)
end
@@ -1263,18 +1307,18 @@ local function exclusive_handler(name)
end
% \end{macrocode}
% Handler for |list| callbacks.
+% \changes{v1.0k}{2015/12/02}{resolve name and i.description (PHG)}
% \begin{macrocode}
local function list_handler(name)
return function(head, ...)
local ret
local alltrue = true
- local i
for _,i in ipairs(callbacklist[name]) do
ret = i.func(head, ...)
if ret == false then
luatexbase_warning(
- "Function `i.description' returned false\n"
- .. "in callback `name'"
+ "Function `" .. i.description .. "' returned false\n"
+ .. "in callback `" .. name .."'"
)
break
end
@@ -1291,7 +1335,6 @@ end
% \begin{macrocode}
local function simple_handler(name)
return function(...)
- local i
for _,i in ipairs(callbacklist[name]) do
i.func(...)
end
@@ -1313,7 +1356,7 @@ local handlers = {
%
% Defining user callbacks perhaps should be in package code,
% but impacts on |add_to_callback|.
-% If a default function is not required, may may be declared as |false|.
+% If a default function is not required, it may be declared as |false|.
% First we need a list of user callbacks.
% \begin{macrocode}
local user_callbacks_defaults = { }
@@ -1321,16 +1364,25 @@ local user_callbacks_defaults = { }
%
% \begin{macro}{create_callback}
% \changes{v1.0a}{2015/09/24}{Function added}
+% \changes{v1.0i}{2015/11/29}{Check name is not nil in error message (PHG)}
+% \changes{v1.0k}{2015/12/02}{Give more specific error messages (PHG)}
% The allocator itself.
% \begin{macrocode}
local function create_callback(name, ctype, default)
- if not name or
- name == "" or
- callbacktypes[name] or
- not(default == false or type(default) == "function")
- then
- luatexbase_error("Unable to create callback " .. name)
+ if not name or name == ""
+ or not ctype or ctype == ""
+ then
+ luatexbase_error("Unable to create callback:\n" ..
+ "valid callback name and type required")
+ end
+ if callbacktypes[name] then
+ luatexbase_error("Unable to create callback `" .. name ..
+ "':\ncallback type disallowed as name")
end
+ if default ~= false and type (default) ~= "function" then
+ luatexbase_error("Unable to create callback `" .. name ..
+ ":\ndefault is not a function")
+ end
user_callbacks_defaults[name] = default
callbacktypes[name] = types[ctype]
end
@@ -1340,15 +1392,19 @@ luatexbase.create_callback = create_callback
%
% \begin{macro}{call_callback}
% \changes{v1.0a}{2015/09/24}{Function added}
+% \changes{v1.0i}{2015/11/29}{Check name is not nil in error message (PHG)}
+% \changes{v1.0k}{2015/12/02}{Give more specific error messages (PHG)}
% Call a user defined callback. First check arguments.
% \begin{macrocode}
local function call_callback(name,...)
- if not name or
- name == "" or
- user_callbacks_defaults[name] == nil
- then
- luatexbase_error("Unable to call callback " .. name)
+ if not name or name == "" then
+ luatexbase_error("Unable to create callback:\n" ..
+ "valid callback name required")
end
+ if user_callbacks_defaults[name] == nil then
+ luatexbase_error("Unable to call callback `" .. name
+ .. "':\nunknown or empty")
+ end
local l = callbacklist[name]
local f
if not l then
@@ -1368,12 +1424,14 @@ luatexbase.call_callback=call_callback
% \begin{macro}{add_to_callback}
% \changes{v1.0a}{2015/09/24}{Function added}
% Add a function to a callback. First check arguments.
+% \changes{v1.0k}{2015/12/02}{Give more specific error messages (PHG)}
% \begin{macrocode}
local function add_to_callback(name, func, description)
- if
- not name or
- name == "" or
- not callbacktypes[name] or
+ if not name or name == "" then
+ luatexbase_error("Unable to register callback:\n" ..
+ "valid callback name required")
+ end
+ if not callbacktypes[name] or
type(func) ~= "function" or
not description or
description == "" then
@@ -1382,7 +1440,6 @@ local function add_to_callback(name, func, description)
.. "Correct usage:\n"
.. "add_to_callback(<callback>, <function>, <description>)"
)
- return
end
% \end{macrocode}
% Then test if this callback is already in use. If not, initialise its list
@@ -1430,13 +1487,16 @@ luatexbase.add_to_callback = add_to_callback
%
% \begin{macro}{remove_from_callback}
% \changes{v1.0a}{2015/09/24}{Function added}
+% \changes{v1.0k}{2015/12/02}{adjust initialisation of cb local (PHG)}
+% \changes{v1.0k}{2015/12/02}{Give more specific error messages (PHG)}
% Remove a function from a callback. First check arguments.
% \begin{macrocode}
local function remove_from_callback(name, description)
- if
- not name or
- name == "" or
- not callbacktypes[name] or
+ if not name or name == "" then
+ luatexbase_error("Unable to remove function from callback:\n" ..
+ "valid callback name required")
+ end
+ if not callbacktypes[name] or
not description or
description == "" then
luatexbase_error(
@@ -1444,7 +1504,6 @@ local function remove_from_callback(name, description)
.. "Correct usage:\n"
.. "remove_from_callback(<callback>, <description>)"
)
- return
end
local l = callbacklist[name]
if not l then
@@ -1457,8 +1516,6 @@ local function remove_from_callback(name, description)
% callback handler.
% \begin{macrocode}
local index = false
- local i,j
- local cb = {}
for i,j in ipairs(l) do
if j.description == description then
index = i
@@ -1469,9 +1526,8 @@ local function remove_from_callback(name, description)
luatexbase_error(
"No callback `" .. description .. "' registered for `" ..
name .. "'\n")
- return
end
- cb = l[index]
+ local cb = l[index]
table.remove(l, index)
luatexbase_log(
"Removing `" .. description .. "' from `" .. name .. "'."
@@ -1488,16 +1544,17 @@ luatexbase.remove_from_callback = remove_from_callback
%
% \begin{macro}{in_callback}
% \changes{v1.0a}{2015/09/24}{Function added}
+% \changes{v1.0h}{2015/11/27}{Guard against undefined list latex/4445}
% Look for a function description in a callback.
% \begin{macrocode}
local function in_callback(name, description)
if not name
or name == ""
+ or not callbacklist[name]
or not callbacktypes[name]
or not description then
return false
end
- local i
for _, i in pairs(callbacklist[name]) do
if i.description == description then
return true
@@ -1527,18 +1584,19 @@ luatexbase.disable_callback = disable_callback
%
% \begin{macro}{callback_descriptions}
% \changes{v1.0a}{2015/09/24}{Function added}
+% \changes{v1.0h}{2015/11/27}{Match test in in-callback latex/4445}
% List the descriptions of functions registered for the given callback.
% \begin{macrocode}
local function callback_descriptions (name)
local d = {}
if not name
or name == ""
+ or not callbacklist[name]
or not callbacktypes[name]
then
return d
else
- local i
- for k, i in pairs(callbacklist[name] or {}) do
+ for k, i in pairs(callbacklist[name]) do
d[k]= i.description
end
end
diff --git a/Master/texmf-dist/source/latex/base/ltmath.dtx b/Master/texmf-dist/source/latex/base/ltmath.dtx
index 4453b4809c9..5a983bbe95c 100644
--- a/Master/texmf-dist/source/latex/base/ltmath.dtx
+++ b/Master/texmf-dist/source/latex/base/ltmath.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/ltnews24.tex b/Master/texmf-dist/source/latex/base/ltnews24.tex
new file mode 100644
index 00000000000..1f854a72f02
--- /dev/null
+++ b/Master/texmf-dist/source/latex/base/ltnews24.tex
@@ -0,0 +1,262 @@
+% \iffalse meta-comment
+%
+% Copyright 2015,2016
+% The LaTeX3 Project and any individual authors listed elsewhere
+% in this file.
+%
+% This file is part of the LaTeX base system.
+% -------------------------------------------
+%
+% It 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 file has the LPPL maintenance status "maintained".
+%
+% The list of all files belonging to the LaTeX base distribution is
+% given in the file `manifest.txt'. See also `legal.txt' for additional
+% information.
+%
+% The list of derived (unpacked) files belonging to the distribution
+% and covered by LPPL is defined by the unpacking scripts (with
+% extension .ins) which are part of the distribution.
+%
+% \fi
+% Filename: ltnews24.tex
+%
+% This is issue 24 of LaTeX News.
+
+\documentclass{ltnews}
+\usepackage[T1]{fontenc}
+
+\usepackage{lmodern,url,hologo}
+
+\makeatletter % -- provide command introduced in new release
+ % so this typesets with an old format
+
+% Check we are not in the preamble of a composite document
+\def\@tempa{\@latex@error{Can be used only in preamble}\@eha}
+\ifx\DeclareTextCommandDefault\@tempa
+\else
+ \DeclareTextCommandDefault\textcommabelow[1]
+ {\hmode@bgroup\ooalign{\null#1\crcr\hidewidth\raise-.31ex
+ \hbox{\check@mathfonts\fontsize\ssf@size\z@
+ \math@fontsfalse\selectfont,}\hidewidth}\egroup}
+ \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
+ }
+\fi
+
+\makeatother
+
+\publicationmonth{February}
+\publicationyear{2016}
+
+\publicationissue{24}
+
+\begin{document}
+
+\maketitle
+
+\tableofcontents
+
+\section{\hologo{LuaTeX} support}
+
+This release refines the \hologo{LuaTeX} support introduced in the
+2015/10/01 release. A number of patches have been added to improve the
+behavior of \package{ltluatex} (thanks largely to code review by Philipp Gesang).
+The kernel code has been adjusted to
+allow for changes in \hologo{LuaTeX} v0.85--v0.88. Most notably, newer
+\hologo{LuaTeX} releases allow more than $16$ write streams and these are now
+enabled for use by \verb|\newwrite|, but also the experimental
+\texttt{newtoken} Lua library has been renamed back to \texttt{token}
+which required small adjustments in the \hologo{LuaTeX} setup.
+
+The biggest change in \hologo{LuaTeX} v0.85--v0.87 compared to previous
+versions is that all the primitives (originally defined in
+\hologo{pdfTeX}) dealing with the PDF ``back end''
+are no longer defined, being replaced by a much smaller set of new primitives.
+This does not directly affect the core \LaTeX{}
+files in this release but has required major changes to the
+\texttt{.ini} files used by \TeX{} Live and similar distributions to
+set up the format files. These changes in the \hologo{LuaTeX} engine
+will affect any packages using these back end commands (packages such
+as \package{graphics}, \package{color}, \package{hyperref}, etc.).
+Until all contributed packages are updated to the new syntax users may
+need to add aliases for the old \hologo{pdfTeX} commands. A new
+\package{luapdftexalias} package has been contributed to CTAN (not part of the
+core \LaTeX\ release) that may be used for this purpose.
+
+See also the sections below for related changes in the
+\textsf{tools} and \textsf{graphics} bundles.
+
+
+\section{Unicode data}
+
+As noted in \LaTeX{} News~22, the 2015/01/01 release of \LaTeX{} introduced
+built-in support for extended \TeX{} systems. In particular, the kernel now
+loads appropriate data from the Unicode Consortium to set \verb|\lccode|,
+\verb|\uccode|, \verb|\catcode| and \verb|\sfcode| values in an automated
+fashion for the entire Unicode range.
+
+The initial approach taken by the team was to incorporate the existing model
+used by (plain) \hologo{XeTeX} and to pre-process the ``raw'' Unicode data into
+a ready-to-use form as \verb|unicode-letters.def|. However, the relationship
+between the Unicode Consortium files and \TeX{} data structures is non-trivial and still
+being explored. As such, it is preferable to directly parse the original
+(\verb|.txt|) files at point of use. The team has therefore ``spun-out'' both
+the data and the loading to a new generic package, \package{unicode-data}. This
+package makes the original Unicode Consortium data files available in the
+\verb|texmf| tree (in \verb|tex/generic/unicode-data|) and provides generic
+loaders suitable for reading this data into the plain, \LaTeXe{}, and other,
+formats.
+
+At present, the following data files are included in this new package:
+\begin{itemize}\parskip=0pt
+ \item \verb|CaseFolding.txt|
+ \item \verb|EastAsianWidth.txt|
+ \item \verb|LineBreak.txt|
+ \item \verb|MathClass.txt|
+ \item \verb|SpecialCasing.txt|
+ \item \verb|UnicodeData.txt|
+\end{itemize}
+These files are used either by \LaTeXe{} or by \package{expl3}
+(i.e.~they represent the set currently required by the team). The
+Unicode Consortium provides various other data files and we would be happy to add
+these to the generic package, as it is intended to provide a single place
+to collect this material in the \verb|texmf| tree. Such requests can be
+mailed to the team as~usual or logged at the package home page:
+\url{https://github.com/latex3/unicode-data}.
+
+The new approach extends use of Unicode data in setting \TeX{} information in
+two ways. First, the \verb|\sfcode| of all end-of-quotation/closing punctuation
+is now set to $0$ (transparent to \TeX{}). Second, \verb|\Umathcode| values are
+now set using \verb|MathClass.txt| rather than setting up only letters (which
+was done using an arbitrary plane~$0$/plane~$1$ separation). There are also
+minor refinements to the existing code setting, particularly splitting the
+concepts of case and letter/non-letter category codes.
+
+For \hologo{XeTeX}, users should note that \verb|\xtxHanGlue| and
+\verb|\xtxHanSpace| are \emph{no longer defined}, that no assignments are made
+to \verb|\XeTeXinterchartoks| and that no \verb|\XeTeXintercharclass| data is
+loaded into the format. The values which were previously inherited from
+the plain \hologo{XeTeX} setup files are \emph{not} suitable for properly
+typesetting East Asian text. There are third-party packages addressing this
+area well, notably those in the \package{CTeX} bundle. Third-party packages
+may need adjustment to load the data themselves; see the \textsf{unicode-data}
+package for one possible loader.
+
+\section{More support for east European accents}
+
+As noted in \LaTeX{} News~23, comma accent support was added for \texttt{s} and
+\texttt{t} in the 2015/10/01 release. In this release a matching
+\verb|\textcommaabove| accent has been added for U+0123 (\verb|\c{g}|,
+\textcommaabove{g}) which is the lower case of U+0122 (\verb|\c{G}|,
+\textcommabelow{G}). In the OT1 and T1 encodings the combinations are
+declared as composites with the \verb|\c| command, which matches the
+Unicode names ``\textsf{latin (capital|small) letter g with cedilla}'' and
+also allows \verb|\MakeUppercase{\c{g}}| to produce \verb|\c{G}|, as
+required. In T1 encoding, the composite of \verb|\c| with \texttt{k}, \texttt{l},
+\texttt{n} and \texttt{r} are also
+declared to use the comma below accent rather than cedilla to match the
+conventional use of these letters.
+
+The UTF-8 \texttt{inputenc} option \texttt{utf8} has been extended to
+support all latin combinations that can be reasonably constructed with a
+(single) accent command an a base character for the T1 encoding so
+\textcommaabove{g}, \k{u} and similar characters may be directly input
+using UTF-8 encoding.
+
+\section{Changes in Graphics}
+
+The changes in \hologo{LuaTeX}~v0.87 mean that the \package{color} and
+\package{graphics} packages no longer share the \texttt{pdftex.def} file
+between \hologo{LuaTeX} and \hologo{pdfTeX}. A separate file
+\texttt{luatex.def} (distributed separately) has been produced, and
+distributions are encouraged to modify \texttt{graphics.cfg} and
+\texttt{color.cfg} configuration files to default to the \texttt{luatex}
+option if \hologo{LuaTeX}~v0.87 or later is being used. The team has
+contributed suitable \texttt{.cfg} files to CTAN to be used
+as models.
+
+Normally it is best to let the local \texttt{graphics.cfg}
+automatically supply the right option depending on the \TeX\ engine
+being used; however the \package{color} and \package{graphics} (and so
+\package{graphicx}) packages have been extended to have an explicit
+\texttt{luatex} option comparable to the existing \texttt{pdftex} and
+\texttt{xetex} options.
+
+The \package{trig} package has been updated so that pre-computed values
+such as $\sin(90)$ now expand to digits (\texttt{1} rather than the
+internal token \verb|\@one| in this case). This allows them to be used
+directly in PDF literal strings.
+
+\section{Changes in Tools}
+
+\hologo{LuaTeX} from version v0.87 no longer supports the
+\verb|\write18| syntax to access system commands. A new package
+\package{shellesc} has been added to \textsf{tools} that defines a new
+command \verb|\ShellEscape| that may be used in all \TeX\ variants to
+provide a consistent access to system commands. The package also
+defines \verb|\write18| in \hologo{LuaTeX} so that it continues to access
+system commands as before; see the package documentation for details.
+
+\section{Improving support for Unicode engines}
+
+Stability concerns are always paramount when considering any change to
+the \LaTeXe{} kernel. At the same time, it is important that the format
+remains usable and gives reliable results for users. For the Unicode
+\TeX{} engines \hologo{XeTeX} and \hologo{LuaTeX} there are important
+differences in behavior from classical ($8$-bit) \TeX{} engines which
+mean that identical default behaviors are not appropriate. Over the
+past 18 months the team has addressed the most pressing of these
+considerations (as detailed above and in \LaTeX{} News~22 and 23),
+primarily by integrating existing patches into the kernel. There are,
+though, important areas which still need consideration, and which
+\emph{may} result in refinements to kernel support in this area in
+future releases.
+
+The default font setup in \LaTeXe{} at present is to use the \texttt{OT1}
+encoding. This assumes that hyphenation patterns have been read using
+appropriate codes: the \texttt{T1} encoding is assumed. The commonly-used
+hyphenation patterns today, \package{hyph-utf8}, are set up in this
+way for $8$-bit engines (\hologo{pdfTeX}) but for Unicode engines use
+Unicode code points. This means that hyphenation will be incorrect
+with Unicode engines unless a Unicode font is loaded. This requires
+a concept of a Unicode font encoding, which is currently provided by
+the \package{fontspec} package in two versions, \texttt{EU1} and
+\texttt{EU2}. The team is working to fully understand what is meant
+by a ``Unicode font encoding'', as unlike a classical \TeX{} encoding
+it is essentially impossible to know what glyphs will be provided
+(though each slot is always defined with the same meaning). There
+is also an overlap between this area and ideas of language and writing
+system, most obviously in documents featuring mixed scripts (for example
+Latin and Cyrillic).
+
+As well as these font considerations, the team is also exploring
+to what extent it is possible to allow existing ($8$-bit)
+documents to compile directly with Unicode engines without requiring
+changes in the sources. Whether this is truly possible remains an open
+question.
+
+It is important to stress that changes will only be made in this area where
+they do \emph{not} affect documents processed with
+\hologo{eTeX}/\hologo{pdfTeX} (i.e.~documents which are written for
+``classical'' $8$-bit \TeX{} engines). Changes will also be made only where
+they clearly address deficiencies in the current setup for Unicode engines
+(i.e.~where current behaviors are wrong).
+
+\end{document}
diff --git a/Master/texmf-dist/source/latex/base/ltoutenc.dtx b/Master/texmf-dist/source/latex/base/ltoutenc.dtx
index a7932198327..43d032922aa 100644
--- a/Master/texmf-dist/source/latex/base/ltoutenc.dtx
+++ b/Master/texmf-dist/source/latex/base/ltoutenc.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
@@ -44,7 +44,7 @@
%<*driver>
% \fi
\ProvidesFile{ltoutenc.dtx}
- [2015/08/28 v1.99m LaTeX Kernel (font encodings)]
+ [2015/12/30 v1.99n LaTeX Kernel (font encodings)]
% \iffalse
\documentclass{ltxdoc}
\GetFileInfo{ltoutenc.dtx}
@@ -66,7 +66,7 @@
%</driver>
% \fi
%
-% \CheckSum{2825}
+% \CheckSum{2885}
%
% \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
@@ -1490,6 +1490,30 @@
%<latexrelease>\EndIncludeInRelease
% \end{macrocode}
%
+% \changes{v1.99n}{2015/02/16}{Added \cs{textcommaabove}}
+% Default definition of comma above (E.G.).
+% \begin{macrocode}
+%<latexrelease>\IncludeInRelease{2016/02/01}{\textcommaabove}{comma above}%
+%<*2ekernel|latexrelease>
+\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
+}
+%<latexrelease>\EndIncludeInRelease
+%</2ekernel|latexrelease>
+%<latexrelease>\IncludeInRelease{0000/00/00}{\textcommaabove}{comma above}%
+%<latexrelease>\let\textcommaabove\@undefined
+%<latexrelease>\EndIncludeInRelease
+% \end{macrocode}
+%
% \changes{v1.6d}{1994/10/30}{Moved math commands here from ltmath.}
% \changes{v1.6f}{1994/11/04}{Added \cs{mathunderscore}.}
% \changes{v1.7k}{1995/06/05}{Moved math commands to fontdef.dtx.}
@@ -1689,6 +1713,13 @@
\DeclareTextCompositeCommand{\"}{OT1}{i}{\"\i}
% \end{macrocode}
%
+% T1 encoding is given more extensive set of overloads for \verb|\c|
+% But here we just adjust \verb|\c{g}|.
+% \changes{v1.99n}{2015/02/16}{Added composites for \cs{c}}
+% \begin{macrocode}
+\DeclareTextCompositeCommand{\c}{T1}{g}{\textcommaabove{g}}
+% \end{macrocode}
+%
% \begin{macrocode}
%</OT1>
% \end{macrocode}
@@ -2040,6 +2071,19 @@
\DeclareTextCompositeCommand{\k}{T1}{o}{\textogonekcentered{o}}
\DeclareTextCompositeCommand{\k}{T1}{O}{\textogonekcentered{O}}
% \end{macrocode}
+% \changes{v1.99n}{2015/02/16}{Added composites for \c{c}}
+% \begin{macrocode}
+\DeclareTextCompositeCommand{\c}{T1}{G}{\textcommabelow{G}}
+\DeclareTextCompositeCommand{\c}{T1}{g}{\textcommaabove{g}}
+\DeclareTextCompositeCommand{\c}{T1}{K}{\textcommabelow{K}}
+\DeclareTextCompositeCommand{\c}{T1}{k}{\textcommabelow{k}}
+\DeclareTextCompositeCommand{\c}{T1}{L}{\textcommabelow{L}}
+\DeclareTextCompositeCommand{\c}{T1}{l}{\textcommabelow{l}}
+\DeclareTextCompositeCommand{\c}{T1}{N}{\textcommabelow{N}}
+\DeclareTextCompositeCommand{\c}{T1}{n}{\textcommabelow{n}}
+\DeclareTextCompositeCommand{\c}{T1}{R}{\textcommabelow{R}}
+\DeclareTextCompositeCommand{\c}{T1}{r}{\textcommabelow{r}}
+% \end{macrocode}
%
% \begin{macrocode}
%</T1>
diff --git a/Master/texmf-dist/source/latex/base/ltoutenc.ins b/Master/texmf-dist/source/latex/base/ltoutenc.ins
index 88721d3d429..2f38af2c972 100644
--- a/Master/texmf-dist/source/latex/base/ltoutenc.ins
+++ b/Master/texmf-dist/source/latex/base/ltoutenc.ins
@@ -3,7 +3,7 @@
%% driver files from the doc files in this package when run through
%% LaTeX or TeX.
%%
-%% Copyright 1993-2015
+%% Copyright 1993-2016
%% The LaTeX3 Project and any individual authors listed elsewhere
%% in this file.
%%
@@ -45,7 +45,7 @@ reports for it can be opened at http://latex-project.org/bugs.html
(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.
diff --git a/Master/texmf-dist/source/latex/base/ltoutput.dtx b/Master/texmf-dist/source/latex/base/ltoutput.dtx
index 1cb7ec5dec1..a4d0b06fdb3 100644
--- a/Master/texmf-dist/source/latex/base/ltoutput.dtx
+++ b/Master/texmf-dist/source/latex/base/ltoutput.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/ltpage.dtx b/Master/texmf-dist/source/latex/base/ltpage.dtx
index 710bbcc2cf6..aca4f3c09d9 100644
--- a/Master/texmf-dist/source/latex/base/ltpage.dtx
+++ b/Master/texmf-dist/source/latex/base/ltpage.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/ltpageno.dtx b/Master/texmf-dist/source/latex/base/ltpageno.dtx
index c2b2f0ea69b..213c67a8910 100644
--- a/Master/texmf-dist/source/latex/base/ltpageno.dtx
+++ b/Master/texmf-dist/source/latex/base/ltpageno.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/ltpar.dtx b/Master/texmf-dist/source/latex/base/ltpar.dtx
index bd8ff1baaa8..2fcda7a5086 100644
--- a/Master/texmf-dist/source/latex/base/ltpar.dtx
+++ b/Master/texmf-dist/source/latex/base/ltpar.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/ltpictur.dtx b/Master/texmf-dist/source/latex/base/ltpictur.dtx
index b847743e5f5..9d7ef572a77 100644
--- a/Master/texmf-dist/source/latex/base/ltpictur.dtx
+++ b/Master/texmf-dist/source/latex/base/ltpictur.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/ltplain.dtx b/Master/texmf-dist/source/latex/base/ltplain.dtx
index 7eb822544dc..7beb854464c 100644
--- a/Master/texmf-dist/source/latex/base/ltplain.dtx
+++ b/Master/texmf-dist/source/latex/base/ltplain.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
@@ -32,7 +32,7 @@
%<*driver>
% \fi
\ProvidesFile{ltplain.dtx}
- [2015/10/27 v2.1b LaTeX Kernel (Plain TeX)]
+ [2015/11/18 v2.2b LaTeX Kernel (Plain TeX)]
% \iffalse
\documentclass{ltxdoc}
\GetFileInfo{ltplain.dtx}
@@ -50,7 +50,7 @@
%</driver>
% \fi
%
-% \CheckSum{1345}
+% \CheckSum{1362}
%
% \changes{v1.0a}{1994/03/08}
% {Remove need for a driver file.}
@@ -361,8 +361,28 @@
\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}
+% \end{macrocode}
+%
+% \changes{v2.2a}{2015/11/18}
+% {Extended stream allocation in luatex (0.85)}
+% \changes{v2.2b}{2015/11/19}
+% {Only extend allocation of write streams (see luatex list)}
+% Skip |\write18| due to its traditional use as a shell-escape.
+% \begin{macrocode}
+\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
+% \end{macrocode}
+%
+% \begin{macrocode}
\def\new@mathgroup
{\e@alloc\mathgroup\chardef{\count18}\m@ne\e@mathgroup@top}
\def\newlanguage {\e@alloc\language \chardef{\count19}\m@ne\@cclvi}
diff --git a/Master/texmf-dist/source/latex/base/ltsect.dtx b/Master/texmf-dist/source/latex/base/ltsect.dtx
index b267daaf8b2..db40c16bd28 100644
--- a/Master/texmf-dist/source/latex/base/ltsect.dtx
+++ b/Master/texmf-dist/source/latex/base/ltsect.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/ltspace.dtx b/Master/texmf-dist/source/latex/base/ltspace.dtx
index 84ec4431dfa..b902f2884d5 100644
--- a/Master/texmf-dist/source/latex/base/ltspace.dtx
+++ b/Master/texmf-dist/source/latex/base/ltspace.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
@@ -32,7 +32,7 @@
%<*driver>
% \fi
\ProvidesFile{ltspace.dtx}
- [2015/01/14 v1.3e LaTeX Kernel (spacing)]
+ [2015/11/07 v1.3f LaTeX Kernel (spacing)]
% \iffalse
\documentclass{ltxdoc}
\GetFileInfo{ltspace.dtx}
@@ -54,7 +54,7 @@
%</driver>
% \fi
%
-% \CheckSum{578}
+% \CheckSum{600}
%
% \changes{v1.1a}{1994/05/16}{(ASAJ) Split from ltinit.dtx.}
% \changes{v1.2f}{1995/05/25}{Macros moved to ltlists.dtx}
@@ -560,12 +560,30 @@
\ifhmode
\spacefactor\@savsf
\ifdim\@savsk>\z@
- \nobreak \hskip\z@skip
+% \end{macrocode}
+% \changes{v1.3f}{2015/11/07}
+% {Only space if there is no space at the end of the hlist latex/4443}
+% \begin{macrocode}
+ \ifdim\lastskip=\z@
+ \nobreak \hskip\z@skip
+ \fi
\ignorespaces
\fi
\fi}%
%</2ekernel|latexrelease>
%<latexrelease>\EndIncludeInRelease
+%<latexrelease>\IncludeInRelease{2015/01/01}%
+%<latexrelease> {\@esphack}{hyphenation after space hack}%
+%<latexrelease>\def\@esphack{%
+%<latexrelease> \relax
+%<latexrelease> \ifhmode
+%<latexrelease> \spacefactor\@savsf
+%<latexrelease> \ifdim\@savsk>\z@
+%<latexrelease> \nobreak \hskip\z@skip
+%<latexrelease> \ignorespaces
+%<latexrelease> \fi
+%<latexrelease> \fi}%
+%<latexrelease>\EndIncludeInRelease
%<latexrelease>\IncludeInRelease{0000/00/00}%
%<latexrelease> {\@esphack}{hyphenation after space hack}%
%<latexrelease>\def\@esphack{%
diff --git a/Master/texmf-dist/source/latex/base/lttab.dtx b/Master/texmf-dist/source/latex/base/lttab.dtx
index 3735baa2b03..970f0279604 100644
--- a/Master/texmf-dist/source/latex/base/lttab.dtx
+++ b/Master/texmf-dist/source/latex/base/lttab.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/ltthm.dtx b/Master/texmf-dist/source/latex/base/ltthm.dtx
index d7543daec41..8a19ef58a86 100644
--- a/Master/texmf-dist/source/latex/base/ltthm.dtx
+++ b/Master/texmf-dist/source/latex/base/ltthm.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/ltunicode.dtx b/Master/texmf-dist/source/latex/base/ltunicode.dtx
deleted file mode 100644
index 957883ccc21..00000000000
--- a/Master/texmf-dist/source/latex/base/ltunicode.dtx
+++ /dev/null
@@ -1,860 +0,0 @@
-% \iffalse meta-comment
-%
-% Copyright 2014-2015
-% The LaTeX3 Project and any individual authors listed elsewhere
-% in this file.
-%
-% This file is part of the LaTeX base system.
-% -------------------------------------------
-%
-% It 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 file has the LPPL maintenance status "maintained".
-%
-% The list of all files belonging to the LaTeX base distribution is
-% given in the file `manifest.txt'. See also `legal.txt' for additional
-% information.
-%
-% The list of derived (unpacked) files belonging to the distribution
-% and covered by LPPL is defined by the unpacking scripts (with
-% extension .ins) which are part of the distribution.
-%
-% -----------------------------------------------------------------------------
-%
-% The same approach as used in \pkg{DocStrip}: if \cs{documentclass}
-% is undefined then skip the driver, allowing the file to be used directly.
-% This works as the \cs{fi} is only seen if \LaTeX{} is not in use. The odd
-% \cs{jobname} business allows the extraction to work with \LaTeX{} provided
-% an appropriate \texttt{.ins} file is set up.
-%<*gobble>
-\ifx\jobname\relax
- \let\documentclass\undefined
-\fi
-\begingroup\expandafter\expandafter\expandafter\endgroup
-\expandafter\ifx\csname documentclass\endcsname\relax
-\else
- \csname fi\endcsname
-%</gobble>
-%
-%<*driver>
-\ProvidesFile{ltunicode.dtx}
- [2015/08/10 v1.0l LaTeX Kernel (Unicode data)]
-\documentclass{ltxdoc}
-\begin{document}
-\DocInput{\jobname.dtx}
-\end{document}
-%<*gobble>
-\fi
-%</gobble>
-%</driver>
-% \fi
-%
-% \GetFileInfo{ltunicode.dtx}
-% \title{The \texttt{ltunicode.dtx} file\thanks
-% {This file has version number \fileversion, dated \filedate.}\\
-% for use with \LaTeXe}
-% \author{The \LaTeX3 Project}
-%
-% \MaintainedByLaTeXTeam{latex}
-% \maketitle
-%
-% This script extracts data from the Unicode Consortium files
-% |UnicodeData.txt|, |EastAsianWidth.txt| and |LineBreak.txt| to be used for
-% setting up \LaTeXe{} (or plain \TeX{}) with sane default settings when using
-% the Xe\TeX{} and Lua\TeX{} engines. Details of the process are included in
-% the code comments.
-%
-% To create the extracted file, run this file in a location containing
-% the three input data files using \texttt{pdftex}. (The code requires
-% \cs{pdfmdfivesum} and the e-\TeX{} extensions: it could be adapted for
-% Lua\TeX{}).
-%
-% \StopEventually{}
-%
-% \begin{macrocode}
-%<*script>
-% \end{macrocode}
-%
-% \section{General set up}
-%
-% The script is designed to work with plain \TeX{} and so |@| is made into
-% a `letter' using the primitive approach.
-% \begin{macrocode}
-\catcode`\@=11 %
-% \end{macrocode}
-%
-% \begin{macro}{\gobble}
-% \begin{macro}{\gobblethree}
-% \begin{macro}{\firsttoken}
-% Standard utilities.
-% \begin{macrocode}
-\long\def\gobble#1{}
-\long\def\gobblethree#1#2#3{}
-\long\def\firsttoken#1#2\relax{#1}
-% \end{macrocode}
-% \end{macro}
-% \end{macro}
-% \end{macro}
-%
-% \begin{macro}{\storedpar}
-% A simple piece of test set up: the final line of the read file will be
-% tokenized by \TeX{} as \cs{par} which can be tested by \cs{ifx} provided
-% we have an equivalent available.
-% \begin{macrocode}
-\def\storedpar{\par}
-% \end{macrocode}
-% \end{macro}
-%
-% \begin{macro}{\return}
-% A stored |^^M| for string comparisons.
-% \begin{macrocode}
-\begingroup
- \catcode`\^^M=12 %
- \gdef\return{^^M}%
-\endgroup%
-% \end{macrocode}
-% \end{macro}
-%
-% \begin{macro}{\sourceforhex}
-% \begin{macro}{\sethex}
-% \begin{macro}{\dohex}
-% \begin{macro}{\hexdigit}
-% Some parts of the code here will need to be able to convert integers
-% to their hexadecimal equivalent. That is easiest to do for the requirements
-% here using a modified version of some code from Appendix~D of \emph{The
-% \TeX{}book}.
-% \begin{macrocode}
-\newcount\sourceforhex
-\def\sethex#1#2{%
- \def#1{}%
- \sourceforhex=#2\relax
- \ifnum\sourceforhex=0 %
- \def#1{0}%
- \else
- \dohex#1%
- \fi
-}
-\def\dohex#1{%
- \begingroup
- \count0=\sourceforhex
- \divide\sourceforhex by 16 %
- \ifnum\sourceforhex>0 %
- \dohex#1%
- \fi
- \count2=\sourceforhex
- \multiply\count2 by -16 %
- \advance\count0 by\count2
- \hexdigit#1%
- \expandafter\endgroup
- \expandafter\def\expandafter#1\expandafter{#1}%
-}
-\def\hexdigit#1{%
- \ifnum\count0<10 %
- \edef#1{#1\number\count0}%
- \else
- \advance\count0 by -10 %
- \edef#1{#1\ifcase\count0 A\or B\or C\or D\or E\or F\fi}%
- \fi
-}
-% \end{macrocode}
-% \end{macro}
-% \end{macro}
-% \end{macro}
-% \end{macro}
-%
-% \begin{macro}{\unicoderead, \unicodewrite}
-% Set up the streams for data.
-% \begin{macrocode}
-\newread\unicoderead
-\newwrite\unicodewrite
-% \end{macrocode}
-% \end{macro}
-%
-% \section{Verbatim copying}
-%
-% \begin{macro}{\verbatimcopy}
-% \begin{macro}{\endverbatimcopy}
-% \begin{macro}{\verbatimcopy@auxii}
-% \begin{macro}{\verbatimcopy@auxii}
-% \begin{macro}{\verbatim@endmarker}
-% Set up to read some material verbatim and write it to the output stream.
-% There needs to be a dedicated `clean up first line' macro, but other than
-% that life is simple enough.
-% \begin{macrocode}
-\begingroup
- \catcode`\^^M=12 %
- \gdef\verbatimcopy{%
- \begingroup%
- \catcode`\^^M=12 %
- \catcode`\\=12 %
- \catcode`\{=12 %
- \catcode`\}=12 %
- \catcode`\#=12 %
- \catcode`\%=12 %
- \catcode`\ =12 %
- \endlinechar=`\^^M %
- \verbatimcopy@auxi
- }%
- \gdef\verbatimcopy@auxi#1^^M{%
- \expandafter\verbatimcopy@auxii\gobble#1^^M%
- }%
- \gdef\verbatimcopy@auxii#1^^M{%
- \def\temp{#1}%
- \ifx\temp\verbatim@endmarker%
- \expandafter\endgroup%
- \else%
- \ifx\temp\empty\else%
- \immediate\write\unicodewrite{#1}%
- \fi%
- \expandafter\verbatimcopy@auxii%
- \fi%
- }%
-\endgroup%
-\edef\verbatim@endmarker{\expandafter\gobble\string\\}
-\edef\verbatim@endmarker{\verbatim@endmarker endverbatimcopy}
-% \end{macrocode}
-% \end{macro}
-% \end{macro}
-% \end{macro}
-% \end{macro}
-% \end{macro}
-%
-% \section{File header section}
-%
-% \changes{v1.0d}{2015/03/26}{Renamed data file to
-% \texttt{unicode-letters.def}}
-% With the mechanisms set up, open the data file for writing.
-% \begin{macrocode}
-\immediate\openout\unicodewrite=unicode-letters.def %
-% \end{macrocode}
-% There are various lines that now need to go at the start of the file.
-% First, there is some header information. Parts of it are auto-generated,
-% so there is some interspersing of verbatim and non-verbatim parts.
-% \begin{macrocode}
-\verbatimcopy
-%% This is the file `unicode-letters.def',
-%% generated using the script ltunicode.dtx.
-%%
-%% The data here are derived from the files
-\endverbatimcopy
-% \end{macrocode}
-%
-% \changes{v1.0b}{2015/03/25}{Include Unicode version data in generated
-% file}
-% \changes{v1.0c}{2015/03/25}{Include MD5 sums for sources in generated
-% file}
-% \changes{v1.0f}{2015/03/26}{Include dates for sources in generated
-% file}
-% \begin{macro}{\parseunicodedata}
-% \begin{macro}{\parseunicodedata@auxi}
-% \begin{macro}{\parseunicodedata@auxii}
-% \begin{macro}{\mdfiveinfo}
-% To ensure that there is a full audit trail for the data, we record
-% both the reported file version (if available) and the checksum for each
-% of the source files. This is done by reading the first line of each file
-% and parsing for the version string and if found reading the second line
-% for a date/time, and then `catching' the entire files inside a macro to
-% work out the checksums.
-% \begin{macrocode}
-\def\parseunicodedata#1{%
- \openin\unicoderead=#1.txt %
- \ifeof\unicoderead
- \errmessage{Data file missing: #1.txt}%
- \fi
- \immediate\write\unicodewrite{%
- \expandafter\gobble\string\%\expandafter\gobble\string\%
- - #1.txt
- }%
- \readline\unicoderead to \unicodedataline
- \edef\unicodedataline{\unicodedataline\detokenize{-.txt}}%
- \expandafter\parseunicodedata@auxi\unicodedataline\relax{#1}%
-}
-\begingroup
-\catcode`\T=12 %
-\catcode`\X=12 %
-\lowercase{%
- \endgroup
- \def\parseunicodedata@auxi#1-#2.TXT#3\relax#4}%
-{%
- \ifx\relax#2\relax
- \else
- \readline\unicoderead to \unicodedataline
- \expandafter\parseunicodedata@auxii\unicodedataline\relax
- \fi
- \closein\unicoderead
- \begingroup
- \everyeof{\noexpand}%
- \catcode`\#=12 %
- \edef\mdfiveinfo{\input#4.txt\space}%
- \expandafter\endgroup
- \expandafter\def\expandafter\mdfiveinfo\expandafter{\mdfiveinfo}%
- \immediate\write\unicodewrite{%
- \expandafter\gobble\string\%\expandafter\gobble\string\%
- \space\space
- \ifx\relax#2\relax
- \else
- Version #2 dated \temp^^J%
- \expandafter\gobble\string\%\expandafter\gobble\string\%
- \space\space
- \fi
- MD5 sum \pdfmdfivesum\expandafter{\mdfiveinfo}%
- }%
-}
-\def\parseunicodedata@auxii#1: #2, #3 #4\relax{%
- \def\temp{#2, #3}%
-}
-\parseunicodedata{UnicodeData}
-\parseunicodedata{EastAsianWidth}
-\parseunicodedata{LineBreak}
-% \end{macrocode}
-% \end{macro}
-% \end{macro}
-% \end{macro}
-% \end{macro}
-%
-% \begin{macrocode}
-\verbatimcopy
-%% which are maintained by the Unicode Consortium.
-%%
-\endverbatimcopy
-% \end{macrocode}
-%
-% Automatically include the current date.
-% \begin{macrocode}
-\immediate\write\unicodewrite{%
- \expandafter\gobble\string\%\expandafter\gobble\string\%
- Generated on \the\year
- -\ifnum\month>9 \else 0\fi \the\month
- -\ifnum\day>9 \else 0\fi \the\day.
-}
-% \end{macrocode}
-%
-% Back to simple text copying
-% \begin{macrocode}
-\verbatimcopy
-%%
-%% Copyright 2014-2015
-%% The LaTeX3 Project and any individual authors listed elsewhere
-%% in this file.
-%%
-%% This file is part of the LaTeX base system.
-%% -------------------------------------------
-%%
-%% It 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 file has the LPPL maintenance status "maintained".
-%%
-%% The list of all files belonging to the LaTeX base distribution is
-%% given in the file `manifest.txt'. See also `legal.txt' for additional
-%% information.
-\endverbatimcopy
-% \end{macrocode}
-%
-% \section{Unicode character data}
-%
-% \changes{v1.0e}{2015/03/26}{Correctly parse ranges in
-% \texttt{UnicodeData.txt}}
-% \begin{macro}{\parseunicodedata}
-% \begin{macro}{\parseunicodedata@auxi}
-% \begin{macro}{\parseunicodedata@auxii}
-% \begin{macro}{\parseunicodedata@auxiii}
-% \begin{macro}{\parseunicodedata@auxiv}
-% \begin{macro}{\parseunicodedata@auxv}
-% \begin{macro}{\parseunicodedata@auxvi}
-% The first step of parsing a line of data is to check that it's not come
-% from a blank in the source, which will have been tokenized as \cs{par}.
-% Assuming that is not the case, there are lots of data items separated by
-% |;|. Of those, only a few are needed so they are picked out and everything
-% else is dropped. There is one complication: there are a few cases in the
-% data file of ranges which are marked by the descriptor |First| and a
-% matching |Last|. A separate routine is used to handle these cases.
-% \begin{macrocode}
-\def\parseunicodedata#1{%
- \ifx#1\storedpar
- \else
- \expandafter\parseunicodedata@auxi#1\relax
- \fi
-}
-\def\parseunicodedata@auxi#1;#2;#3;#4;#5;#6;#7;#8;#9;{%
- \parseunicodedata@auxii#1;#3;#2 First>\relax
-}
-\def\parseunicodedata@auxii#1;#2;#3 First>#4\relax{%
- \ifx\relax#4\relax
- \expandafter\parseunicodedata@auxiii
- \else
- \expandafter\parseunicodedata@auxv
- \fi
- #1;#2;%
-}
-\def\parseunicodedata@auxiii#1;#2;#3;#4;#5;#6;#7;#8\relax{%
- \parseunicodedata@auxiv{#1}{#2}{#6}{#7}%
-}
-% \end{macrocode}
-% At this stage we have only four pieces of data
-% \begin{enumerate}
-% \item The code value
-% \item The general class
-% \item The uppercase mapping
-% \item The lowercase mapping
-% \end{enumerate}
-% where both one or both of the last two may be empty. Everything here could
-% be done in a single conditional within a \cs{write}, but that would be
-% tricky to follow. Instead, a series of defined auxiliaries are used to
-% show the flow. Notice that combining marks are treated as letters here
-% (the second `letter' test).
-% \begin{macrocode}
-\def\parseunicodedata@auxiv#1#2#3#4{%
- \if L\firsttoken#2?\relax
- \expandafter\unicodeletter
- \else
- \if M\firsttoken#2?\relax
- \expandafter\expandafter\expandafter\unicodeletter
- \else
- \expandafter\expandafter\expandafter\unicodenonletter
- \fi
- \fi
- {#1}{#3}{#4}%
-}
-% \end{macrocode}
-% \changes{v1.0i}{2015/06/20}{Include first code point in a range in output}
-% In the case where the first code point for a range was found, we
-% assume the next line is the last code point (it always is). It's then
-% a question of checking if the range is a set of letters or not, and if
-% so going though them all and adding to the data file.
-% \begin{macrocode}
-\def\parseunicodedata@auxv#1;#2;#3\relax{%
- \read\unicoderead to \unicodedataline
- \expandafter\parseunicodedata@auxvi\unicodedataline\relax#1;#2\relax
-}
-\def\parseunicodedata@auxvi#1;#2\relax#3;#4\relax{%
- \if L\firsttoken#4?\relax
- \count@="#3 %
- \begingroup
- \loop
- \unless\ifnum\count@>"#1 %
- \sethex\temp{\count@}%
- \unicodeletter\temp\temp\temp
- \advance\count@\@ne
- \repeat
- \endgroup
- \fi
-}
-% \end{macrocode}
-% \end{macro}
-% \end{macro}
-% \end{macro}
-% \end{macro}
-% \end{macro}
-% \end{macro}
-% \end{macro}
-%
-% \changes{v1.0g}{2015/03/26}{Add missing \cs{global} in definition of \cs{C}}
-% \changes{v1.0j}{2015/08/05}{Compress data for caseless letters}
-% \changes{v1.0j}{2015/08/05}{Save some space by dropping end-of-line
-% percent chars}
-% \begin{macro}{\unicodeletter, \unicodenonletter}
-% \begin{macro}{\writeunicodedatafull}
-% \begin{macro}{\writeunicodedatacompact}
-% For `letters', we always want to write the data to file, and the only
-% question here is if the character has case mappings or these point back
-% to the character itself. If there are no mappings or the mappings are
-% all equivalent to the same code point then use a shorter version of
-% the write macro.
-% \begin{macrocode}
-\def\unicodeletter#1#2#3{%
- \ifx\relax#2#3\relax
- \writeunicodedatacompact\l{#1}%
- \else
- \ifnum 0%
- \ifnum"#1="\ifx\relax#2\relax#1 \else#2 \fi\else1\fi
- \ifnum"#1="\ifx\relax#3\relax#1 \else#3 \fi\else1\fi
- >0 %
- \writeunicodedatafull\L{#1}{#2}{#3}%
- \else
- \writeunicodedatacompact\l{#1}%
- \fi
- \fi
-}
-% \end{macrocode}
-% Cased non-letters can also exist: they can be detected as they have at
-% least one case mapping. Write these in much the same way as letters,
-% but always with a full mapping (must be the case to require the entry
-% at all).
-% \begin{macrocode}
-\def\unicodenonletter#1#2#3{%
- \ifx\relax#2#3\relax
- \else
- \writeunicodedatafull\C{#1}{#2}{#3}%
- \fi
-}
-% \end{macrocode}
-% Actually write the data. In all cases both upper- and lower-case mappings
-% are given, so there is a need to test that both were actually available and
-% if not set up to do nothing. Cases where both mappings are no-ops will
-% already have been filtered out and are written in a shorter form: this
-% saves a significant amount of space in the file.
-% \begin{macrocode}
-\def\writeunicodedatafull#1#2#3#4{%
- \immediate\write\unicodewrite{%
- \space\space
- \string#1\space
- #2 %
- \ifx\relax#3\relax
- #2 %
- \else
- #3 %
- \fi
- \ifx\relax#4\relax
- #2%
- \else
- #4%
- \fi
- }%
-}
-\def\writeunicodedatacompact#1#2{%
- \immediate\write\unicodewrite{%
- \space\space
- \string#1\space
- #2%
- }%
-}
-% \end{macrocode}
-% \end{macro}
-% \end{macro}
-% \end{macro}
-%
-% There is now a lead-in section which creates the macros which take the
-% processed data and do the code assignments. Everything is done within a
-% group so that there is no need to worry about names.
-% \begin{macrocode}
-\verbatimcopy
-\begingroup
-\endverbatimcopy
-% \end{macrocode}
-% Cased non-letters simply need to have the case mappings set.
-% For letters, there are a few things to sort out. First, the case mappings are
-% defined as for non-letters. Category code is then set to $11$ before a check
-% to see if this is an upper case letter. If it is then the \cs{sfcode} is set
-% to $999$. Finally there is a need to deal with Unicode math codes, where base
-% plane letters are class $7$ but supplementary plane letters are class~$1$.
-% Older versions of Xe\TeX{} used a different name here: easy to pick up as
-% we know that this primitive must be defined in some way. There is also an issue
-% with the supplementary plane and older Xe\TeX{} versions, which is dealt with
-% using a check at run time.
-% \begin{macrocode}
-\verbatimcopy
- \def\C#1 #2 #3 {%
- \XeTeXcheck{#1}%
- \global\uccode"#1="#2 %
- \global\lccode"#1="#3 %
- }
- \def\L#1 #2 #3 {%
- \C #1 #2 #3 %
- \global\catcode"#1=11 %
- \ifnum"#1="#3 %
- \else
- \global\sfcode"#1=999 %
- \fi
- \ifnum"#1<"10000 %
- \global\Umathcode"#1="7"01"#1 %
- \else
- \global\Umathcode"#1="0"01"#1 %
- \fi
- }
- \def\l#1 {\L#1 #1 #1 }
- \ifx\Umathcode\undefined
- \let\Umathcode\XeTeXmathcode
- \fi
- \def\XeTeXcheck#1{}
- \ifx\XeTeXversion\undefined
- \else
- \def\XeTeXcheck.#1.#2-#3\relax{#1}
- \ifnum\expandafter\XeTeXcheck\XeTeXrevision.-\relax>996 %
- \def\XeTeXcheck#1{}
- \else
- \def\XeTeXcheck#1{%
- \ifnum"#1>"FFFF %
- \long\def\XeTeXcheck##1\endgroup{\endgroup}
- \expandafter\XeTeXcheck
- \fi
- }
- \fi
- \fi
-\endverbatimcopy
-% \end{macrocode}
-% Read the data and write the resulting code assignments to the file.
-% \begin{macrocode}
-\openin\unicoderead=UnicodeData.txt %
-\loop\unless\ifeof\unicoderead
- \read\unicoderead to \unicodedataline
- \parseunicodedata\unicodedataline
-\repeat
-% \end{macrocode}
-% End the group for setting character codes and assign a couple of special
-% cases.
-% \begin{macrocode}
-\verbatimcopy
-\endgroup
-\global\sfcode"2019=0 %
-\global\sfcode"201D=0 %
-\endverbatimcopy
-% \end{macrocode}
-%
-% \section{Xe\TeX{} Character classes}
-%
-% The Xe\TeX{} engine includes the concept of character classes, which allow
-% insertion of tokens into the input stream at defined boundaries. Setting
-% up this data requires a two-part process as the information is split over
-% two input files.
-%
-% \begin{macro}{\parseunicodedata}
-% \begin{macro}{\parseunicodedata@auxi}
-% \begin{macro}{\parseunicodedata@auxii}
-% The parsing system is redefined to parse a detokenized input line which
-% may be a comment starting with |#|. Assuming that is not the case, the
-% data line with start with a code point potentially forming part of a range.
-% The range is extracted and the width stored for each code point.
-% \begin{macrocode}
-\def\parseunicodedata#1{%
- \ifx#1\return
- \else
- \if\expandafter\gobble\string\#\expandafter\firsttoken#1?\relax
- \else
- \expandafter\parseunicodedata@auxi#1\relax
- \fi
- \fi
-}
-\def\parseunicodedata@auxi#1;#2 #3\relax{%
- \parseunicodedata@auxii#1....\relax{#2}%
-}
-\def\parseunicodedata@auxii#1..#2..#3\relax#4{%
- \expandafter\gdef\csname EAW@#1\endcsname{#4}%
- \ifx\relax#2\relax
- \else
- \count@="#1 %
- \begingroup
- \loop
- \ifnum\count@<"#2 %
- \advance\count@\@ne
- \sethex\temp{\count@}%
- \expandafter\gdef\csname EAW@\temp\endcsname{#4}%
- \repeat
- \endgroup
- \fi
-}
-% \end{macrocode}
-% \end{macro}
-% \end{macro}
-% \end{macro}
-%
-% With the right parser in place, read the data file.
-% \begin{macrocode}
-\openin\unicoderead=EastAsianWidth.txt %
-\loop\unless\ifeof\unicoderead
- \readline\unicoderead to \unicodedataline
- \parseunicodedata\unicodedataline
-\repeat
-% \end{macrocode}
-%
-% \changes{v1.0j}{2015/08/05}{Compress East Asian width data by recording
-% ranges for code points of type \texttt{ID}}
-% \begin{macro}{\parseunicodedata@auxii}
-% \begin{macro}{\parseunicodedata@auxiii}
-% \begin{macro}{\parseunicodedata@auxiv}
-% \begin{macro}{\parseunicodedata@auxv}
-% \begin{macro}{\ID}
-% \begin{macro}{\OP}
-% \begin{macro}{\CL}
-% \begin{macro}{\EX}
-% \begin{macro}{\IS}
-% \begin{macro}{\NS}
-% \begin{macro}{\CM}
-% The final file to read, |LineBreak.txt|, uses the same format as\\
-% |EastAsianWidth.txt|. As such, only the final parts of the parser have to be
-% redefined. The first stage here is to check if the line breaking class
-% is known, and if so if it is equal to |ID| (class one).
-% \begin{macrocode}
-\def\parseunicodedata@auxii#1..#2..#3\relax#4{%
- \ifcsname #4\endcsname
- \ifnum\csname #4\endcsname=\@ne
- \expandafter\expandafter\expandafter\parseunicodedata@auxiii
- \else
- \expandafter\expandafter\expandafter\parseunicodedata@auxiv
- \fi
- \else
- \expandafter\gobblethree
- \fi
- {#1}{#2}{#4}%
-}
-% \end{macrocode}
-% For ranges of class \texttt{ID}, the entire range is written to the data
-% file as a single block: no need to check on the width data.
-% \begin{macrocode}
-\def\parseunicodedata@auxiii#1#2#3{%
- \immediate\write\unicodewrite{%
- \space\space
- \expandafter\string\csname #3\endcsname
- \space
- #1 \ifx\relax#2\relax#1\else#2\fi
- }%
-}
-% \end{macrocode}
-% For other cases, loop over each code point separately. If the
-% code point is of width |F|, |H| or |W| then the line breaking
-% property is written to the data file. The earlier check means that
-% this only happens for characters of classes \texttt{OP} (opener),
-% \texttt{CL} (closer), \texttt{EX} (exclamation), \texttt{IS} (infix sep),
-% \texttt{NS} (non-starter) and \texttt{CM} (combining marks) characters
-% (the latter need to be transparent to the mechanism).
-% \begin{macrocode}
-\def\parseunicodedata@auxiv#1#2#3{%
- \parseunicodedata@auxv{#1}{#3}%
- \ifx\relax#2\relax
- \else
- \count@="#1 %
- \begingroup
- \loop
- \ifnum\count@<"#2 %
- \advance\count@\@ne
- \sethex\temp{\count@}%
- \expandafter\parseunicodedata@auxv\expandafter{\temp}{#3}%
- \repeat
- \endgroup
- \fi
-}
-\def\parseunicodedata@auxv#1#2{%
- \ifnum 0%
- \if F\csname EAW@#1\endcsname 1\fi
- \if H\csname EAW@#1\endcsname 1\fi
- \if W\csname EAW@#1\endcsname 1\fi
- >0 %
- \immediate\write\unicodewrite{%
- \space\space
- \expandafter\string\csname #2\endcsname
- \space
- #1%
- }%
- \fi
-}
-% \end{macrocode}
-% The East Asian width class mappings.
-% \begin{macrocode}
-\def\ID{1}
-\def\OP{2}
-\def\CL{3}
-\let\EX\CL
-\let\IS\CL
-\let\NS\CL
-\def\CM{256}
-% \end{macrocode}
-% \end{macro}
-% \end{macro}
-% \end{macro}
-% \end{macro}
-% \end{macro}
-% \end{macro}
-% \end{macro}
-% \end{macro}
-% \end{macro}
-% \end{macro}
-% \end{macro}
-%
-% \changes{v1.0h}{2015/05/11}{Apply category codes to East Asian
-% chars in all cases}
-% \changes{v1.0j}{2015/08/05}{Move the stop point for Lua\TeX{}}
-% \changes{v1.0j}{2015/08/05}{Only set \cs{XeTeXcharclass} from
-% East Asian char data}
-% \changes{v1.0k}{2015/08/06}{Add missing \cs{endgroup}}
-% \changes{v1.0l}{2015/08/10}{Add missing \cs{endgroup}}
-% Before actually reading the line breaking data file, the appropriate
-% temporary code is added to the output. As described above, only a limited
-% number of classes need to be covered: they are hard-coded as classes
-% $1$, $2$ and $3$ following the convention adopted by plain Xe\TeX{}.
-% \begin{macrocode}
-\verbatimcopy
-\begingroup
- \ifx\XeTeXchartoks\XeTeXcharclass
- \endgroup\expandafter\endinput
- \else
- \def\setclass#1#2#3{%
- \ifnum#1>#2 %
- \expandafter\gobble
- \else
- \expandafter\firstofone
- \fi
- {%
- \global\XeTeXcharclass#1=#3 %
- \expandafter\setclass\expandafter
- {\number\numexpr#1+1\relax}{#2}{#3}%
- }%
- }%
- \def\gobble#1{}
- \def\firstofone#1{#1}
- \def\ID#1 #2 {\setclass{"#1}{"#2}{1}}
- \def\OP#1 {\setclass{"#1}{"#1}{2}}
- \def\CL#1 {\setclass{"#1}{"#1}{3}}
- \def\EX#1 {\setclass{"#1}{"#1}{3}}
- \def\IS#1 {\setclass{"#1}{"#1}{3}}
- \def\NS#1 {\setclass{"#1}{"#1}{3}}
- \def\CM#1 {\setclass{"#1}{"#1}{256}}
- \fi
-\endverbatimcopy
-% \end{macrocode}
-%
-% Read the line breaking data and save to the output.
-% \begin{macrocode}
-\openin\unicoderead=LineBreak.txt %
-\loop\unless\ifeof\unicoderead
- \readline\unicoderead to \unicodedataline
- \parseunicodedata\unicodedataline
-\repeat
-% \end{macrocode}
-%
-% \changes{v1.0a}{2015/03/25}{Use \cs{hskip} rather than \cs{hspace}
-% in glue settings}
-% Set up material to be inserted between character classes.
-% that provided by plain Xe\TeX{}. Using \cs{hskip} here means the code will
-% work with plain as well as \LaTeXe{}.
-% \begin{macrocode}
-\verbatimcopy
-\endgroup
-\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}
-\endverbatimcopy
-% \end{macrocode}
-%
-% Done: end the script.
-% \begin{macrocode}
-\bye
-% \end{macrocode}
-%
-% \begin{macrocode}
-%</script>
-% \end{macrocode}
diff --git a/Master/texmf-dist/source/latex/base/ltvers.dtx b/Master/texmf-dist/source/latex/base/ltvers.dtx
index e17d1951026..1874910c5f1 100644
--- a/Master/texmf-dist/source/latex/base/ltvers.dtx
+++ b/Master/texmf-dist/source/latex/base/ltvers.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
@@ -93,10 +93,10 @@
%</2ekernel>
%<latexrelease>\edef\latexreleaseversion
%<*2ekernel|latexrelease>
- {2015/10/01}
+ {2016/02/01}
%</2ekernel|latexrelease>
%<*2ekernel>
-\def\patch@level{2}
+\def\patch@level{0}
% \end{macrocode}
% \end{macro}
% \end{macro}
diff --git a/Master/texmf-dist/source/latex/base/ltxdoc.dtx b/Master/texmf-dist/source/latex/base/ltxdoc.dtx
index c3ba6a64f8b..463c41a3b12 100644
--- a/Master/texmf-dist/source/latex/base/ltxdoc.dtx
+++ b/Master/texmf-dist/source/latex/base/ltxdoc.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/ltxref.dtx b/Master/texmf-dist/source/latex/base/ltxref.dtx
index 9dffd5a51a5..bf6a9cef2e2 100644
--- a/Master/texmf-dist/source/latex/base/ltxref.dtx
+++ b/Master/texmf-dist/source/latex/base/ltxref.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/makeindx.dtx b/Master/texmf-dist/source/latex/base/makeindx.dtx
index 9175f892c9d..26a56fe4fa2 100644
--- a/Master/texmf-dist/source/latex/base/makeindx.dtx
+++ b/Master/texmf-dist/source/latex/base/makeindx.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/makeindx.ins b/Master/texmf-dist/source/latex/base/makeindx.ins
index 6ec8addb0d3..c6d10d3e02f 100644
--- a/Master/texmf-dist/source/latex/base/makeindx.ins
+++ b/Master/texmf-dist/source/latex/base/makeindx.ins
@@ -3,7 +3,7 @@
%% driver files from the doc files in this package when run through
%% LaTeX or TeX.
%%
-%% Copyright 1993-2015
+%% Copyright 1993-2016
%% The LaTeX3 Project and any individual authors listed elsewhere
%% in this file.
%%
@@ -45,7 +45,7 @@ reports for it can be opened at http://latex-project.org/bugs.html
(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.
diff --git a/Master/texmf-dist/source/latex/base/newdc.ins b/Master/texmf-dist/source/latex/base/newdc.ins
index 1fd459fd483..d6f749e7098 100644
--- a/Master/texmf-dist/source/latex/base/newdc.ins
+++ b/Master/texmf-dist/source/latex/base/newdc.ins
@@ -3,7 +3,7 @@
%% driver files from the doc files in this package when run through
%% LaTeX or TeX.
%%
-%% Copyright 1993-2015
+%% Copyright 1993-2016
%% The LaTeX3 Project and any individual authors listed elsewhere
%% in this file.
%%
@@ -45,7 +45,7 @@ reports for it can be opened at http://latex-project.org/bugs.html
(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.
diff --git a/Master/texmf-dist/source/latex/base/newlfont.dtx b/Master/texmf-dist/source/latex/base/newlfont.dtx
index 3494a590146..3f12f605753 100644
--- a/Master/texmf-dist/source/latex/base/newlfont.dtx
+++ b/Master/texmf-dist/source/latex/base/newlfont.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/nfssfont.dtx b/Master/texmf-dist/source/latex/base/nfssfont.dtx
index 17adf275061..05c2f0e00b8 100644
--- a/Master/texmf-dist/source/latex/base/nfssfont.dtx
+++ b/Master/texmf-dist/source/latex/base/nfssfont.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/nfssfont.ins b/Master/texmf-dist/source/latex/base/nfssfont.ins
index 28f1c915a2d..cd11a5466e1 100644
--- a/Master/texmf-dist/source/latex/base/nfssfont.ins
+++ b/Master/texmf-dist/source/latex/base/nfssfont.ins
@@ -3,7 +3,7 @@
%% driver files from the doc files in this package when run through
%% LaTeX or TeX.
%%
-%% Copyright 1993-2015
+%% Copyright 1993-2016
%% The LaTeX3 Project and any individual authors listed elsewhere
%% in this file.
%%
@@ -45,7 +45,7 @@ reports for it can be opened at http://latex-project.org/bugs.html
(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.
diff --git a/Master/texmf-dist/source/latex/base/olddc.ins b/Master/texmf-dist/source/latex/base/olddc.ins
index 03ae76d94a2..1ccb0d2ad1a 100644
--- a/Master/texmf-dist/source/latex/base/olddc.ins
+++ b/Master/texmf-dist/source/latex/base/olddc.ins
@@ -3,7 +3,7 @@
%% driver files from the doc files in this package when run through
%% LaTeX or TeX.
%%
-%% Copyright 1993-2015
+%% Copyright 1993-2016
%% The LaTeX3 Project and any individual authors listed elsewhere
%% in this file.
%%
@@ -45,7 +45,7 @@ reports for it can be opened at http://latex-project.org/bugs.html
(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.
diff --git a/Master/texmf-dist/source/latex/base/oldlfont.dtx b/Master/texmf-dist/source/latex/base/oldlfont.dtx
index 5d6baba0aab..c7ca4a93c2b 100644
--- a/Master/texmf-dist/source/latex/base/oldlfont.dtx
+++ b/Master/texmf-dist/source/latex/base/oldlfont.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/preload.dtx b/Master/texmf-dist/source/latex/base/preload.dtx
index e2b3f652f72..48d09d759c8 100644
--- a/Master/texmf-dist/source/latex/base/preload.dtx
+++ b/Master/texmf-dist/source/latex/base/preload.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/proc.dtx b/Master/texmf-dist/source/latex/base/proc.dtx
index 2796268516c..eae2ce33537 100644
--- a/Master/texmf-dist/source/latex/base/proc.dtx
+++ b/Master/texmf-dist/source/latex/base/proc.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/proc.ins b/Master/texmf-dist/source/latex/base/proc.ins
index 7d7e94e8ea1..24759b8cf6e 100644
--- a/Master/texmf-dist/source/latex/base/proc.ins
+++ b/Master/texmf-dist/source/latex/base/proc.ins
@@ -3,7 +3,7 @@
%% driver files from the doc files in this package when run through
%% LaTeX or TeX.
%%
-%% Copyright 1993-2015
+%% Copyright 1993-2016
%% The LaTeX3 Project and any individual authors listed elsewhere
%% in this file.
%%
@@ -45,7 +45,7 @@ reports for it can be opened at http://latex-project.org/bugs.html
(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.
diff --git a/Master/texmf-dist/source/latex/base/slides.dtx b/Master/texmf-dist/source/latex/base/slides.dtx
index 4d24c97b3a9..463e86352c1 100644
--- a/Master/texmf-dist/source/latex/base/slides.dtx
+++ b/Master/texmf-dist/source/latex/base/slides.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/slides.ins b/Master/texmf-dist/source/latex/base/slides.ins
index 5d528f5a8cb..5d180556215 100644
--- a/Master/texmf-dist/source/latex/base/slides.ins
+++ b/Master/texmf-dist/source/latex/base/slides.ins
@@ -3,7 +3,7 @@
%% driver files from the doc files in this package when run through
%% LaTeX or TeX.
%%
-%% Copyright 1993-2015
+%% Copyright 1993-2016
%% The LaTeX3 Project and any individual authors listed elsewhere
%% in this file.
%%
@@ -45,7 +45,7 @@ reports for it can be opened at http://latex-project.org/bugs.html
(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.
@@ -93,7 +93,7 @@ extension .ins) which are part of the distribution.
This is a generated file.
-Copyright 1993-2015
+Copyright 1993-2016
The LaTeX3 Project and any individual authors listed elsewhere
in this file.
@@ -135,7 +135,7 @@ reports for it can be opened at http://latex-project.org/bugs.html
(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.
diff --git a/Master/texmf-dist/source/latex/base/slifonts.fdd b/Master/texmf-dist/source/latex/base/slifonts.fdd
index 9b116247264..2915e2621bf 100644
--- a/Master/texmf-dist/source/latex/base/slifonts.fdd
+++ b/Master/texmf-dist/source/latex/base/slifonts.fdd
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/syntonly.dtx b/Master/texmf-dist/source/latex/base/syntonly.dtx
index 785cb45e5b7..a69cc38efaf 100644
--- a/Master/texmf-dist/source/latex/base/syntonly.dtx
+++ b/Master/texmf-dist/source/latex/base/syntonly.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
diff --git a/Master/texmf-dist/source/latex/base/syntonly.ins b/Master/texmf-dist/source/latex/base/syntonly.ins
index bcfc653e71c..bf4013f5617 100644
--- a/Master/texmf-dist/source/latex/base/syntonly.ins
+++ b/Master/texmf-dist/source/latex/base/syntonly.ins
@@ -3,7 +3,7 @@
%% driver files from the doc files in this package when run through
%% LaTeX or TeX.
%%
-%% Copyright 1993-2015
+%% Copyright 1993-2016
%% The LaTeX3 Project and any individual authors listed elsewhere
%% in this file.
%%
@@ -45,7 +45,7 @@ reports for it can be opened at http://latex-project.org/bugs.html
(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.
diff --git a/Master/texmf-dist/source/latex/base/utf8ienc.dtx b/Master/texmf-dist/source/latex/base/utf8ienc.dtx
index 0c12a5d211b..19158952c48 100644
--- a/Master/texmf-dist/source/latex/base/utf8ienc.dtx
+++ b/Master/texmf-dist/source/latex/base/utf8ienc.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2015
+% Copyright 1993-2016
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
@@ -47,7 +47,7 @@
%</driver>
% \fi
%
-% \CheckSum{1361}
+% \CheckSum{1518}
%
% \newpage
%
@@ -219,7 +219,7 @@
%<+ts1> \ProvidesFile{ts1enc.dfu}
%<+x2> \ProvidesFile{x2enc.dfu}
%<+all> \ProvidesFile{utf8enc.dfu}
- [2015/09/07 v1.1p UTF-8 support for inputenc]
+ [2015/12/03 v1.1r UTF-8 support for inputenc]
% \end{macrocode}
%
% \begin{macrocode}
@@ -837,6 +837,9 @@
% There are few notes about inconsistencies etc at the end of the table.
%
% \changes{v1.1o}{2015/08/28}{Add U+00A0 and U+00AD}
+% \changes{v1.1q}{2015/12/02}{Add remaining latin uses of accents in T1}
+% \changes{v1.1r}{2015/12/03}{Add some more ogoneck cases}
+% \changes{v1.1s}{2016/01/11}{Add some more caron and acute}
% \begin{macrocode}
%<all,t1,ot1,ly1>\DeclareUnicodeCharacter{00A0}{\nobreakspace}
%<all,t1,ot1,ly1>\DeclareUnicodeCharacter{00A1}{\textexclamdown}
@@ -938,50 +941,94 @@
%<all,t1,ly1>\DeclareUnicodeCharacter{00FD}{\@tabacckludge'y}
%<all,t1,ly1>\DeclareUnicodeCharacter{00FE}{\th}
%<all,t1,ly1>\DeclareUnicodeCharacter{00FF}{\"y}
+%<all,t1>\DeclareUnicodeCharacter{0100}{\@tabacckludge=A}
+%<all,t1>\DeclareUnicodeCharacter{0101}{\@tabacckludge=a}
%<all,t1>\DeclareUnicodeCharacter{0102}{\u A}
%<all,t1>\DeclareUnicodeCharacter{0103}{\u a}
%<all,t1>\DeclareUnicodeCharacter{0104}{\k A}
%<all,t1>\DeclareUnicodeCharacter{0105}{\k a}
%<all,t1>\DeclareUnicodeCharacter{0106}{\@tabacckludge'C}
%<all,t1>\DeclareUnicodeCharacter{0107}{\@tabacckludge'c}
+%<all,t1>\DeclareUnicodeCharacter{0108}{\^C}
+%<all,t1>\DeclareUnicodeCharacter{0109}{\^c}
+%<all,t1>\DeclareUnicodeCharacter{010A}{\.C}
+%<all,t1>\DeclareUnicodeCharacter{010B}{\.c}
%<all,t1>\DeclareUnicodeCharacter{010C}{\v C}
%<all,t1>\DeclareUnicodeCharacter{010D}{\v c}
%<all,t1>\DeclareUnicodeCharacter{010E}{\v D}
%<all,t1>\DeclareUnicodeCharacter{010F}{\v d}
%<all,t1>\DeclareUnicodeCharacter{0110}{\DJ}
%<all,t1>\DeclareUnicodeCharacter{0111}{\dj}
+%<all,t1>\DeclareUnicodeCharacter{0112}{\@tabacckludge=E}
+%<all,t1>\DeclareUnicodeCharacter{0113}{\@tabacckludge=e}
+%<all,t1>\DeclareUnicodeCharacter{0114}{\u E}
+%<all,t1>\DeclareUnicodeCharacter{0115}{\u e}
+%<all,t1>\DeclareUnicodeCharacter{0116}{\.E}
+%<all,t1>\DeclareUnicodeCharacter{0117}{\.e}
%<all,t1>\DeclareUnicodeCharacter{0118}{\k E}
%<all,t1>\DeclareUnicodeCharacter{0119}{\k e}
%<all,t1>\DeclareUnicodeCharacter{011A}{\v E}
%<all,t1>\DeclareUnicodeCharacter{011B}{\v e}
+%<all,t1>\DeclareUnicodeCharacter{011C}{\^G}
+%<all,t1>\DeclareUnicodeCharacter{011D}{\^g}
%<all,t1>\DeclareUnicodeCharacter{011E}{\u G}
%<all,t1>\DeclareUnicodeCharacter{011F}{\u g}
+%<all,t1>\DeclareUnicodeCharacter{0120}{\.G}
+%<all,t1>\DeclareUnicodeCharacter{0121}{\.g}
+%<all,t1>\DeclareUnicodeCharacter{0122}{\c G}
+%<all,t1>\DeclareUnicodeCharacter{0123}{\c g}
+%<all,t1>\DeclareUnicodeCharacter{0124}{\^H}
+%<all,t1>\DeclareUnicodeCharacter{0125}{\^h}
+%<all,t1>\DeclareUnicodeCharacter{0128}{\~I}
+%<all,t1>\DeclareUnicodeCharacter{0129}{\~\i}
+%<all,t1>\DeclareUnicodeCharacter{012A}{\@tabacckludge=I}
+%<all,t1>\DeclareUnicodeCharacter{012B}{\@tabacckludge=\i}
+%<all,t1>\DeclareUnicodeCharacter{012C}{\u I}
+%<all,t1>\DeclareUnicodeCharacter{012D}{\u\i}
+%<all,t1>\DeclareUnicodeCharacter{012E}{\k I}
+%<all,t1>\DeclareUnicodeCharacter{012F}{\k\i}
%<all,t1>\DeclareUnicodeCharacter{0130}{\.I}
%<all,t2c,t2b,t2a,t1,ot2,ot1,ly1,lcy>\DeclareUnicodeCharacter{0131}{\i}
%<all,t1>\DeclareUnicodeCharacter{0132}{\IJ}
%<all,t1>\DeclareUnicodeCharacter{0133}{\ij}
+%<all,t1>\DeclareUnicodeCharacter{0134}{\^J}
+%<all,t1>\DeclareUnicodeCharacter{0135}{\^\j}
+%<all,t1>\DeclareUnicodeCharacter{0136}{\c K}
+%<all,t1>\DeclareUnicodeCharacter{0137}{\c k}
%<all,t1>\DeclareUnicodeCharacter{0139}{\@tabacckludge'L}
%<all,t1>\DeclareUnicodeCharacter{013A}{\@tabacckludge'l}
+%<all,t1>\DeclareUnicodeCharacter{013B}{\c L}
+%<all,t1>\DeclareUnicodeCharacter{013C}{\c l}
%<all,t1>\DeclareUnicodeCharacter{013D}{\v L}
%<all,t1>\DeclareUnicodeCharacter{013E}{\v l}
%<all,t1,ot1,ly1>\DeclareUnicodeCharacter{0141}{\L}
%<all,t1,ot1,ly1>\DeclareUnicodeCharacter{0142}{\l}
%<all,t1>\DeclareUnicodeCharacter{0143}{\@tabacckludge'N}
%<all,t1>\DeclareUnicodeCharacter{0144}{\@tabacckludge'n}
+%<all,t1>\DeclareUnicodeCharacter{0145}{\c N}
+%<all,t1>\DeclareUnicodeCharacter{0146}{\c n}
%<all,t1>\DeclareUnicodeCharacter{0147}{\v N}
%<all,t1>\DeclareUnicodeCharacter{0148}{\v n}
%<all,t1>\DeclareUnicodeCharacter{014A}{\NG}
%<all,t1>\DeclareUnicodeCharacter{014B}{\ng}
+%<all,t1>\DeclareUnicodeCharacter{014C}{\@tabacckludge=O}
+%<all,t1>\DeclareUnicodeCharacter{014D}{\@tabacckludge=o}
+%<all,t1>\DeclareUnicodeCharacter{014E}{\u O}
+%<all,t1>\DeclareUnicodeCharacter{014F}{\u o}
%<all,t1>\DeclareUnicodeCharacter{0150}{\H O}
%<all,t1>\DeclareUnicodeCharacter{0151}{\H o}
%<all,t1,ot1,ly1,lcy>\DeclareUnicodeCharacter{0152}{\OE}
%<all,t1,ot1,ly1,lcy>\DeclareUnicodeCharacter{0153}{\oe}
%<all,t1>\DeclareUnicodeCharacter{0154}{\@tabacckludge'R}
%<all,t1>\DeclareUnicodeCharacter{0155}{\@tabacckludge'r}
+%<all,t1>\DeclareUnicodeCharacter{0156}{\c R}
+%<all,t1>\DeclareUnicodeCharacter{0157}{\c r}
%<all,t1>\DeclareUnicodeCharacter{0158}{\v R}
%<all,t1>\DeclareUnicodeCharacter{0159}{\v r}
%<all,t1>\DeclareUnicodeCharacter{015A}{\@tabacckludge'S}
%<all,t1>\DeclareUnicodeCharacter{015B}{\@tabacckludge's}
+%<all,t1>\DeclareUnicodeCharacter{015C}{\^S}
+%<all,t1>\DeclareUnicodeCharacter{015D}{\^s}
%<all,t1>\DeclareUnicodeCharacter{015E}{\c S}
%<all,t1>\DeclareUnicodeCharacter{015F}{\c s}
%<all,t1,ly1>\DeclareUnicodeCharacter{0160}{\v S}
@@ -990,10 +1037,18 @@
%<all,t1>\DeclareUnicodeCharacter{0163}{\c t}
%<all,t1>\DeclareUnicodeCharacter{0164}{\v T}
%<all,t1>\DeclareUnicodeCharacter{0165}{\v t}
+%<all,t1>\DeclareUnicodeCharacter{0168}{\~U}
+%<all,t1>\DeclareUnicodeCharacter{0169}{\~u}
+%<all,t1>\DeclareUnicodeCharacter{016A}{\@tabacckludge=U}
+%<all,t1>\DeclareUnicodeCharacter{016B}{\@tabacckludge=u}
+%<all,t1>\DeclareUnicodeCharacter{016C}{\u U}
+%<all,t1>\DeclareUnicodeCharacter{016D}{\u u}
%<all,t1>\DeclareUnicodeCharacter{016E}{\r U}
%<all,t1>\DeclareUnicodeCharacter{016F}{\r u}
%<all,t1>\DeclareUnicodeCharacter{0170}{\H U}
%<all,t1>\DeclareUnicodeCharacter{0171}{\H u}
+%<all,t1>\DeclareUnicodeCharacter{0172}{\k U}
+%<all,t1>\DeclareUnicodeCharacter{0173}{\k u}
% \end{macrocode}
%
% \changes{v1.1p}{2015/09/07}{Welsh circumflex combinations}
@@ -1011,6 +1066,30 @@
%<all,t1,ly1>\DeclareUnicodeCharacter{017E}{\v z}
%<all,ts1,ly1>\DeclareUnicodeCharacter{0192}{\textflorin}
% \end{macrocode}
+% \changes{v1.1s}{2016/01/11}{add 01CD-01F4}
+% \begin{macrocode}
+%<all,t1>\DeclareUnicodeCharacter{01CD}{\v A}
+%<all,t1>\DeclareUnicodeCharacter{01CE}{\v a}
+%<all,t1>\DeclareUnicodeCharacter{01CF}{\v I}
+%<all,t1>\DeclareUnicodeCharacter{01D0}{\v \i}
+%<all,t1>\DeclareUnicodeCharacter{01D1}{\v O}
+%<all,t1>\DeclareUnicodeCharacter{01D2}{\v o}
+%<all,t1>\DeclareUnicodeCharacter{01D3}{\v U}
+%<all,t1>\DeclareUnicodeCharacter{01D4}{\v u}
+%<all,t1>\DeclareUnicodeCharacter{01E2}{\@tabacckludge=\AE}
+%<all,t1>\DeclareUnicodeCharacter{01E3}{\@tabacckludge=\ae}
+%<all,t1>\DeclareUnicodeCharacter{01E6}{\v G}
+%<all,t1>\DeclareUnicodeCharacter{01E7}{\v g}
+%<all,t1>\DeclareUnicodeCharacter{01E8}{\v K}
+%<all,t1>\DeclareUnicodeCharacter{01E9}{\v k}
+%<all,t1>\DeclareUnicodeCharacter{01EA}{\k O}
+%<all,t1>\DeclareUnicodeCharacter{01EB}{\k o}
+%<all,t1>\DeclareUnicodeCharacter{01F0}{\v\j}
+%<all,t1>\DeclareUnicodeCharacter{01F4}{\@tabacckludge'G}
+% \end{macrocode}
+% \begin{macrocode}
+%<all,t1>\DeclareUnicodeCharacter{01F5}{\@tabacckludge'g}
+
%
% \changes{v1.1o}{2015/08/28}{comma accent latex/4414}
% \begin{macrocode}
@@ -1288,8 +1367,8 @@
%<all,x2,t2c,t2b,t2a,ot2,lcy>\DeclareUnicodeCharacter{04DF}{\"\cyrz}
%<all,x2,t2c,t2b>\DeclareUnicodeCharacter{04E0}{\CYRABHDZE}
%<all,x2,t2c,t2b>\DeclareUnicodeCharacter{04E1}{\cyrabhdze}
-%<all,x2,t2c,t2b,t2a,ot2,lcy>\DeclareUnicodeCharacter{04E2}{\=\CYRI}
-%<all,x2,t2c,t2b,t2a,ot2,lcy>\DeclareUnicodeCharacter{04E3}{\=\cyri}
+%<all,x2,t2c,t2b,t2a,ot2,lcy>\DeclareUnicodeCharacter{04E2}{\@tabacckludge=\CYRI}
+%<all,x2,t2c,t2b,t2a,ot2,lcy>\DeclareUnicodeCharacter{04E3}{\@tabacckludge=\cyri}
%<all,x2,t2c,t2b,t2a,ot2,lcy>\DeclareUnicodeCharacter{04E4}{\"\CYRI}
%<all,x2,t2c,t2b,t2a,ot2,lcy>\DeclareUnicodeCharacter{04E5}{\"\cyri}
%<all,x2,t2c,t2b,t2a,ot2,lcy>\DeclareUnicodeCharacter{04E6}{\"\CYRO}
@@ -1298,8 +1377,8 @@
%<all,x2,t2c,t2b,t2a>\DeclareUnicodeCharacter{04E9}{\cyrotld}
%<all,x2,t2c,t2b,t2a,ot2,lcy>\DeclareUnicodeCharacter{04EC}{\"\CYREREV}
%<all,x2,t2c,t2b,t2a,ot2,lcy>\DeclareUnicodeCharacter{04ED}{\"\cyrerev}
-%<all,x2,t2c,t2b,t2a,ot2,lcy>\DeclareUnicodeCharacter{04EE}{\=\CYRU}
-%<all,x2,t2c,t2b,t2a,ot2,lcy>\DeclareUnicodeCharacter{04EF}{\=\cyru}
+%<all,x2,t2c,t2b,t2a,ot2,lcy>\DeclareUnicodeCharacter{04EE}{\@tabacckludge=\CYRU}
+%<all,x2,t2c,t2b,t2a,ot2,lcy>\DeclareUnicodeCharacter{04EF}{\@tabacckludge=\cyru}
%<all,x2,t2c,t2b,t2a,ot2,lcy>\DeclareUnicodeCharacter{04F0}{\"\CYRU}
%<all,x2,t2c,t2b,t2a,ot2,lcy>\DeclareUnicodeCharacter{04F1}{\"\cyru}
%<all,x2,t2c,t2b,t2a,ot2,lcy>\DeclareUnicodeCharacter{04F2}{\H\CYRU}
@@ -1317,6 +1396,8 @@
%<all,t2b>\DeclareUnicodeCharacter{04FE}{\CYRHHCRS}
%<all,t2b>\DeclareUnicodeCharacter{04FF}{\cyrhhcrs}
%<all,ts1>\DeclareUnicodeCharacter{0E3F}{\textbaht}
+%<all,t1>\DeclareUnicodeCharacter{01E02}{\.B}
+%<all,t1>\DeclareUnicodeCharacter{01E03}{\.b}
%<all,x2,t2c,t2b,t2a,t1,utf8>\DeclareUnicodeCharacter{200C}{\textcompwordmark}
%<*all,x2,t2c,t2b,t2a,t1,ot2,ot1,ly1,lcy>
\DeclareUnicodeCharacter{2013}{\textendash}