diff options
author | Hans Hagen <pragma@wxs.nl> | 2018-07-02 16:09:16 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2018-07-02 16:09:16 +0200 |
commit | 847821faaecf92833f1e1564e1ef9377758d4d45 (patch) | |
tree | 7a033668d823e231478c055daeb47c4582883059 /tex/generic/context/luatex/luatex-fonts-gbn.lua | |
parent | 052a096e160508ddbbbfcbf1522eb8ddbfc3b1cd (diff) | |
download | context-847821faaecf92833f1e1564e1ef9377758d4d45.tar.gz |
2018-07-02 14:46:00
Diffstat (limited to 'tex/generic/context/luatex/luatex-fonts-gbn.lua')
-rw-r--r-- | tex/generic/context/luatex/luatex-fonts-gbn.lua | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tex/generic/context/luatex/luatex-fonts-gbn.lua b/tex/generic/context/luatex/luatex-fonts-gbn.lua index 272f65e95..53be41c7e 100644 --- a/tex/generic/context/luatex/luatex-fonts-gbn.lua +++ b/tex/generic/context/luatex/luatex-fonts-gbn.lua @@ -9,7 +9,6 @@ if not modules then modules = { } end modules ['luatex-fonts-gbn'] = { -- generic [base|node] mode handler if context then - texio.write_nl("fatal error: this module is not for context") os.exit() end @@ -52,8 +51,8 @@ local d_kerning = nuts.kerning local basemodepass = true -local function l_warning() texio.write_nl("warning: node.ligaturing called directly") l_warning = nil end -local function k_warning() texio.write_nl("warning: node.kerning called directly") k_warning = nil end +local function l_warning() logs.report("fonts","don't call 'node.ligaturing' directly") l_warning = nil end +local function k_warning() logs.report("fonts","don't call 'node.kerning' directly") k_warning = nil end function node.ligaturing(...) if basemodepass and l_warning then |