Skip to content
Snippets Groups Projects
Verified Commit 937412b4 authored by mirabilos's avatar mirabilos Committed by mirabilos
Browse files

update submission status

parent 74b093e1
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@
% makes all UTF-8 available in listings.
\NeedsTeXFormat{LaTeX2e}%
\ProvidesPackage{unicodedomino}[2018/10/04 1.8 Domino for unknown codepoints]%
\ProvidesPackage{unicodedomino}[2018/10/06 1.9 Domino for unknown codepoints]%
\makeatletter%
\ifx\numexpr\@undefined%
......
......@@ -5,12 +5,13 @@
%-
% Improved Unicode decoding using the fixed-up checkseq code.
%: entire file (plus UTFviii@checkseq) not submitted yet
%: https://github.com/latex3/latex2e/pull/83
% override stock function, calling safer decode below
\gdef\decode@UTFviii#1\relax{%
\the\numexpr(\UTFviii@decode0:#1\relax)%
}%
%: https://github.com/latex3/latex2e/pull/83
% safer decode, returns 0x1FFFFF for illegal sequences
\gdef\UTFviii@decode#1\relax{%
\if\relax\expandafter\UTFviii@checkseq\string#1\empty\relax%
......@@ -20,6 +21,7 @@
\fi%
}%
%: https://github.com/latex3/latex2e/pull/83
\gdef\UTFviii@dec@lead#1:#2#3\relax{%
% we know #2 is in 00..7F, C2..F4
\ifnum`#2<"80 %
......@@ -38,6 +40,7 @@
\fi%
}%
%: https://github.com/latex3/latex2e/pull/83
\gdef\UTFviii@dec@trail#1#2\relax{%
)*64+(`#1-"80)%
\ifx\relax#2\else\UTFviii@dec@trail#2\relax\fi%
......
......@@ -5,7 +5,7 @@
%-
% Improve error and warning formatting.
%: merged
%: merged, but ifx yet to see
\ifx\UTFviii@check@three\@undefined%
% override message to give the byte in hex
\def\UTFviii@invalid@err#1{%
......
......@@ -7,7 +7,7 @@
% as well as codepoints outside of the Unicode range [0;10FFFF]. Add
% "F4 to the list of permitted lead octets.
%: not forwarded yet, need to do so now (plus unicodedomino_kernel_better_decode.def which is its user)
%: https://github.com/latex3/latex2e/pull/83
% new check for illegal sequences
\gdef\UTFviii@checkseq#1:#2#3\empty{%
\ifnum`#2<"80 %
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment