diff options
author | Hans Hagen <pragma@wxs.nl> | 2019-03-23 23:12:42 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2019-03-23 23:12:42 +0100 |
commit | 15c9a0a54f08ffc9fb72d6d878db4602ac6e1ca2 (patch) | |
tree | 19f4f5a061de3fe14f8e990437c69f740026e9a1 /scripts/context/lua/mtx-grep.lua | |
parent | b958bba841f9907582f3c5fa4b6162353636fc8f (diff) | |
download | context-current.tar.gz |
2019-03-21 21:47:00current
Diffstat (limited to 'scripts/context/lua/mtx-grep.lua')
-rw-r--r-- | scripts/context/lua/mtx-grep.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/context/lua/mtx-grep.lua b/scripts/context/lua/mtx-grep.lua index 0c4364630..9a4237737 100644 --- a/scripts/context/lua/mtx-grep.lua +++ b/scripts/context/lua/mtx-grep.lua @@ -69,7 +69,7 @@ local crlf = cr * lf local newline = crlf + cr + lf local content = lpeg.C((1-newline)^0) * newline + lpeg.C(lpeg.P(1)^1) -local write_nl = texio.write_nl +local write_nl = (logs and logs.writer) or (texio and texio.write_nl) or print -- local pattern = "LIJST[@TYPE='BULLET']/LIJSTITEM[contains(text(),'Kern')]" |