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

make this work on Debian jessie / TL 2014

parent 327b63a5
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/06 1.6 Domino for unknown codepoints]%
\ProvidesPackage{unicodedomino}[2018/08/06 1.7 Domino for unknown codepoints]%
\makeatletter%
\ifx\numexpr\@undefined%
......
......@@ -20,6 +20,28 @@
%-
% Compatibility code with older utf8.def versions
% added in release 2015/01/01
\ifx\textsubscript\@undefined%
\RequirePackage{fixltx2e}%
\fi%
% added in v1.1o 2015/08/28
\ifx\UTFviii@hexnumber\@undefined%
% taken from utf8ienc.dtx, no claim on the code but it’s really trivial
\gdef\UTFviii@hexnumber#1{%
\ifnum#1>15 %
\expandafter\UTFviii@hexnumber\expandafter{\the\numexpr(#1-8)/16\relax}%
\fi%
\UTFviii@hexdigit{\numexpr#1\ifnum#1>0-((#1-8)/16)*16\fi\relax}%
}%
\gdef\UTFviii@hexdigit#1{%
\ifcase\numexpr#1\relax%
0\or1\or2\or3\or4\or5\or6\or7\or8\or9\or%
A\or B\or C\or D\or E\or F%
\fi%
}%
\fi%
% added in v1.2a 2018/03/24
\ifx\UTFviii@invalid@help\@undefined%
\def\UTFviii@invalid@help{%
......
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