summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/tex4ht/fontspec-luatex.4ht
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-12-09 00:59:23 +0000
committerKarl Berry <karl@freefriends.org>2016-12-09 00:59:23 +0000
commit438ebe1713d2fa77faf62b8bc742dcda69b8d4db (patch)
treeef08c599f418bdeda6b29af2c8db68ec66f228f9 /Master/texmf-dist/tex/generic/tex4ht/fontspec-luatex.4ht
parent1fadcb4880650da2921edf82249f2b889269c9e7 (diff)
fontspec support, tex4ht r205 r210 et al., https://puszcza.gnu.org.ua/bugs/?123
git-svn-id: svn://tug.org/texlive/trunk@42654 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/fontspec-luatex.4ht')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/fontspec-luatex.4ht15
1 files changed, 15 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/fontspec-luatex.4ht b/Master/texmf-dist/tex/generic/tex4ht/fontspec-luatex.4ht
new file mode 100644
index 00000000000..167ebab230b
--- /dev/null
+++ b/Master/texmf-dist/tex/generic/tex4ht/fontspec-luatex.4ht
@@ -0,0 +1,15 @@
+% fontspec-luatex.4ht, generated from tex4ht-4ht.tex
+% Copyright 2016 TeX Users Group
+% Copyright 2009-2016 TeX Users Group
+
+\RequirePackage{luatexbase}
+\RequirePackage{luacode}
+
+\begin{luacode*}
+ local fontspec = require "fontspec-4ht"
+ luatexbase.add_to_callback("pre_linebreak_filter", fontspec.char_to_entity, "Char to entity")
+ luatexbase.add_to_callback("hpack_filter", fontspec.char_to_entity, "hpack-char-to-entity")
+\end{luacode*}
+\Hinput{fontspec-luatex}
+\endinput
+