diff options
Diffstat (limited to 'tex/context/base/char-tex.lua')
-rw-r--r-- | tex/context/base/char-tex.lua | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/tex/context/base/char-tex.lua b/tex/context/base/char-tex.lua index a9a760c7a..3aba53986 100644 --- a/tex/context/base/char-tex.lua +++ b/tex/context/base/char-tex.lua @@ -18,8 +18,6 @@ local P, C, R, S, V, Cs, Cc = lpeg.P, lpeg.C, lpeg.R, lpeg.S, lpeg.V, lpeg.Cs, l local lpegpatterns = lpeg.patterns local lpegmatch = lpeg.match -local utf8byte = lpegpatterns.utf8byte -local utf8char = lpegpatterns.utf8char local utfchartabletopattern = lpeg.utfchartabletopattern local allocate = utilities.storage.allocate @@ -44,19 +42,6 @@ local trace_defining = false trackers.register("characters.defining", fu local report_defining = logs.reporter("characters") - - - - - - - - - - - - - --[[ldx-- <p>In order to deal with 8-bit output, we need to find a way to go from <l n='utf'/> to 8-bit. This is handled in the <l n='luatex'/> engine itself.</p> @@ -426,6 +411,11 @@ function texcharacters.defineaccents() end end +if not context or not commands then + -- used in e.g. mtx-bibtex + return +end + -- all kind of initializations local tex = tex |