Update l3kernel build script to reflect changes in main l3build

As we've renamed things in the standard script, they need to be altered in
any custom scripts too.


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@5276 de43f980-851b-0410-b2f7-c40aca1f87e0
Allow for ConTeXt's handling of some Unicode chars when reading case data

Lua callbacks can be used when reading files: this is done by ConTeXt but
in principle could happen with any LuaTeX code. This can be used to rewrite
chars, which in the case this checking covers means replacing compat chars
with their potentially multi-char equivalent. That's a problem for us as
it can mean that one char turns into two at point of use, which if they are
unbraced can mean that the mapping code used in case changes gets the wrong
number of args and things go wrong.

The fix here is a bit involved: the aim is to end up making as few changes
as possible to the data file, so there are more in the set-up file to enable
this. UnicodeData.txt is read before the string data and all compat chars that
lead to a change in the number of chars are noted. Whenever those cases are
then written to the data file braces are added. The result is that reading back
will always work correctly, Lua callback or not, while in most cases there
are no braces added.


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@5277 de43f980-851b-0410-b2f7-c40aca1f87e0
Some stray spaces zapped


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@5278 de43f980-851b-0410-b2f7-c40aca1f87e0
More stray spaces zapped


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@5279 de43f980-851b-0410-b2f7-c40aca1f87e0
Performance improvement for case changing/folding

As Bruno points out in http://tex.stackexchange.com/a/149760, hash collisions
are rather bad with numbers in control sequence names, so should ideally be
separated by at least three non-numerical chars. Adding these in doesn't
really cost anything and should give a small performance gain.


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@5280 de43f980-851b-0410-b2f7-c40aca1f87e0
Remove broken l3doc test of whether ExplFileDate=-1

This test was broken (missing number) for all valid ExplFileDate.
Now that l3bootstrap sets missing dates to 0000/00/00 there is no
need for l3doc to provide its own default date of 1970/01/01.


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@5281 de43f980-851b-0410-b2f7-c40aca1f87e0
Typo: indentation of two lines in l3format.ins


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@5282 de43f980-851b-0410-b2f7-c40aca1f87e0
Simplify test for leading \#

Instead of a dedicated auxiliary which picks up the first
character in the line and tests for \#, use \tl_head:n.
Despite removing the _auxi_ auxiliary I didn't shift the names
of the _auxii_ and further auxiliaries, to avoid diff noise.


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@5283 de43f980-851b-0410-b2f7-c40aca1f87e0
This box is a coffin: let its name reflect this


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@5284 de43f980-851b-0410-b2f7-c40aca1f87e0
Typos in l3styleguide


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@5285 de43f980-851b-0410-b2f7-c40aca1f87e0
Index uses of \cs and \cmd; use \verbatim@font instead of \texttt

The second change may be a bad idea, but my thinking is that
\verbatim@font takes care of forbidding ligatures (and may be
redefined to a font different from \texttt).


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@5286 de43f980-851b-0410-b2f7-c40aca1f87e0
Add hyperlinks to index entries made by \tn


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@5287 de43f980-851b-0410-b2f7-c40aca1f87e0
Use \cs{...} instead of "..." where appropriate

Also change "..." to |...| and <...> to \meta{...}, to move
towards compliance with l3styleguide.


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@5288 de43f980-851b-0410-b2f7-c40aca1f87e0
Fix \cs in math mode

\texttt works in math mode, but \ttfamily doesn't, so the
change from \texttt to \verbatim@font broke one use of \cs
of the form $\cs{...}...$ in l3fp-aux.dtx.


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@5289 de43f980-851b-0410-b2f7-c40aca1f87e0
Reflow long comments, and misc doc cleanup


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@5290 de43f980-851b-0410-b2f7-c40aca1f87e0
Describe each variable (as far as I can)


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@5291 de43f980-851b-0410-b2f7-c40aca1f87e0
Simplify tracking of nested macro environments

Also, the variable \g_@@_macro_tl was mistakenly \l_@@_macro_tl
despite being altered globally.


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@5292 de43f980-851b-0410-b2f7-c40aca1f87e0
Add a missing value

Presumably, based on the comments, this should be set to -1.


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@5293 de43f980-851b-0410-b2f7-c40aca1f87e0
General code cleanup

Mostly using the l3styleguide indentation.  I probably missed
some stuff, and I didn't know what to do with some mixtures of
LaTeX2e and expl3 code.


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@5294 de43f980-851b-0410-b2f7-c40aca1f87e0
A missing variant


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@5295 de43f980-851b-0410-b2f7-c40aca1f87e0