summaryrefslogtreecommitdiff
path: root/texmf-dist/tex/generic/harftex/harfload.sty
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-05-30 11:46:25 +0900
committerNorbert Preining <norbert@preining.info>2019-05-30 11:46:25 +0900
commit116e75910dd7de0682f578cae0194588286f5079 (patch)
tree19cc108cdc264f90273b85480c06b8fbaa2e5687 /texmf-dist/tex/generic/harftex/harfload.sty
parentbed92c2e7b43679063fc2053728bb4a35b3b3b3d (diff)
add harftex
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
+}