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

fix for two-nybble codepoints

parent d41f0c0f
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/08/05 1.2 Domino for unknown codepoints]%
\ProvidesPackage{unicodedomino}[2018/08/05 1.3~ Domino for unknown codepoints]%
\makeatletter%
\ifx\numexpr\@undefined%
......@@ -44,9 +44,11 @@
U-000%
\else\ifnum#1>4095%
U+%
\else%
\else\ifnum#1>255%
U+0%
\fi\fi%
\else%
U+00%
\fi\fi\fi%
\expandafter\UTFviii@hexnumber\expandafter{#1}%
}%
......@@ -85,6 +87,7 @@
\def\unicodedomino@hex@ll#1{%
\ifnum#1<65536 0.\fi%
\ifnum#1<4096 0.\fi%
\ifnum#1<256 0.\fi%
\expandafter\unicodedomino@hex@ne\expandafter{#1}%
}%
% call the appropriate box function
......
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