summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/l3kernel/l3luatex.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-01-31 22:14:18 +0000
committerKarl Berry <karl@freefriends.org>2020-01-31 22:14:18 +0000
commit527bf264c6238978f19cb55441245c6c68aa4ee5 (patch)
tree808e961e46d78e9682a4d9d01ce692c80c0d6093 /Master/texmf-dist/source/latex/l3kernel/l3luatex.dtx
parentffcfa7a52180e1be3e81d0e0c4ce442e4bc1de02 (diff)
l3kernel (31jan20)
git-svn-id: svn://tug.org/texlive/trunk@53618 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/l3luatex.dtx')
-rw-r--r--Master/texmf-dist/source/latex/l3kernel/l3luatex.dtx7
1 files changed, 4 insertions, 3 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/l3luatex.dtx b/Master/texmf-dist/source/latex/l3kernel/l3luatex.dtx
index 76e8fbf1065..14e94a1a24e 100644
--- a/Master/texmf-dist/source/latex/l3kernel/l3luatex.dtx
+++ b/Master/texmf-dist/source/latex/l3kernel/l3luatex.dtx
@@ -43,7 +43,7 @@
% }^^A
% }
%
-% \date{Released 2020-01-22}
+% \date{Released 2020-01-31}
%
% \maketitle
%
@@ -354,9 +354,10 @@ local write = tex.write
local write_nl = texio.write_nl
% \end{macrocode}
%
-% Newer Con\TeX{}t releases replace the |unicode| library by |utf|.
+% Newer Con\TeX{}t releases replace the |unicode| library by |utf| and
+% since Lua 5.3 we can even use the Lua standard |utf8| library.
% \begin{macrocode}
-local utf8_char = (utf and utf.char) or unicode.utf8.char
+local utf8_char = (utf8 and utf8.char) or (utf and utf.char) or unicode.utf8.char
% \end{macrocode}
%
% Deal with Con\TeX{}t: doesn't use |kpse| library.