diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/fontspec-luatex.4ht')
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/fontspec-luatex.4ht | 15 |
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 + |