summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-10-20 21:58:18 +0000
committerKarl Berry <karl@freefriends.org>2016-10-20 21:58:18 +0000
commit5f1524fcdff9993b3c8a7a5cbd344e541eaf315d (patch)
treeb46e6046d31727820792196983e2ff6777669b6a /Master
parentc760c6fb940eb0b42386ff8208d978cd96622f62 (diff)
l3build (20oct16)
git-svn-id: svn://tug.org/texlive/trunk@42311 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/l3build/README.md2
-rw-r--r--Master/texmf-dist/doc/latex/l3build/l3build.pdfbin610585 -> 609526 bytes
-rw-r--r--Master/texmf-dist/source/latex/l3build/l3build.dtx9
-rw-r--r--Master/texmf-dist/tex/latex/l3build/l3build.lua34
-rw-r--r--Master/texmf-dist/tex/latex/l3build/regression-test.tex2
5 files changed, 35 insertions, 12 deletions
diff --git a/Master/texmf-dist/doc/latex/l3build/README.md b/Master/texmf-dist/doc/latex/l3build/README.md
index 76db41baf8f..25e61914e1a 100644
--- a/Master/texmf-dist/doc/latex/l3build/README.md
+++ b/Master/texmf-dist/doc/latex/l3build/README.md
@@ -1,7 +1,7 @@
l3build: a testing and building system for LaTeX3
=================================================
-Release 2016/06/22 (r6641)
+Release 2016/10/19 (r6730)
Overview
--------
diff --git a/Master/texmf-dist/doc/latex/l3build/l3build.pdf b/Master/texmf-dist/doc/latex/l3build/l3build.pdf
index 19baaacebc6..a776bec1b1c 100644
--- a/Master/texmf-dist/doc/latex/l3build/l3build.pdf
+++ b/Master/texmf-dist/doc/latex/l3build/l3build.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/l3build/l3build.dtx b/Master/texmf-dist/source/latex/l3build/l3build.dtx
index 37e5d5e7c6c..5f1f5fb3c54 100644
--- a/Master/texmf-dist/source/latex/l3build/l3build.dtx
+++ b/Master/texmf-dist/source/latex/l3build/l3build.dtx
@@ -39,8 +39,8 @@
\RequirePackage{expl3}
\def\ExplFileName{l3build}
\def\ExplFileDescription{L3 Regression test suite}
-\def\ExplFileDate{2016/06/22}
-\def\ExplFileVersion{6641}
+\def\ExplFileDate{2016/10/19}
+\def\ExplFileVersion{6730}
\documentclass[full]{l3doc}
\renewcommand\partname{Part}
\usepackage{multicol,needspace}
@@ -132,7 +132,7 @@
\luavarset{unpackexe} {"tex"} {Executable for running \texttt{unpack}.}
\luavarset{zipexe} {"zip"} {Executable for creating archive with \texttt{ctan}.}
\luavarseparator
-\luavarset{checkopts} {"-interaction=batchmode"} {Options based to engine when running checks.}
+\luavarset{checkopts} {"-interaction=nonstopmode"}{Options based to engine when running checks.}
\luavarset{cmdchkopts} {"-interaction=batchmode"} {Options based to engine when running command checks.}
\luavarset{typesetopts}{"-interaction=nonstopmode"}{Options based to engine when typesetting.}
\luavarset{unpackopts} {""} {Options based to engine when unpacking.}
@@ -684,6 +684,7 @@
% the following normalisation is applied:
% \begin{itemize}
% \item Removal of additional (unused) |\discretionary| points.
+% \item Normalisation of some |\discretionary| data to a \TeX{}90 form.
% \item Removal of |U+...| notation for missing characters.
% \item Removal of |display| for display math boxes
% (included by \TeX90/\pdfTeX{}/\XeTeX).
@@ -1130,7 +1131,7 @@
% Put \TeX{} into scroll mode, and stop it showing the
% implementation details of macros in error messages.
% \begin{macrocode}
-\scrollmode
+\ifnum\interactionmode>1 \scrollmode\fi
\errorcontextlines=-1 %
% \end{macrocode}
%
diff --git a/Master/texmf-dist/tex/latex/l3build/l3build.lua b/Master/texmf-dist/tex/latex/l3build/l3build.lua
index f6a58a0a1c4..f75a96959be 100644
--- a/Master/texmf-dist/tex/latex/l3build/l3build.lua
+++ b/Master/texmf-dist/tex/latex/l3build/l3build.lua
@@ -17,8 +17,8 @@
--]]
-- Version information: should be identical to that in l3build.dtx
-release_date = "2016/06/22"
-release_ver = "6641"
+release_date = "2016/10/19"
+release_ver = "6730"
-- "module" is a deprecated function in Lua 5.2: as we want the name
-- for other purposes, and it should eventually be 'free', simply
@@ -110,7 +110,7 @@ typesetexe = typesetexe or "pdflatex"
unpackexe = unpackexe or "tex"
zipexe = "zip"
-checkopts = checkopts or "-interaction=batchmode"
+checkopts = checkopts or "-interaction=nonstopmode"
cmdchkopts = cmdchkopts or "-interaction=batchmode"
typesetopts = typesetopts or "-interaction=nonstopmode"
unpackopts = unpackopts or ""
@@ -611,7 +611,7 @@ function allmodules(target)
end
local release = ""
if optrelease then
- release = " --release=" .. release[1]
+ release = " --release=" .. optrelease[1]
end
local errorlevel = run(
i,
@@ -792,8 +792,19 @@ function formatlog(logfile, newfile, engine)
if checksearch then
line = string.gsub(line, "%(.*/([%w-]+%.[%w-]+)%)?%s*$", "(../%1")
end
- -- Zap map loading of map
- line = string.gsub(line, "%{%w?:?[%w/%-]*/pdftex%.map%}", "")
+ -- Deal with the map line: some wrapping then a zap
+ if string.match(lastline, "*pdftex%.map") then
+ print("MAP ELONG")
+ line = lastline .. line
+ lastline = ""
+ end
+ if string.match(line, "%{[^%}]*pdftex%.map%}") then
+ if string.match(line, "pdftex%.map%}%s*%(") and
+ not string.match(line, "%)%s*$") then
+ return "", line
+ end
+ end
+ line = string.gsub(line, "%{[^%}]*/pdftex%.map%}", "")
-- Deal with the fact that "(.aux)" may have still a leading space
line = string.gsub(line, "^ %(%.aux%)", "(.aux)")
-- Merge all of .fd data into one line so will be removed later
@@ -881,6 +892,7 @@ function formatlualog(logfile, newfile)
-- Find \discretionary or \whatsit lines:
-- These may come back later
if string.match(line, "^%.+\\discretionary$") or
+ string.match(line, "^%.+\\discretionary %(penalty 50%)$") or
string.match(line, "^%.+\\discretionary50%|$") or
string.match(line, "^%.+\\discretionary50%| replacing $") or
string.match(line, "^%.+\\whatsit$") then
@@ -891,6 +903,8 @@ function formatlualog(logfile, newfile)
if string.match(line, "^%.+\\mathon$") then
return line, line
end
+ -- LuaTeX has a flexible output box
+ line = string.gsub(line,"\\box\\outputbox", "\\box255")
-- LuaTeX identifies spaceskip glue
line = string.gsub(line,"%(\\spaceskip%) ", " ")
-- Remove 'display' at end of display math boxes:
@@ -934,9 +948,15 @@ function formatlualog(logfile, newfile)
local function boxprefix(s)
return string.gsub(string.match(s, "^(%.+)"), "%.", "%%.")
end
+ -- 'Recover' some discretionary data
+ if string.match(lastline, "^%.+\\discretionary %(penalty 50%)$") and
+ string.match(line, boxprefix(lastline) .. "%.= ") then
+ return string.gsub(line, "%.= ", ""),""
+ end
-- Where the last line was a discretionary, looks for the
-- info one level in about what it represents
if string.match(lastline, "^%.+\\discretionary$") or
+ string.match(lastline, "^%.+\\discretionary %(penalty 50%)$") or
string.match(lastline, "^%.+\\discretionary50%|$") or
string.match(lastline, "^%.+\\discretionary50%| replacing $") then
local prefix = boxprefix(lastline)
@@ -958,6 +978,8 @@ function formatlualog(logfile, newfile)
if string.match(lastline, "^%.+\\discretionary50%|$") then
lastline = string.gsub(lastline, "50%|$", "")
end
+ -- Remove some info that TeX90 lacks
+ lastline = string.gsub(lastline, " %(penalty 50%)$", "")
-- A normal (TeX90) discretionary:
-- add with the line break reintroduced
return lastline .. os_newline .. line, ""
diff --git a/Master/texmf-dist/tex/latex/l3build/regression-test.tex b/Master/texmf-dist/tex/latex/l3build/regression-test.tex
index 7e77b55cdda..3d10ca5e1f8 100644
--- a/Master/texmf-dist/tex/latex/l3build/regression-test.tex
+++ b/Master/texmf-dist/tex/latex/l3build/regression-test.tex
@@ -56,7 +56,7 @@
\unprotect
\def\reset@catcodes{\protect}%
\fi
-\scrollmode
+\ifnum\interactionmode>1 \scrollmode\fi
\errorcontextlines=-1 %
\showboxbreadth=\maxdimen
\showboxdepth=\maxdimen