summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/tex4ht/fontspec-luatex.4ht
blob: 167ebab230b40ff5cb074e7193367fa21d379745 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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