[latex3-commits] [l3svn] 01/02: l3build: Move one LuaTeX-specific correction
noreply at latex-project.org
noreply at latex-project.org
Fri Jan 1 16:51:23 CET 2016
This is an automated email from the git hooks/post-receive script.
joseph pushed a commit to branch master
in repository l3svn.
commit 578731fe14e85b556e1be718ec1cbe707f4a360f
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Fri Jan 1 14:41:49 2016 +0000
l3build: Move one LuaTeX-specific correction
---
l3build/l3build.lua | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/l3build/l3build.lua b/l3build/l3build.lua
index 50408df..76a1495 100644
--- a/l3build/l3build.lua
+++ b/l3build/l3build.lua
@@ -816,11 +816,9 @@ function formatlog(logfile, newfile, engine)
end
-- Remove 'normal' direction information on boxes with (u)pTeX
line = string.gsub(line, ",? yoko direction,?", "")
- -- A tidy-up to keep LuaTeX and other engines in sync
- local utf8_char = unicode.utf8.char
- line = string.gsub(line, utf8_char(127), "^^?")
-- Unicode engines display chars in the upper half of the 8-bit range:
-- tidy up to match pdfTeX if an ASCII engine is in use
+ local utf8_char = unicode.utf8.char
if next(asciiengines) then
for i = 128, 255 do
line = string.gsub(line, utf8_char(i), "^^" .. string.format("%02x", i))
@@ -901,6 +899,8 @@ function formatlualog(logfile, newfile)
end
-- LuaTeX writes ^^M as a new line, which we lose
line = string.gsub(line, "%^%^M", "")
+ -- A tidy-up to keep LuaTeX and other engines in sync
+ line = string.gsub(line, unicode.utf8.char(127), "^^?")
-- Remove U+ notation in the "Missing character" message
line = string.gsub(
line,
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the latex3-commits
mailing list