summaryrefslogtreecommitdiff
path: root/texmf-dist/tex/generic/harftex/harfload.sty
diff options
context:
space:
mode:
Diffstat (limited to 'texmf-dist/tex/generic/harftex/harfload.sty')
-rw-r--r--texmf-dist/tex/generic/harftex/harfload.sty14
1 files changed, 14 insertions, 0 deletions
diff --git a/texmf-dist/tex/generic/harftex/harfload.sty b/texmf-dist/tex/generic/harftex/harfload.sty
new file mode 100644
index 00000000..ae85ab31
--- /dev/null
+++ b/texmf-dist/tex/generic/harftex/harfload.sty
@@ -0,0 +1,14 @@
+\csname ifharfloadloaded\endcsname
+\let\ifharfloadloaded\endinput
+\ifdefined\ProvidesPackage
+ \RequirePackage{luaotfload}
+ \ProvidesPackage{harfload}[2019/04/26 v0.1.0 Unicode text layout system]
+\else
+ \input luaotfload.sty
+\fi
+\directlua{
+ if not xpcall(function() require('harf-luaotfload.lua') end,
+ texio.write_nl) then
+ texio.write_nl('Error in harfload - loading aborted')
+ end
+}