texlive[42311] Master/texmf-dist: l3build (20oct16)
commits+karl at tug.org
commits+karl at tug.org
Thu Oct 20 23:58:18 CEST 2016
Revision: 42311
http://tug.org/svn/texlive?view=revision&revision=42311
Author: karl
Date: 2016-10-20 23:58:18 +0200 (Thu, 20 Oct 2016)
Log Message:
-----------
l3build (20oct16)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/l3build/README.md
trunk/Master/texmf-dist/doc/latex/l3build/l3build.pdf
trunk/Master/texmf-dist/source/latex/l3build/l3build.dtx
trunk/Master/texmf-dist/tex/latex/l3build/l3build.lua
trunk/Master/texmf-dist/tex/latex/l3build/regression-test.tex
Modified: trunk/Master/texmf-dist/doc/latex/l3build/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/l3build/README.md 2016-10-20 21:56:15 UTC (rev 42310)
+++ trunk/Master/texmf-dist/doc/latex/l3build/README.md 2016-10-20 21:58:18 UTC (rev 42311)
@@ -1,7 +1,7 @@
l3build: a testing and building system for LaTeX3
=================================================
-Release 2016/06/22 (r6641)
+Release 2016/10/19 (r6730)
Overview
--------
Modified: trunk/Master/texmf-dist/doc/latex/l3build/l3build.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/l3build/l3build.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/l3build/l3build.dtx 2016-10-20 21:56:15 UTC (rev 42310)
+++ trunk/Master/texmf-dist/source/latex/l3build/l3build.dtx 2016-10-20 21:58:18 UTC (rev 42311)
@@ -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}
%
Modified: trunk/Master/texmf-dist/tex/latex/l3build/l3build.lua
===================================================================
--- trunk/Master/texmf-dist/tex/latex/l3build/l3build.lua 2016-10-20 21:56:15 UTC (rev 42310)
+++ trunk/Master/texmf-dist/tex/latex/l3build/l3build.lua 2016-10-20 21:58:18 UTC (rev 42311)
@@ -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 @@
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 @@
end
local release = ""
if optrelease then
- release = " --release=" .. release[1]
+ release = " --release=" .. optrelease[1]
end
local errorlevel = run(
i,
@@ -792,8 +792,19 @@
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 @@
-- 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 @@
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 @@
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 @@
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, ""
Modified: trunk/Master/texmf-dist/tex/latex/l3build/regression-test.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/l3build/regression-test.tex 2016-10-20 21:56:15 UTC (rev 42310)
+++ trunk/Master/texmf-dist/tex/latex/l3build/regression-test.tex 2016-10-20 21:58:18 UTC (rev 42311)
@@ -56,7 +56,7 @@
\unprotect
\def\reset at catcodes{\protect}%
\fi
-\scrollmode
+\ifnum\interactionmode>1 \scrollmode\fi
\errorcontextlines=-1 %
\showboxbreadth=\maxdimen
\showboxdepth=\maxdimen
More information about the tex-live-commits
mailing list