From 09dd07bcc2397ff03460d5e89f8125456c29e025 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Tue, 12 Mar 2013 17:05:16 +0100 Subject: fix spurious global; workaround buffer idiosyncrasy in manual --- mod/tex/context/third/rst/rst_helpers.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mod/tex/context/third/rst/rst_helpers.lua') diff --git a/mod/tex/context/third/rst/rst_helpers.lua b/mod/tex/context/third/rst/rst_helpers.lua index e90a55a..3ff53fe 100644 --- a/mod/tex/context/third/rst/rst_helpers.lua +++ b/mod/tex/context/third/rst/rst_helpers.lua @@ -515,7 +515,7 @@ do return false end - local trc = state.roman_cache + local trc = thirddata.rst.state.roman_cache n_str = trc[str] or nil n_old = trc[old] or nil if not n_str then @@ -549,7 +549,7 @@ do end - local trc = state.roman_cache + local trc = thirddata.rst.state.roman_cache n_str = trc[str] or nil n_old = trc[old] or nil if not n_str then @@ -578,7 +578,7 @@ do return false end - local trc = state.roman_cache + local trc = thirddata.rst.state.roman_cache n_str = trc[str] or nil if not n_str then n_str = roman_to_arab(str:lower()) -- cgit v1.2.3